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
#!/bin/bash | |
modprobe usbnet | |
ifconfig eth0 10.0.5.149 netmask 255.255.255.0 | |
ifconfig usb0 192.168.42.127 netmask 255.255.255.0 | |
ip rule add from 10.0.5.149 table 1 | |
ip rule add from 192.168.42.127 table 2 |
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
samba-tool dns update 127.0.0.1 DOMAIN HOSTNAME A OLDIP NEWIP | |
samba-tool dns update 127.0.0.1 DOMAIN @ A OLDIP NEWIP | |
samba-tool dns update 127.0.0.1 _msdcs.DOMAIN gc A OLDIP NEWIP |
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
Dial *#2663# in the dialer and update the thouch screen penal firmware by selecting 'TSP FW update (General)' button. |
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
java -jar apktool_2.0.1.jar d file.apk | |
./dex2jar-2.0/d2j-dex2jar.sh file.apk | |
java -jar cfr_0_102.jar file-dex2jar.jar --outputdir src |
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
import serial | |
import time | |
PORT = "/dev/ttyUSB0" # If windows, change it to COMX | |
PINCODE = "1234" # Change it to your PIN | |
DEVNAME = "Gimbal" # Change it to your device name | |
BAUDRATE= 115200 # Change it to your target baudrate | |
CBAUDRATE= 9600 # Change it to your current baudrate. Factory Default 9600 | |
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
import serial | |
import struct | |
import os | |
import sys | |
import time | |
class AxisPipe: | |
def __init__(self, port): | |
self.port = port | |
self.serial = serial.Serial(port, 115200, timeout=0.01) |
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
#!/usr/bin/env python | |
from stepfever import * | |
import time | |
import struct | |
SUPRESS_PRINT = False | |
class NoteType: | |
Null = 0 | |
Tap = 1 |
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
#!/usr/bin/env python | |
import requests | |
import json | |
token = "MY TOKEN" | |
groupId = 1234567 | |
def getBot(): | |
r = requests.get("https://api.telegram.org/bot%s/getMe" % token) |
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
Congonhas Airport: | |
120.240MHz (AM) | |
120.450MHz (AM) | |
139.890MHz (AM) | |
Analog TV Signals: | |
--------------- | |
67.225MHz Video |
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
#!/usr/bin/env node | |
// npm install slackbots node-telegram-bot-api | |
var TelegramBot = require('node-telegram-bot-api'); | |
var SlackBot = require('slackbots'); | |
// create a bot | |
var sBot = new SlackBot({ | |
token: 'your-slack-bot-token', // Add a bot https://my.slack.com/services/new/bot and put the token |