Skip to content

Instantly share code, notes, and snippets.

@zoqaeski
zoqaeski / config.diff
Last active December 16, 2015 15:29
Config differences
diff --git a/etc/xdg/luakit/rc.lua b/home/robbie/.config/luakit/rc.lua
index c03a6bd..f2b0e7c 100644
--- a/etc/xdg/luakit/rc.lua
+++ b/home/robbie/.config/luakit/rc.lua
@@ -145,6 +145,9 @@ require "go_input"
require "go_next_prev"
require "go_up"
+-- Extra plugins
+require "plugins"
@zoqaeski
zoqaeski / gist:5377538
Created April 13, 2013 08:02
GDB output from last crash. I think it might have been Wikipedia, but why Gstreamer is involved I have no idea.
$ gdb luakit
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
@zoqaeski
zoqaeski / gdb luakit output
Created April 3, 2013 22:36
Output from gdb on luakit for the site http://www.seek.com.au
$ gdb luakit
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
@zoqaeski
zoqaeski / globals.lua.patch
Created February 28, 2013 01:52
Diff between my luakit configuration and the default. Can’t find any weirdness that may cause https://github.com/mason-larobina/luakit/issues/182.
diff --git a/etc/xdg/luakit/globals.lua b/home/robbie/.config/luakit/globals.lua
index b8b4a25..14a3417 100644
--- a/etc/xdg/luakit/globals.lua
+++ b/home/robbie/.config/luakit/globals.lua
@@ -1,6 +1,6 @@
-- Global variables for luakit
globals = {
- homepage = "http://luakit.org/",
+ homepage = "http://www.questionablecontent.net/",
-- homepage = "http://github.com/mason-larobina/luakit",
@zoqaeski
zoqaeski / syslog.2013-02-22
Last active December 14, 2015 02:08
Crash log. Luakit segfault seems to have brought down X and catalyst driver. Note atieventsd floods the log with errors, so there’s a ridiculously low signal-to-noise ratio. System crash occurs at 15:31:11, systemd initiated shutdown shortly after. I rebooted the system at 15:33.
-- Logs begin at Fri 2012-09-21 11:31:34 EST, end at Fri 2013-02-22 16:11:07 EST. --
Feb 22 15:00:00 gallifrey kernel: [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=83.149.9.195 DST=124.149.99.241 LEN=46 TOS=0x08 PREC=0x20 TTL=38 ID=44428 PROTO=UDP SPT=3634 DPT=33891 LEN=26
Feb 22 15:00:00 gallifrey atieventsd[484]: /etc/ati/authatieventsd.sh: line 78: return: -1: invalid option
Feb 22 15:00:00 gallifrey atieventsd[484]: return: usage: return [n]
Feb 22 15:09:22 gallifrey atieventsd[484]: /etc/ati/authatieventsd.sh: line 78: return: -1: invalid option
Feb 22 15:09:22 gallifrey atieventsd[484]: return: usage: return [n]
Feb 22 15:09:23 gallifrey logger[17295]: ACPI action undefined: PNP0C0A:00
Feb 22 15:09:23 gallifrey atieventsd[484]: /etc/ati/authatieventsd.sh: line 78: return: -1: invalid option
Feb 22 15:09:23 gallifrey atieventsd[484]: return: usage: return [n]
@zoqaeski
zoqaeski / coverletter.tex
Created November 1, 2012 02:17
Coverletter
To Whom It May Concern,
I am writing in response to the advertisement on SEEK for the position of Junior Data Entry Operator. I might just be the person you’re looking for, as I believe I have the attributes required to be successful in this role.
I'll be honest and up-front: I haven't had much prior experience in a similar environment that you could use to your advantage. But don't let this minor detail discourage you from considering me. My manner is friendly, open, highly professional, and I am adaptable to any situation.
I am an exceptionally quick learner, who thrives on challenges. I'm always looking for new opportunities to broaden my horizons. I have extensive knowledge of computer systems, not limited to Microsoft Office applications, and am able to learn unfamiliar systems with ease. Did I mention that my problem-solving skills are of a high calibre? I also love communicating with people, and take pride in being able to find solutions to their queries.
So, give me a chance to prove myself, and I
@zoqaeski
zoqaeski / .Xresources
Created October 31, 2012 06:12
urxvt settings
!------------------
!! URxvt - General
!------------------
URxvt*buffered : true
URxvt*font : xft:DejaVu Sans Mono:size=11
URxvt*boldFont : xft:DejaVu Sans Mono:bold:size=11
URxvt*italicFont : xft:DejaVu Sans Mono:italic:size=11
URxvt*boldItalicFont : xft:DejaVu Sans Mono:bold:italic:size=11
URxvt*scrollBar : false
URxvt*saveLines : 16383
@zoqaeski
zoqaeski / HUAWEI E160E modem
Created October 19, 2012 06:13
dmesg logs for USB devices
// Plugging in HUAWEI E160E modem results in this:
[ 2182.463046] usb 3-1: new high-speed USB device number 3 using xhci_hcd
[ 2182.490036] usb 3-1: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
[ 2182.490047] usb 3-1: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
[ 2182.496871] scsi6 : usb-storage 3-1:1.0
[ 2182.499545] usb 3-1: USB disconnect, device number 3
[ 2189.255155] usb 3-1: new high-speed USB device number 4 using xhci_hcd
[ 2189.282064] usb 3-1: ep 0x87 - rounding interval to 32768 microframes, ep desc says 0 microframes
[ 2189.282076] usb 3-1: ep 0x5 - rounding interval to 32768 microframes, ep desc says 0 microframes
[ 2189.282087] usb 3-1: ep 0x6 - rounding interval to 32768 microframes, ep desc says 0 microframes
@zoqaeski
zoqaeski / custom
Created October 12, 2012 18:14
xkbcomp keyboard layout dump
// $XDG_CONFIG_HOME/xkb/symbols/custom
// Makes ALT + CAPS_LOCK act as 3rd level switch
// Works sporadically
partial modifier_keys
xkb_symbols "alt_caps_mode_switch" {
key <CAPS> {
type[Group1]="PC_ALT_LEVEL2",
[ Caps_Lock, ISO_Level3_Shift ]
};
@zoqaeski
zoqaeski / gist:2619654
Created May 6, 2012 06:03
XeLaTeX file listing for TOC warning
*File List*
scrreprt.cls 2011/06/16 v3.09a KOMA-Script document class (report)
scrkbase.sty 2011/06/16 v3.09a KOMA-Script package (KOMA-Script-dependent ba
sics and keyval usage)
scrbase.sty 2011/06/16 v3.09a KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty 2011/03/09 v3.09 KOMA-Script package (loading files)
tocbasic.sty 2011/05/30 v3.09a KOMA-Script package (handling toc-files)