This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//hakxcore | |
/* For character stuffing, take two randomly chosen characters | |
from character set one for FLAG and other for ESCAPE. Assume that chosen | |
characters are F and E respectively.*/ | |
/* Delimit the input using character F. For every | |
occurrence of F in data part, stuff E before F. Similarly, for every occurrence | |
of E in data part stuff E before data E*/ | |
import java.io.*; | |
import java.util.*; | |
import java.lang.*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Implementation of skip list | |
//code modified by @hakxcore <3 | |
#include <bits/stdc++.h> | |
using namespace std; | |
class Node | |
{ | |
public: | |
int key; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
#wireshark version 3.4.9 | |
ip.addr == 10.43.54.0/24 | |
ip.dst == 10.43.54.0/24 | |
ip.src == 10.43.54.0/24 | |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
eth.dst == 00:0C:CC:76:4E:07 #source mac filter | |
eth.src == 00:0C:CC:76:4E:07 #destination mac filter | |
ether host 00:18:0a:aa:bb:cc #a specific mac. This will not work on interfaces where traffic has been NATed like NAT mode SSID or an Internet interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## OBJECT ORIENTED PROGRAMMING | |
--|- Object Oriented Programming | |
| | |
1 |---- class | |
| | |
2 |---- object | |
| | |
3 |---- Abstraction | |
| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Input.cpp //for input to the numberAdder | |
/* Program to add two numbers using cpp | |
Take three variables a, b, c | |
Input a, b from user | |
add a and b to c | |
print c | |
*/ | |
#include <bits/stdc++.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Input file (input.cpp) | |
/* Program to add two numbers using cpp | |
Take three variables a, b, c | |
Input a, b from user | |
add a and b to c | |
print c | |
*/ | |
#include <bits/stdc++.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Input file (input.cpp) | |
/* Program to add two numbers using cpp | |
Take three variables a, b, c | |
Input a, b from user | |
add a and b to c | |
print c | |
*/ | |
#include <bits/stdc++.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Input File (input.txt) | |
int main() { | |
int a=20,65b=10; | |
cout << "Hello" << endl; | |
return 0; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Checks for aa+b* | |
## Code for String_rec.java | |
import java.util.*; | |
//aa+b* | |
public class String_rec { | |
String str; | |
int state=0; |
OlderNewer