This file contains hidden or 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 -- | |
adb kill-server | |
adb devices | |
adb connect <ip> | |
adb push ~/test.txt /sdcard/ |
This file contains hidden or 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
<!-- | |
_ _ _ _ | |
| |__ __ _ ___| | _____ _ __ ___ __ _ _ __| |_| |__ | |
| '_ \ / _` |/ __| |/ / _ \ '__/ _ \/ _` | '__| __| '_ \ | |
| | | | (_| | (__| < __/ | | __/ (_| | | | |_| | | | | |
|_| |_|\__,_|\___|_|\_\___|_| \___|\__,_|_| \__|_| |_| | |
PS: Your task is to implement additional feature in this game named escapa. |
This file contains hidden or 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
0 | Asian | |
---|---|---|
1 | Indian | |
2 | African Americans | |
3 | Asian Americans | |
4 | European | |
5 | British | |
6 | Jewish | |
7 | Latino | |
8 | Native American | |
9 | Arabic |
This file contains hidden or 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
/* Change cPanel/WHM Mass IP via Chrome Developer Console */ | |
var script = document.createElement('script');script.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";document.getElementsByTagName('head')[0].appendChild(script); | |
$.fn.jquery; | |
$("select[name^='customip']").each(function() { | |
/*console.log( this.value + this.name );*/ | |
/* $(this).find('option:selected').text(); */ | |
/* console.log($(this).children('option:selected').text()); */ |
This file contains hidden or 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
# Random Rating Generator | |
INSERT INTO tbl_name ( rating ) VALUES ( ROUND(rand() * 5,2) ); | |
# Create user 'hackerearth' and password 'passphrase' | |
CREATE USER 'hackerearth'@'localhost' IDENTIFIED BY 'passphrase'; | |
# Grant superuser privileges to db 'test', user 'hackerearth', and hostname 'localhost' | |
GRANT ALL PRIVILEGES ON `test`.* TO 'hackerearth'@'localhost'; | |
# To see privilages related changes in effect. |
This file contains hidden or 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
<?php | |
// DEBUG | |
define('WP_DEBUG', true); | |
define('WP_DEBUG_LOG', true); | |
define('WP_DEBUG_DISPLAY', true); | |
define('SCRIPT_DEBUG', true); | |
@ini_set('display_errors',1); | |
// DEBUG QUERY |
This file contains hidden or 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
# Software defined radio | |
rtl_fm -f 104M -M wbfm -s 200000 -r 48000 - | aplay -r 48k -f S16_LE | |
rtl_fm -f 104M -M wbfm -s 170k -A std -l 0 -E deemp -r 44.1k - | aplay -r 44.1k -f S16_LE | |
rtl_fm -f 106.2M -M fm -s 170k -A std -l 0 -E deemp -r 44.1k | ffmpeg -f s16le -ac 1 -i pipe:0 -acodec libmp3lame -ab 128k -f rtp rtp://127.0.0.1:1234 | |
This file contains hidden or 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
# List System(s) | |
virsh -c qemu:///system list | |
virsh list # List running | |
virsh list --all # List all | |
# Open guest VM console | |
virsh console <instance> | |
# Control specific instance | |
virsh start <instance> |
This file contains hidden or 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
[ | |
{ | |
"id": 1, | |
"language": "GNU C++11", | |
"icon": "https://hackerearth.0x10.info/dump/jda/language_icons/cpp.png" | |
}, | |
{ | |
"id": 2, | |
"language": "GNU C++", | |
"icon": "https://hackerearth.0x10.info/dump/jda/language_icons/cpp.png" |
This file contains hidden or 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
$ ab -r -n 500 -c 20 -k -H "Accept-Encoding: gzip, deflate" http://odessatech.0x10.info/ | tee -a ab.log | |
$ cat ab.log | ccze -A | |
This is ApacheBench, Version 2.3 <$Revision: 1528965 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking odessatech.0x10.info (be patient) | |