Skip to content

Instantly share code, notes, and snippets.

View kalikaneko's full-sized avatar

Kali Kaneko kalikaneko

  • LEAP
  • the intertubes
View GitHub Profile
@kalikaneko
kalikaneko / scapy_bridge.py
Created February 10, 2024 19:09 — forked from eXenon/scapy_bridge.py
Use scapy as a modifying proxy
#!/usr/bin/python2
"""
Use scapy to modify packets going through your machine.
Based on nfqueue to block packets in the kernel and pass them to scapy for validation
"""
import nfqueue
from scapy.all import *
import os
@kalikaneko
kalikaneko / README.md
Created August 22, 2022 10:44 — forked from tymarbut/README.md
Baofeng (or other radio) data TX/RX for Raspberry Pi

This flow (and associated circuits/hardware) is designed to allow Node-RED to pass messages via radio waves in the same way as it passes messages via MQTT, using commonly-available, inexpensive handheld radios and the Raspberry Pi. The flow has been tested using Baofeng, Wouxun, and Quansheng handheld ham radios. In short, the goal is to allow packet-like transmissions between Node-RED systems over miles, while keeping the hardware costs down (or free for those hams who have surplus Baofengs hanging around). This could be used for a backup to MQTT when the Wifi is unreliable, or simply as a long-distance and network-agnostic message channel.

Prerequisites: Software

First, we need PulseAudio to make and receive sounds with our USB soundcard:

sudo apt-get install pulseaudio -y
@kalikaneko
kalikaneko / nextcloud-client-qt-shared.yaml
Created May 1, 2021 00:43 — forked from 3v1n0/nextcloud-client-qt-shared.yaml
Snapcraft QT builds examples (shared, static...)
name: nextcloud-client
version: 2.2.4+git
icon: ../nextcloudtheme/theme/colored/Nextcloud-icon.svg
summary: Nextcloud Desktop Client
description: |
The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud
Server with your computer.
grade: stable
confinement: strict
@kalikaneko
kalikaneko / grunt-hugo-lunrjs.md
Created April 26, 2021 14:02 — forked from sebz/grunt-hugo-lunrjs.md
hugo + gruntjs + lunrjs = <3 search
@kalikaneko
kalikaneko / website.html
Created August 11, 2017 20:27 — forked from auneri/website.html
Better motherfucking website template.
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
h1, h2, h3 {
line-height: 1.2;
}
body {
margin: 40px auto;
max-width: 650px;
@kalikaneko
kalikaneko / MailinatorAliases
Created May 13, 2017 16:45 — forked from nocturnalgeek/MailinatorAliases
A list of alternate domains that point to @mailinator.com
@binkmail.com
@bobmail.info
@chammy.info
@devnullmail.com
@letthemeatspam.com
@mailinater.com
@mailinator.net
@mailinator2.com
@notmailinator.com
@reallymymail.com
@kalikaneko
kalikaneko / http_streaming.md
Created February 16, 2017 01:53 — forked from CMCDragonkai/http_streaming.md
HTTP Streaming (or Chunked vs Store & Forward)

HTTP Streaming (or Chunked vs Store & Forward)

The standard way of understanding the HTTP protocol is via the request reply pattern. Each HTTP transaction consists of a finitely bounded HTTP request and a finitely bounded HTTP response.

However it's also possible for both parts of an HTTP 1.1 transaction to stream their possibly infinitely bounded data. The advantages is that the sender can send data that is beyond the sender's memory limit, and the receiver can act on

@kalikaneko
kalikaneko / hrfpsk31.c
Created June 4, 2016 21:09 — forked from adamgreig/hrfpsk31.c
PSK31 Modulator in C for HackRF
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include "libhackrf/hackrf.h"
#include "psk31_varicode.h"
/*
@kalikaneko
kalikaneko / ipython_config.py
Created March 28, 2016 15:33 — forked from psibi/ipython_config.py
Ipython configuration
# Configuration file for ipython.
c = get_config()
#------------------------------------------------------------------------------
# InteractiveShellApp configuration
#------------------------------------------------------------------------------
# A Mixin for applications that start InteractiveShell instances.
#