// bin_hello.cpp
#include "lib_hello.h"
int main() {
hello_world();
}
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
# This data has been compiled from | |
# https://en.m.wikipedia.org/wiki/List_of_official_languages_by_country_and_territory | |
country_languages = { | |
'Abkhazia': ['Abkhaz', 'Russian'], | |
'Afghanistan': ['Pashto', 'Dari'], | |
'Albania': ['Albanian'], | |
'Algeria': ['Arabic', 'Tamazight'], | |
'Andorra': ['Catalan'], | |
'Angola': ['Portuguese'], |
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
# Code stolen shamelessly from | |
# https://www.raspberrypi.org/forums/viewtopic.php?p=876947&sid=44c21629719b08f74de2b3b465db8d5c#p876947 | |
# I merely modified some bits | |
import RPi.GPIO as GPIO | |
import time | |
GPIO.setmode(GPIO.BCM) | |
pin = 4 |
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 | |
import random | |
import os | |
import subprocess | |
import sys | |
from PIL import Image | |
ROOT_DIR = os.path.expanduser("~/Mount/box") | |
WALLPAPER_DIR = os.path.join(ROOT_DIR, "Pictures") |
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
#!/bin/bash | |
# mpv --idle --no-video --loop --input-ipc-server=/tmp/mpvsocket | |
# socat /tmp/mpvsocket udp4-listen:5000,reuseaddr,fork | |
SOCKETS=(#"192.168.1.2:5000" | |
"192.168.1.3:5000" | |
"192.168.1.4:5000" | |
"192.168.1.9:5000" | |
"192.168.1.8:5000") |
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 wolframalpha | |
import wikipedia | |
from wikipedia.exceptions import DisambiguationError | |
from flask import Flask | |
app = Flask(__name__) | |
client = wolframalpha.Client('T27H46-H3TH6GL545') | |
def wolframit(query): |
Has anybody looked into this, and whether it works?
https://github.com/levyitay/AddSecurityExceptionAndroid
Apparently you can simply pass this an APK file, and it will automate adding the network exceptions into it (i.e. the stuff above in #2054 (comment)) It also requires apktool:
Original source: mitmproxy/mitmproxy#2054
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
find . -name "*.py" -type f -exec grep . {} \; | wc -l |
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
HotKeySet("{F10}", "Exitter") | |
While 1 | |
$color = PixelGetColor(545,229) | |
If $color = 5460819 Then | |
Send("{DOWN UP}") | |
Send("{UP DOWN}") | |
Sleep(150) | |
Send("{UP UP}") | |
Sleep(300) |