Skip to content

Instantly share code, notes, and snippets.

Avatar
💬
;--;DROP TABLE status;

Adam Baxter voltagex

💬
;--;DROP TABLE status;
View GitHub Profile
View create-instances.yml
---
- hosts: localhost
gather_facts: no
connection: local
tasks:
- name: get subnet
ec2_vpc_subnet_facts:
region: us-east-1
register: ec2_vpc_subnet_facts
View lifx.py
Traceback (most recent call last):
File "C:\Program Files\Python36\lib\site-packages\bitstring.py", line 817, in _initialise
init_without_length_or_offset[k](self, v)
KeyError: 'uintle'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Adam/PycharmProjects/lifx-test/lifx.py", line 41, in <module>
packed = (bitstring.pack(packet_format, **data))
View gist:b3db92fefed8bcb8e607fc62fdfb2c90
Marvell>> printenv
baudrate=115200
bootargs=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/nfs rw ip=0.0.0.0:0.0.0.0:10.4.50.254:255.255.255.0:marvell:eth0:none nfsroot=0.0.0.0:/srv/nfs/
bootcmd=run get_images; run set_bootargs; booti $kernel_addr $ramfs_addr $fdt_addr
bootdelay=3
console=console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000
eth1addr=00:00:00:00:51:82
eth2addr=00:00:00:00:51:83
ethact=neta0
ethaddr=F0:AD:4E:03:6B:8B
@voltagex
voltagex / ssdp.py
Created Dec 10, 2016 — forked from dankrause/ssdp.py
Tiny python SSDP discovery library with no external dependencies
View ssdp.py
# Copyright 2014 Dan Krause
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@voltagex
voltagex / windows10qemu.md
Last active Jun 19, 2020 — forked from Manouchehri/windows10qemu.sh
Running Windows 10 in a UEFI enabled QEMU environment with KVM.
View windows10qemu.md
View mirrorsite.patch
From ca1acd4e1c64e2b72a0567bca5d8b3db52921255 Mon Sep 17 00:00:00 2001
From: Adam Baxter <voltagex@voltagex.org>
Date: Sun, 1 May 2016 12:28:23 +0000
Subject: [PATCH] Use CDNs/mirrors for kernel.org and gnu.org to speed up
downloads
---
Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
View bge_wol.patch
--- if_bge.c.orig 2013-03-13 23:42:26.000000000 +0100
+++ if_bge.c 2013-03-14 13:30:08.000000000 +0100
@@ -469,6 +469,7 @@
static void bge_stop_fw(struct bge_softc *);
static int bge_reset(struct bge_softc *);
static void bge_link_upd(struct bge_softc *);
+static void bge_setwol(struct bge_softc *);
/*
* The BGE_REGISTER_DEBUG option is only for low-level debugging. It may
@voltagex
voltagex / ubuntu-efi32-wily.sh
Last active Mar 12, 2019
Modified Linuxium script to fix grub on efi32
View ubuntu-efi32-wily.sh
#!/bin/sh
# Linuxium's installation script for booting from a 32-bit bootloader
DEFAULT_GATEWAY=`ip r | grep default | cut -d ' ' -f 3`
if ( ! ping -q -w 1 -c 1 "${DEFAULT_GATEWAY}" > /dev/null 2>&1 ); then
echo "$0: Not connected to internet ... exiting."
exit
fi
View gist:80735dee8e8a451d9354
magnet:?xt=urn:btih:28bd44e92fa8c2b022da538759a55ff6b08a5123&dn=pocorgtfo09.pdf&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&ws=https%3a%2f%2fwww.alchemistowl.org%2fpocorgtfo%2f
magnet:?xt=urn:btih:0bc5f8640c49bfc3300455a857804e77e878c8ee&dn=pocorgtfo08.pdf&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&ws=https%3a%2f%2fwww.alchemistowl.org%2fpocorgtfo%2f
magnet:?xt=urn:btih:ce97d9a5aac9ca49990d2968f4951128f896f6ca&dn=pocorgtfo07.pdf&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&ws=https%3a%2f%2fwww.alchemistowl.org%2fpocorgtfo%2f
magnet:?xt=urn:btih:c24c1837b36ea7e37ddf41380587ecbad184172e&dn=pocorgtfo06.pdf&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&ws=https%3a%2f%2fwww.alchemistowl.org%2fpocorgtfo%2f
magnet:?xt=urn:btih:3af334b26a3c6373c214ac4156f08c656708ce8c&dn=pocorgtfo05.pdf&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&ws=https%3a%2f%2fwww.alchemistowl.org%2fpocorgtfo%2f
magnet:?xt=urn:btih:048fe40ff677ebec789d6a507dfe224ca91da237&dn=pocorgtfo04.pdf
@voltagex
voltagex / Binutils
Last active Sep 20, 2015
Reproducing hello world
View Binutils
System A: GNU ld (GNU Binutils for Debian) 2.25
System B: GNU ld (GNU Binutils) 2.25.1