Skip to content

Instantly share code, notes, and snippets.

View mrdaemon's full-sized avatar

Alexandre Gauthier mrdaemon

View GitHub Profile
@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"
""
▝▜ ▝▜ ▝▜ ▝ ▐
▗▄▖ ▄▖ ▖▄ ▄▖ ▐ ▐ ▄▖ ▐ ▗▄ ▗▄▄ ▄▖ ▄▟
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
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
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
@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)
@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 / gist:5828703
Created June 21, 2013 04:08
SURELY IT IS ONE OF THESE
i A fonts-arphic-uming - "AR PL UMing" Chinese Unicode TrueType font collection Mingti style
i A fonts-baekmuk - Baekmuk series Korean fonts
i A fonts-droid - handheld device font with extensive style and language support
i fonts-freefont-ttf - Freefont Serif, Sans and Mono Truetype fonts
i fonts-kacst - KACST free TrueType Arabic fonts
i fonts-kacst-one - TrueType font designed for Arabic language
i fonts-khmeros-core - KhmerOS Unicode fonts for the Khmer language of Cambodia
i fonts-lao -
#
# alias.conf -- weechat v0.4.1
#
[cmd]
AAWAY = "allserv /away"
AME = "allchan /me"
AMSG = "allchan /msg *"
ANICK = "allserv /nick"
BYE = "quit"
@mrdaemon
mrdaemon / gist:7475803
Created November 14, 2013 22:54
put me in your wp-config.php at the end plz
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define('FS_CHMOD_DIR', 0751);
}
@mrdaemon
mrdaemon / gist:7476022
Created November 14, 2013 23:07
[root@cerberus ~]# ./megasasctl a0 PERC 5/i Integrated encl:1 ldrv:1 batt:good a0d0 680GiB RAID 5 1x6 optimal a0e8s0 136GiB a0d0 online a0e8s1 136GiB a0d0 online a0e8s2 136GiB a0d0 online a0e8s3 136GiB a0d0 online a0e8s4 136GiB a0d0 online a0e8s5 136GiB a0d0 online
[root@cerberus ~]# ./megasasctl
a0 PERC 5/i Integrated encl:1 ldrv:1 batt:good
a0d0 680GiB RAID 5 1x6 optimal
a0e8s0 136GiB a0d0 online
a0e8s1 136GiB a0d0 online
a0e8s2 136GiB a0d0 online
a0e8s3 136GiB a0d0 online
a0e8s4 136GiB a0d0 online
a0e8s5 136GiB a0d0 online