Skip to content

Instantly share code, notes, and snippets.

View mrdaemon's full-sized avatar

Alexandre Gauthier mrdaemon

View GitHub Profile
@mrdaemon
mrdaemon / gist:5828697
Created June 21, 2013 04:06
IT'S ONE OF THESE (my bet is on khmeros)
supernaut@kitsune:~$ aptitude search ~ifonts │
i A fonts-droid - handheld device font with extensive style and language│
i fonts-freefont-ttf - polices TrueType Freefont Serif, Sans et Mono │
i A fonts-kacst - polices arabes libres de type Truetype du KACST │
i A fonts-kacst-one - Police TrueType conçue pour la langue arabe │
i fonts-khmeros-core - Polices Unicode KhmerOS destinées à la langue khmère │
i A fonts-lao - Police TrueType pour la langue Lao │
i A fonts-liberation - Polices avec les mêmes caractéristiques que Times, Ari│
i A fonts-lmodern - OpenType fonts based on Computer Modern │
i A fonts-opensymbol - Police TrueType Open
@mrdaemon
mrdaemon / irssi_plugins.txt
Last active December 18, 2015 12:49
irssi plugins I use
15:53 away_hilight_notice | sane non spammy, gentle and well behaved autoresponder when away/detached
15:53 trackbar | Shows a horizontal line to mark where you last read up to when switching windows
15:53 warnkick | Poots a warning when kicked from a channel that isn't active right now
15:53 niq | BitchX-like nick completion with partials in status bar (p. gr8)
15:53 emojis | Knifamode (https://github.com/mrdaemon/irssi-emojis)
15:53 rtrim | trims whitespace at the end of sent lines
15:53 scriptassist | automagic script management
15:53 complete_lastspoke | tab on empty line will complete to nick of person who last spoke
15:53 buf | Saves buffer for in place /upgrade
15:53 active_notice | Show notices into the active channel unless it has its own window (I actually like this)
kitsune (0.0.0.0) Wed Jun 12 22:15:21 2013
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. modemcable097.212-70-69.static.videotron.ca 0.0% 85 1.4 1.4 1.3 1.7 0.1
2. ???
3. 216.113.124.77 0.0% 85 15.8 16.0 9.1 25.2 3.8
4. 216.113.124.121 0.0% 85 15.8 15.9 8.9 26.1 3.8
5. 216.113.125.74 14.1% 85 46.0 13.9 8.5 172.3 20.8
6. bhs-g1-6k.qc.ca
Chain INPUT (policy ACCEPT)
target prot opt source destination
TARPITLOG tcp -- anywhere anywhere tcp dpt:ssh state NEW recent: UPDATE seconds: 300 hit_count: 4 name: DEFAULT side: source
tcp -- anywhere anywhere tcp dpt:ssh state NEW recent: SET name: DEFAULT side: source
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PS C:\Users\supernaut> import-module ActiveDirectory
PS C:\Users\supernaut> Get-AdUser -Filter { sAMAccountName -like 'test*' }
DistinguishedName : CN=Test Tickle (Delort me),OU=_Users,DC=lab,DC=underwares,DC=org
Enabled : True
GivenName : Test
Name : Test Tickle (Delort me)
ObjectClass : user
@mrdaemon
mrdaemon / psa.txt
Created March 22, 2013 05:03
A public service announcement.
#
# mm mmm m m mmm m m mmm m m
#" # " # "m m" #" # "m m" #" "# # #
# # m"""# #m# #"""" #m# # # # #
# # "mm"# # "#mm" "# "#m#" "mm"#
m"
""
▝▜ ▝▜ ▝▜ ▝ ▐
▗▄▖ ▄▖ ▖▄ ▄▖ ▐ ▐ ▄▖ ▐ ▗▄ ▗▄▄ ▄▖ ▄▟
int[] currentPState = new int[4];
for(int i=0; i<4; i++) {
currentPState[i] = K10Manager.GetCurrentPState(i);
}
@mrdaemon
mrdaemon / apachelol.conf
Last active December 12, 2015 07:18
Example of namebased virtualhosts
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.asshole.com
ServerAlias asshole.com sub.asshole.com
DocumentRoot /var/www/asshole
</VirtualHost>
<VirtualHost *:80>
ServerName data.asshole.com
[0:523] callisto:Half-Life $ ls
bshift custom.hpk engine_i486.so hl_linux libsteam_api.so proxy.so valve_hd
bshift_hd czero ffmpegsumo.so htmlcache libsteam.dylib.dSYM redist valve_lv
chromehtml.dylib.dSYM czero_lv filesystem_stdio_amd64.so hw.dylib.dSYM libsteam.so reslists valve_old
chromehtml.so czeror filesystem_stdio.so hw.so libtier0.so ricochet vgui2.so
config.cfg dedicated gearbox libcef.dylib.dSYM libvstdlib.so SAVE vgui.so
core.so demoplayer.so gearbox_hd libcef.so localization tempdecal.wad voice_miles.so
crashhandler.so dmc gldrv libffmpegsumo.so logos tfc voice_silk.dyli
[C:\Windows\system32]# smartctl -a C:\
smartctl 6.0 2012-10-10 r3643 [x86_64-w64-mingw32-win8] (sf-6.0-1)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org
Vendor: FUJITSU
Product: MBA3073RC
Revision: D305
User Capacity: 73 407 820 800 bytes [73,4 GB]
Logical block size: 512 bytes
Logical Unit id: 0x500000e01b102620