Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
No Longer Drinking Beers

NotPike notpike

💭
No Longer Drinking Beers
View GitHub Profile
@notpike
notpike / 2fsk.py
Created Feb 11, 2021
RFCat 2fsk Debug Tool
View 2fsk.py
#!/usr/bin/python
from rflib import *
import time
def init(freq):
d.setFreq(freq)
d.setMdmModulation(MOD_FORMAT_2_FSK)
d.setMdmDeviatn(4500)
d.setMdmDRate(1200)
@notpike
notpike / import_ovpn.sh
Last active Jan 27, 2021
Import OpenVPN config files into Network Manager from current directory
View import_ovpn.sh
#!/bin/bash
#Update UNAME and PASS and run from the directory where the .ovpn files reside
UNAME=""
PASS=''
echo "== START =="
View xor_file.py
#! /usr/bin/python3
import sys
#MainUnit
key = b'\x7a\x49\x1e\xeb\x33\x28\x2b\x8b\x84\xa7\xad\x47\xb8\x31\x03\xd0'
def main():
fileIn = open(str(sys.argv[1]), "rb")
fileOut = open("file.out", "ab")
@notpike
notpike / tx.sh
Last active Jul 8, 2020
Raspbery Pi Transmit script for Yaesu VX-7R
View tx.sh
#!/bin/bash
#######################################################
# FILE: TX.SH #
# AUTHOR: NOTPIKE WU7ANG #
# LICENSE: MIT #
# FUNCTION: RPI TX SCRIPT FOR YAESU VX-7R #
# #
# ==REQUIRED SOFTWARE== #
# ~:$ sudo apt update #
@notpike
notpike / rtlsdr-to-gqrx.c
Created May 25, 2020 — forked from DrPaulBrewer/rtlsdr-to-gqrx.c
rtlsdr-to-gqrx SDR file format converter
View rtlsdr-to-gqrx.c
#include <complex.h>
#include <stdio.h>
#include <stdlib.h>
// rtlsdr-to-gqrx Copyright 2014 Paul Brewer KI6CQ
// License: GNU GPL 3.0
//
// IQ file converter for Software Defined Radio Programs rtl_sdr, gqrx
// from rtl_sdr recording format -- interleaved unsigned char
// to gqrx/gnuradio .cfile playback format -- complex64
@notpike
notpike / chroot2pi.sh
Last active Feb 7, 2020 — forked from htruong/chroot-to-pi.sh
Chroot to pi sd card
View chroot2pi.sh
#!/bin/bash
# This script allows you to chroot ("work on")
# the raspbian sd card as if it's the raspberry pi
# on your Ubuntu or Fedora desktop/laptop
# just much faster and more convenient
# credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689
# make sure you have issued
View chemion_encode.c
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
uint8_t checksum(uint8_t *in) {
uint8_t crc = 0x07; // CRC Magic Number
int i;
for (i = 7; i <= 61; i ++) { // CRC for 54Byte LED Matrix
crc = crc ^ in[i] & 0xff; // Each Byte is XORed ontop of the last
View notes.c
/* _____ _ __ _ ___ _
* |_ _| | |_ _ _ / _` | / __| _ _ ___ __ __ __ __| |
* | | | ' \ | +| | \__, | | (__ | '_| / _ \ \ V V // _` |
* _|_|_ |_||_| \_,_| |___/ \___| _|_|_ \___/ \_/\_/ \__,_|
*_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|
* "`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'
*
* "Train"
* http://patorjk.com/software/taag/
*/
View keybase.md

Keybase proof

I hereby claim:

  • I am NotPike on github.
  • I am notpike (https://keybase.io/notpike) on keybase.
  • I have a public key whose fingerprint is 06B5 7714 58D1 7561 5FB3 8D53 F882 177B A28A 78FA

To claim this, I am signing this object: