What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-06 09:35:38
c# visitor pattern
using System; using System.Collections.Generic; namespace RefactoringGuru.DesignPatterns.Visitor.Conceptual { // The Component interface declares an `accept` method that should take the // base visitor interface as an argument. public interfa... Add solution -
C# 2022-03-02 18:10:12
Window Dimensions in Blazor?
using Microsoft.JSInterop; using System.Threading.Tasks; public class BrowserService { private readonly IJSRuntime _js; public BrowserService(IJSRuntime js) { _js = js; } public async Task<BrowserDimension> GetDimensions() { return awai... Add solution -
Python 2022-02-27 12:00:02
hack wifi password using python
1 import pywifi 2 3 from pywifi import const Refer to some definitions 4 5 import time 6 7 8 def getwifi(wifilist, wificount): 9 wifi = pywifi.PyWiFi() Grab the NIC interface10 ifaces = wifi.interfaces()[0] Get NIC11 ifaces.scan()12 time.sleep(8)13 b... Add solution -
Other 2022-02-24 22:00:15
static vs instance
static or class method 1) A method that is declared as static is known as the static method 2) We don't need to create the objects to call the static methods 3) Non-static (instance) members cannot be accessed in static context (static method, static blo... Add solution -
Java 2022-02-22 20:10:19
Multiply two numbers without using arithmetic operators in java
import java.util.Scanner; public class MultiplyWithoutArithmeticOperators { static int multiplyNumber(int num1, int num2) { int output = 0; boolean boolNegative = (num1 < 0 && num2 >= 0) || (num2 < 0 && num1 >... Add solution
Best helpers
Wayno
+5
TeacherSue
+5
IQAndreas
+5
AlecPerkey
+5
Sikku
+5
Winny
+5
Seria Yin
+5
T-rex
+5
Wilber82
+5
Sharma Pocso
+5
TJG
+5
JSanchez
+5
Kyle Smith
+5