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 | |
# Description: Downloads Web Albums shared by Apple Photos | |
# Requirements: jq | |
# Usage: ./icloud-album-download.sh <URL> [<target folder>] | |
# Source: https://gist.github.com/AlexanderWillner/b8124af1979e88d4046987c953b8260f | |
# Author: @zneak, @WildDIC, @AlexanderWillner | |
if [[ -z "$1" ]]; then | |
echo "Syntax: $0 <URL> [<target folder>]" >&2 |
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
docker run -it agners/archlinuxarm /bin/bash | |
pacman -Syu | |
pacman -S base-devel python3 git cmake qt5-base qt5-tools portaudio | |
git clone https://github.com/projecthorus/horusdemodlib.git | |
cd horusdemodlib && mkdir build && cd build | |
cmake .. | |
make | |
sudo make install |
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 struct | |
from PIL import Image, ImageOps | |
import io | |
import requests | |
sstv = open("/tmp/myfifo", "rb") | |
def send_to_server(bytes_send): | |
url = "http://file.foxden:5000" | |
payload={'font':'DejaVuSansMono.ttf'} | |
files=[ |
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
# 235886 words | |
text_file = open("/usr/share/dict/words", "r") | |
lines = text_file.readlines() | |
words = [] | |
for line in lines: | |
words.append(line.strip()) | |
import struct |
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 subprocess import * | |
import time | |
import os | |
from datetime import datetime | |
import fcntl | |
import wave | |
FREQUENCY = 438025000 | |
BANDWIDTH = 20000 |
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
#include <boarddefs.h> | |
#include <IRremoteInt.h> | |
#include <IRremote.h> | |
// this ir lib https://github.com/SensorsIot/Arduino-IRremote | |
// this mqtt lib https://pubsubclient.knolleary.net/ | |
#include <PubSubClient.h> | |
#include <WiFi.h> | |
const char* ssid = "ToastyWaffles"; |
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 | |
set -ex | |
KEY="" | |
HA_URL="" # no trailing slash | |
TEMP_VALUE=`cat /sys/bus/iio/devices/iio\:device0/in_temp_input | sed 's/...$/.&/'` | |
HUMIDITY_VALUE=`cat /sys/bus/iio/devices/iio\:device0/in_humidityrelative_input | sed 's/...$/.&/'` | |
curl -X POST -H "Authorization: Bearer $KEY" \ |
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
#not great, not terrible. | |
rtl_fm -f 148.363e6 -g 100 -s 22050 -l 50 | multimon-ng -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -f alpha - |
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 boto3 | |
import json | |
print('Loading function') | |
TABLE="australiancallsigns" | |
db = boto3.client('sdb') | |
def lambda_handler(event, context): |
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
GET sonde_packets/_search | |
{ | |
"size" : 10000, | |
"query": { | |
"match": { | |
"serial": { | |
"query": "RS_N4440477" | |
} | |
} | |
} |
NewerOlder