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
#From a command line on the computer that has the device connected via USB, issue the commands | |
adb tcpip 5555 | |
adb connect <device-ip>:5555 | |
#To tell the ADB daemon return to listening over USB | |
adb usb |
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
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -validity 10000 |
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
git daemon --reuseaddr --base-path=. --export-all --verbose | |
git clone git://[ip_addr]/ dir |
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
aapt dump badging <my_apk.apk> |
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
function youtube_parser(url) { | |
var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/; | |
var match = url.match(regExp); | |
if (match && match[7].length === 11) { | |
return match[7]; | |
} else { | |
alert("Url incorrecta"); | |
} | |
} |
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
with open(fname) as f: | |
content = f.readlines() |
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
#!/usr/bin/env python | |
import sys | |
# Get the total number of args passed to the demo.py | |
total = len(sys.argv) | |
# Get the arguments list | |
cmdargs = str(sys.argv) |
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
{ chart: { backgroundColor: 'transparent' }, | |
credits: { enabled: false }, | |
title: { style: { color: '#fff' }, text: 'Content Import SE' }, | |
xAxis: [ { type: 'datetime', tickInterval: 1209600000 } ], | |
yAxis: | |
[ { title: { text: 'Time' }, min: 0 }, | |
{ gridLineWidth: 0, | |
title: { text: 'Total', style: { color: '#72919A' } }, | |
labels: { format: '{value}%', style: { color: '#72919A' } }, | |
min: 0, |
OlderNewer