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
{ | |
"ver": 2, | |
"sources": [{ | |
"center": 855987500.0, | |
"rate": 10000000.0, | |
"error": 0, | |
"digitalRecorders": 15, | |
"digitalLevels": 8, | |
"lnaGain": 1, | |
"antenna": "RX", |
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
TARGET = b"\xDE\xAD\xBE\xEF" | |
import random | |
def generateTestFile(): | |
with open("test.bin", "wb") as f: | |
randData = bytes(random.getrandbits(8) for _ in range(1024)) | |
f.write(randData) | |
# Grab a random number and place the bytes 0xDEADBEEF in that location | |
randOffset = random.randint(0, 1024) |
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
package ipsc | |
import ( | |
"fmt" | |
"net" | |
) | |
// Structs are sort of like classes | |
type UDP struct { | |
// Variable definitions are opposite to a lot of other languages |
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
esphome: | |
name: esphome-web-547a8a | |
friendly_name: Weather Node | |
esp8266: | |
board: nodemcuv2 | |
# Enable logging | |
logger: |
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
[ | |
{ | |
"s": "173", | |
"a": { | |
"state_class": "measurement", | |
"unit_of_measurement": "°", | |
"friendly_name": "Wind Direction" | |
}, | |
"lu": 1677999727.787 | |
}, |
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 | |
torrentid=$1 | |
torrentname=$2 | |
torrentpath=$3 | |
x=1 | |
ddport=$(grep '"daemon_port": [0-9]*' ~/.config/deluge/core.conf | awk -F ': ' '{print $2}' | awk -F ',' '{print $1}') | |
while [ $x -le 100 ] | |
do |
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
package main_test | |
import ( | |
"context" | |
"net/http" | |
"net/url" | |
"strings" | |
"testing" | |
"time" | |
) |
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
Coverage Badges |
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
.global mkdir | |
mkdir: | |
// Move mode into x2 | |
mov x2, x1 | |
// Move dirname ptr into x1 | |
mov x1, x0 | |
// Obtain FD for x0 (I have no clue what magic this is) | |
mov x0, #-0x64 | |
// Syscall 34 = mkdirat | |
mov x8, #34 |
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
//DEFINE SET_X0_FROM_BP e00311aa | |
mov x0, x17 | |
//DEFINE SUB_X0_16 004000d1 | |
sub x0, x0, #0x10 | |
//DEFINE DEREF_X0 000040f9 | |
ldr x0, [x0] | |
//DEFINE SET_X2_FROM_X0 e20300aa | |
mov x2, x0 | |
//DEFINE SET_X0_FROM_BP e00311aa | |
mov x0, x17 |
NewerOlder