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
class Sinon(): | |
def sinonar(self, sinonimos): | |
aindaFalta = len(sinonimos) | |
if aindaFalta >= 2: | |
listaSin1 = sinonimos[0] # Ex: que, qual... | |
listaSin2 = sinonimos[1] # Ex: dia, data... | |
geradas = [] |
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
# importing the module | |
import tweepy | |
# personal details | |
consumer_key ="xxxxxxxxxxxxxx" | |
consumer_secret ="xxxxxxxxxxxxxx" | |
access_token ="xxxxxxxxxxxxxx" | |
access_token_secret ="xxxxxxxxxxxxxx" | |
# authentication of consumer key and secret |
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
pip install tweepy |
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
import time | |
import androidhelper | |
droid = androidhelper.Android() | |
texto = "Texto padrão" | |
msg = "Alguma mensagem aqui" | |
tempo = 500 | |
##### Sistema ##### |
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 devices | |
adb reboot bootloader | |
fastboot devices | |
fastboot flash boot magisk_patched.img | |
fastboot reboot |
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
import numpy as np | |
from matplotlib import pyplot as plt | |
ys = 200 + np.random.randn(100) | |
x = [x for x in range(len(ys))] | |
plt.plot(x, ys, '-') | |
plt.fill_between(x, ys, 195, where=(ys > 195), facecolor='g', alpha=0.6) | |
plt.title("Exempo de Gráfico") |
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
Comandos se for fazer pelo celular: | |
pm grant com.franco.doze android.permission.WRITE_SECURE_SETTINGS | |
pm grant com.franco.doze android.permission.DUMP | |
Comandos se for fazer pelo pelo computador: |
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
# Frases que dão um aspecto legal (adicione em ideias que você já tem): | |
in a fantasy world | |
in a Cyberpunk City | |
in raining city | |
# Esses aqui é só copiar, testar e ir bricando com as variações: | |
a smartphone fly in the mon in a fantasy world |