Skip to content

Instantly share code, notes, and snippets.

@w0ng
w0ng / gist:3995446
Created November 1, 2012 18:06
autohotkey
+Capslock::Capslock
Capslock::Ctrl
*#;::Volume_Down
*#'::Volume_Up
*#/::Media_Play_Pause
*#[::Media_Next
*#]::Media_Prev
@w0ng
w0ng / gist:4007790
Created November 3, 2012 16:14
systemd startup, slow with dhcpcd
┌─[~]
└─╼ systemd-analyze blame
7044ms [email protected]
535ms mnt-data1.mount
399ms mnt-data0.mount
116ms systemd-vconsole-setup.service
113ms systemd-remount-fs.service
109ms systemd-sysctl.service
103ms systemd-udevd.service
103ms sys-kernel-debug.mount
@w0ng
w0ng / gist:4007819
Created November 3, 2012 16:25
systemd startup, fast with network.service
┌─[~]
└─╼ systemd-analyze blame
532ms mnt-data1.mount
411ms mnt-data0.mount
103ms systemd-udev-trigger.service
82ms mnt-scratch.mount
79ms systemd-remount-fs.service
76ms systemd-vconsole-setup.service
71ms systemd-sysctl.service
70ms sys-kernel-debug.mount
@w0ng
w0ng / 65-override.conf
Created November 5, 2012 13:23
infinality override
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- OVERRIDE SETTINGS -->
<!-- Full autohint -->
<!-- Makes vertical/horizontal stems align to pixels, but is not true to the glyphs -->
<!-- Some glyphs may look forced into place, however they are very sharp -->
@w0ng
w0ng / fstab
Created November 5, 2012 15:19
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
LABEL=root / ext4 rw,relatime,data=ordered,discard 0 1
LABEL=boot /boot ext4 rw,relatime,data=ordered,discard 0 2
LABEL=var /var ext4 rw,relatime,data=ordered,discard 0 2
LABEL=home /home ext4 rw,relatime,data=ordered,discard 0 2
@w0ng
w0ng / 42-repl-global.conf
Last active October 12, 2015 18:27
infinality replace fonts
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- Global Replacements - Active if set to true above -->
<!-- Add your own replacements here -->
<!-- Clone "match" blocks below for each replacement -->
diff --git a/about/index.html b/about/index.html
index e924e58..dc9fb76 100644
--- a/about/index.html
+++ b/about/index.html
@@ -155,6 +155,10 @@
<ul id="recent_posts">
<li class="post">
+ <a href="/blog/2013/01/21/testetestsst/">testetestsst</a>
+ </li>
@w0ng
w0ng / public.key
Last active December 11, 2015 21:09
pub 0x89285DCF uid Andrew Wong <[email protected]>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.19 (GNU/Linux)
mQENBFD96WgBCADO20cJops5ovP6EcBD9c99pfpDTENfuzskPt3UIEYEeusqS4TM
fpqFfKnSozv7dFsptaJC4I4JguXOn2C5/I5GJVY6snS4CFiRQpATHsqWxysIhpRP
Isl8xbCx6LBhcdifsf284EQflaBsfxmv9HsdCOKkA3DNB/43CH0oNg7IFjT4/IiB
CiOp0odSDxo0uLYtj5RVoEUsU9sCYkPoTemV5lyzodABhZlSqqTbZzZIY9hNluO6
/tAHDF7OP1MyvWu7vLP+t0EF0fLHSn14TzjpFSOWiCwVK13m0tix7JPAH0wiTfS1
e7ZZYMxcm6g6ghLaygZ1L6z76ooMsMILIH9hABEBAAG0IEFuZHJldyBXb25nIDxh
bmRyZXdAd29uZ2Rldi5jb20+iQE4BBMBAgAiBQJRF//ZAhsDBgsJCAcDAgYVCAIJ
@w0ng
w0ng / PKGBUILD.diff
Created April 7, 2013 15:43
AUR PKGBULD for tlp
diff -up a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD 2012-10-28 03:55:32.000000000 +1100
+++ b/PKGBUILD 2013-04-08 01:39:29.758291083 +1000
@@ -1,6 +1,6 @@
# Maintainer: Matthias Gabriel <gabm at live dot de>
pkgname=tlp
-pkgver=0.3.7.1
+pkgver=0.3.8.1
pkgrel=1
pkgdesc="Powersaving scripts for ThinkPads(c)"
@w0ng
w0ng / google-ssl.xml
Last active December 16, 2015 18:00
Google I'm Feeling Lucky search engine
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>I'm Feeling Lucky (SSL)</os:ShortName>
<os:Description>Google is the world's most popular search engine. This search bar add-on utilizes SSL to protect searches between You and Google, but it does not make you anonymous (remember, Google logs and retains all search queries and IP addresses).</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAIAEBAAAAEAIABoBAAAJgAAACAgAAABACAAqBAAAI4EAAAoAAAAEAAAACAAAAABACAAAAAAAAAEAAASCwAAEgsAAAAAAAAAAAAA9IVCSvSFQuf0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hULk9IVCSvSFQub0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQuf0hUL/9IVC//SFQv/0hUL/9Y1O//rIq//+7+f//eXX//vUvf/7z7X/96Fu//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//vYwv/97OH/9ZRZ//SFQv/0hUL/9IhG//zbx//3om7/9IVC//SFQv/0hUL/9IVC//SFQv/0hUL/9IVC//SFQv/97uX/+buW//SFQv/0