Skip to content

Instantly share code, notes, and snippets.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (GNU/Linux)
mQINBFLjgakBEAC001H7/FQSruOLCB9R8nLsyk4B9fMpi4wN+9TuXYpqhvDkz8RU
/MGqzAkyPG0i/GlmOb379IXYd4xufnFOrIYvlshWdWeN3242dsmE3JDuEdWiKG40
H0Y4YnF/QvB/JLqO8YwNnn1l239HyOJ/Yv6Z/8OtkDZ1fr94LCOmlNNOewOwzLnC
R9qRa6YEp7v9tu49E6JMfDZUrrXft9ZLfW9QTHdu6RhNi4lmez1/4IWJTsoqAhcq
/1nXMds+fzRQ1yb0Xy+8S3RsTpGQhgNfxBb5kDluRNNLQ9vuoz1Om09RnM1pT6Pb
P8HfJdVH2egiGyruSHsguLmtT3usifg2nptUCCuz1K3e9NJFXbqt8m8PMequTZ16
Gcp9XrYwa+QRf7pzfb0r9hytBMt6qJ+yBm4aBkwGIo5W9jzoyNArHBN1HsE/+QHn
@zoqaeski
zoqaeski / dmesg
Last active August 29, 2015 14:10
HP laptop woes
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.17.1-1-ARCH (nobody@var-lib-archbuild-testing-x86_64-tobias) (gcc version 4.9.1 20140903 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=82f402c1-8984-4a58-bfe9-8a8ae92365c1 rw resume=/dev/disk/by-uuid/79e00a84-c523-47bf-ac69-8ccf9b9102c0 radeon.dpm=1 radeon.modeset=1
[ 0.000000] tseg: 00afc00000
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
@zoqaeski
zoqaeski / mpd.conf
Created May 3, 2015 11:06
My MPD configuration
# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.
# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
"
" MAIN CUSTOMIZATION FILE
"
""""""""""""""""""""""""""""""""
"
" DISPLAY
"
""""""""""""""""""""""""""""""""
#!/bin/bash
# Moves images into folders based on their dimensions
cd ~/wallpapers
for image in *;
do
dims=$(feh -ls $image | cut -f3,4 --output-delimiter=x | sed 's/WIDTHxHEIGHT//')
echo $dims
mkdir $dims &> /dev/null
mv $image $dims
!----------------------------------------------
!! Colours
!----------------------------------------------
! Testing "Zork" colour theme.
*foreground: #B6B7B8
*background: #202426
! Black
*color0: #202426
*color8: #555753
@zoqaeski
zoqaeski / Qevesa lexical mapping.sql
Created February 12, 2011 08:28
A brief explanation and set of data for my project to create a lexical database of Qevesa.
-- TBL_ROOTS example data:
-- -----------------------
--
INSERT INTO tbl_roots (root_id, root, length, semantic_meaning, date_added) VALUES
(1, ARRAY['n','t','l'], 3, 'thinking, thought, ideas', 2011-02-11),
(2, ARRAY['s','ş','m'], 3, 'female', 2011-02-11),
(3, ARRAY['p','l','t'], 3, 'to beautify, to adorn', 2011-02-11),
(4, ARRAY['t','m','s'], 3, 'to grow, to be tall', 2011-02-11);
(5, ARRAY['s','q'], 2, 'love, emotions', 2011-02-12);
(6, ARRAY['s','z','r'], 3, 'to rule; lord, master', 2011-02-20);
@zoqaeski
zoqaeski / abbreviations.tex
Created September 14, 2011 15:42
Linguistics Abbreviations
\documentclass[grammar]{subfiles}
\begin{document}
\chapter{List of Glossing Abbreviations}
\label{ch:glossing_abbreviations}
The following abbreviations have been used in the linguistics glosses throughout this document.
\begin{multicols*}{2}\small
\begin{description}[font=\normalfont\scshape,labelindent=12pt,leftmargin=60pt,style=sameline]
@zoqaeski
zoqaeski / grammar.tex
Created September 15, 2011 06:04
grammar.tex preamble
%\listfiles
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8
\documentclass{scrreprt}
% I use KOMA-script as I find it gives much easier control than a mishmash of different packages.
%% KOMA options
\KOMAoptions{
appendixprefix=false,
chapterprefix=false,
@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)