Skip to content

Instantly share code, notes, and snippets.

Dave Loyall daveloyall

Block or report user

Report or block daveloyall

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View guixsd_vs_nixos.md
@daveloyall
daveloyall / iptables.sh
Last active Sep 22, 2017 — forked from thomasfr/iptables.sh
dave's iptables.sh
View iptables.sh
#!/bin/bash
IPT="/sbin/iptables"
# Server IP
SERVER_IP="$(ip addr show venet0 | grep 'inet .*scope global' | cut -f2 | awk '{ print $2}')"
# Your DNS servers you use: cat /etc/resolv.conf
DNS_SERVER="8.8.4.4 8.8.8.8"
# Allow connections to this package servers
View Makefile
wut: wut.c
$(CC) -g wut.c -o wut -Wall -Wextra -pedantic -std=c99
@daveloyall
daveloyall / gist:d17ae04ee2d1b376e8a46cff00d61670
Last active Apr 24, 2017
list of lines beginning with DEFUN in *.c files in emacs.git MASTER (2017-04-24)
View gist:d17ae04ee2d1b376e8a46cff00d61670
hobbes@hubris:~/src/emacs$ find . -iname *.c -exec grep -iH ^DEFUN {} +
./lib-src/etags.c:DEFUN, 0, st_C_gnumacro
./src/xsettings.c:DEFUN ("font-get-system-normal-font", Ffont_get_system_normal_font,
./src/xsettings.c:DEFUN ("font-get-system-font", Ffont_get_system_font, Sfont_get_system_font,
./src/xsettings.c:DEFUN ("tool-bar-get-system-style", Ftool_bar_get_system_style,
./src/doc.c:DEFUN ("documentation", Fdocumentation, Sdocumentation, 1, 2, 0,
./src/doc.c:DEFUN ("documentation-property", Fdocumentation_property,
./src/doc.c:DEFUN ("Snarf-documentation", Fsnarf_documentation, Ssnarf_documentation,
./src/doc.c:DEFUN ("substitute-command-keys", Fsubstitute_command_keys,
./src/font.c:DEFUN ("fontp", Ffontp, Sfontp, 1, 2, 0,
@daveloyall
daveloyall / demo.log
Last active Jan 26, 2017
Bug in uniq (GNU coreutils) 8.26
View demo.log
hobbes@metalbaby:~/e2-scratch$ cat faces_mre.txt
(◕‿◕)
(︺︹︺)
hobbes@metalbaby:~/e2-scratch$ od -x faces_mre.txt
0000000 e228 9597 80e2 e2bf 9597 0a29 ef28 bab8
0000020 b8ef efb9 bab8 0a29
0000030
hobbes@metalbaby:~/e2-scratch$ uniq -c faces_mre.txt
2 (◕‿◕)
hobbes@metalbaby:~/e2-scratch$ uniq --version
@daveloyall
daveloyall / build.prop
Created Sep 23, 2016
LG Spree, Cricket, LG-K120, codename e1c
View build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=LMY47V
ro.build.display.id=LMY47V
ro.build.version.incremental=162061344e9b5
ro.build.version.sdk=22
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=5.1.1
View berec_guidelines.md

Recital 1

This Regulation aims to establish common rules to safeguard equal and non-discriminatory treatment of traffic in the provision of internet access services and related end-users’ rights. It aims to protect end-users and simultaneously to guarantee the continued functioning of the internet ecosystem as an engine of innovation.

Recital 2

View keybase.md

Keybase proof

I hereby claim:

  • I am daveloyall on github.
  • I am sebboh (https://keybase.io/sebboh) on keybase.
  • I have a public key ASBWrHeUz7c4_ZqTc9zeTLg0vCxArTgD9DpJ4ou_04AD1Qo

To claim this, I am signing this object:

View words.txt
allocate
block
call
checksum
compiler
compression
declarative
drop (packet)
drop (table)
evaluate
You can’t perform that action at this time.