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/python | |
''' | |
My best score in 'Swing Copters' was using this code... :/ | |
https://play.google.com/store/apps/details?id=com.dotgears.swing&hl=en | |
** Tested only on LG Nexus 4 ** | |
To run just copy this file and run on terminal | |
# monkeyrunner swing_copters.py |
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
# maybe you saw the student making something like | |
type = 5 | |
len = 4 | |
#restore | |
from __builtin__ import type | |
from __builtin__ import len | |
type(5) | |
# <type 'int'> |
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
/* Extension using Worldcup data */ | |
/* JSON data http://worldcup.sfg.io */ | |
/* by Tiago Maluta (@maluta) <[email protected]>, Jun 2014 */ | |
new (function() { | |
var ext = this; | |
ext._shutdown = function() {}; | |
ext._getStatus = function() { |
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
{ | |
"extensionName": "ScratcherControl", | |
"extensionPort": 50007, | |
"blockSpecs": [ | |
["r", "Voice Command", "voice-command"], | |
["r", "Accelerometer X", "accelerometer-x"], | |
["r", "Accelerometer Y", "accelerometer-y"], | |
["r", "Accelerometer Z", "accelerometer-z"], | |
["r", "Brightness", "light-level"], | |
["b", "Start Button Pressed?", "start-button-pressed"], |
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
--- | |
# python 3 | |
>>> print(42) | |
42 | |
# python 2 | |
>>> print 42 | |
42 |
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
## Kivy contact and support: | |
# http://kivy.org/docs/contact.html | |
# Kivy on irc.freenode.net | |
# | |
## Kivy android build doc: | |
# http://kivy.org/docs/guide/packaging-android.html | |
# | |
## Python-for-android: | |
# https://github.com/kivy/python-for-android | |
# http://python-for-android.readthedocs.org/en/latest/ |
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
Setor de Legalizações e Rede Consular Estrangeira– SLRC | |
Ministério das Relações Exteriores – MRE | |
Esplanada dos Ministérios – Bloco H, Anexo I, Térreo | |
CEP: 70170-900, Brasília – DF |
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
Ministério das Relações Exteriores - Escritório de Representação em São Paulo (ERESP) | |
Setor de Legalização de Documentos | |
Avenida das Nações Unidas, 11857, 4° andar | |
CEP 04578-908 São Paulo – SP |
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
for info in listDirectory("c:\Users\\rafael\Music\Músicas\ ", [".mp3"]): | |
print ("\n".join(["%s=%s" % (k, v) for k, v in info.items()])) | |
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/python | |
# -*- coding: utf-8 -*- | |
import sqlite3 as lite | |
import sys | |
# found at /data/data/com.whatsapp/databases | |
con = lite.connect('msgstore.db') | |
''' |