Skip to content

Instantly share code, notes, and snippets.

View adventureloop's full-sized avatar

Tom Jones adventureloop

View GitHub Profile
@abcdefg30
abcdefg30 / installation.md
Last active July 18, 2024 12:13
Unofficial, manual content installation for OpenRA

Manual (unrecommended) installation of the required content files for OpenRA

⚠️ This method is not recommended and should only be applied if automatic installation fails. Success of manually installing the files can not be guaranteed. ⚠️

⚠️ The automatic installation may fail for non-english content. OpenRA does not support other languages at the current stage of development and no such content should be installed. ⚠️

⚠️ Manually installing files can corrupt your game and lead to crashes. ⚠️

If you have trouble with automatic installation, please contact the developers (via IRC, our forum, the webpage comments or our issue tracker) before attempting a manual install.

@geraldcombs
geraldcombs / delta_distance.lua
Last active August 1, 2021 21:14
Wireshark Lua postdissector that converts frame.time_delta_displayed to distance values.
-- delta_distance.lua
-- Add delta_distance.{copper,fiber}.{km,mi} fields
-- By Gerald Combs <gerald@wireshark.org>
-- Modified from https://wiki.wireshark.org/Lua/Examples/PostDissector
-- My Wireshark Lua skills were getting rusty so I wrote this. There are
-- probably mistakes.
-- To use this script, place it in your personal Lua plugin directory.
-- You can find that by going to "About → Folders".
@miek
miek / GSG case
Last active May 29, 2022 16:57
Unofficial case for YARD Stick One and Ubertooth One from Great Scott Gadgets - http://greatscottgadgets.com/
@DirkHeinke
DirkHeinke / gist:dfc14c8f0552212f1693
Last active August 21, 2021 14:05
gstreamer to twitch
# with sound and file
gst-launch-1.0 uridecodebin uri=file:///home/dirk/Videos/Clouds_67_Timelapse.mp4 ! video/x-raw,width=1280,height=720 ! queue ! x264enc threads=0 bitrate=400 tune=zerolatency key-int-max=30 ! queue ! flvmux name=flvmux ! queue ! rtmpsink location=rtmp://live-fra.twitch.tv/app/$APIKEY audiotestsrc ! faac ! flvmux.
@dominicgs
dominicgs / osmocom_spectrum_sense_flipdot.py
Last active August 29, 2015 14:27
Flipdot version of the osmocom_spectrum_sense (designed for MuCCC's UDP controller)
#!/usr/bin/env python
#
# Copyright 2005,2007,2011,2015 Free Software Foundation, Inc.
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
@floe
floe / gst-appsrc.c
Last active April 3, 2023 12:11
example appsrc for gstreamer 1.0 with own mainloop & external buffers
// example appsrc for gstreamer 1.0 with own mainloop & external buffers. based on example from gstreamer docs.
// public domain, 2015 by Florian Echtler <floe@butterbrot.org>. compile with:
// gcc --std=c99 -Wall $(pkg-config --cflags gstreamer-1.0) -o gst-appsrc gst-appsrc.c $(pkg-config --libs gstreamer-1.0) -lgstapp-1.0
#include <gst/gst.h>
#include <gst/app/gstappsrc.h>
#include <stdint.h>
int want = 1;
@xero
xero / irc.md
Last active July 10, 2024 12:09
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.
@grugq
grugq / gist:03167bed45e774551155
Last active April 6, 2024 10:12
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

@bgamari
bgamari / test-ftdi.sh
Created July 18, 2014 15:43
A small script to test the pins of an FTDI JTAG adapter with OpenOCD
#!/bin/bash
cat >ftdi-test.cfg <<EOF
source [find interface/ftdi/dp_busblaster.cfg]
ftdi_layout_signal TCK -data 0x01
ftdi_layout_signal TDI -data 0x02
ftdi_layout_signal TDO -data 0x04
ftdi_layout_signal TMS -data 0x08
transport select jtag
local flux = require "flux"
function love.load()
text = { x = 350, y = 290, alpha = 0, str = "900 Tiny Squares" }
squares = {}
-- Title text
flux.to(text, 2, { alpha = 1 }):ease("linear")
:after(text, 2, { alpha = 0 }):ease("linear"):delay(3)