Skip to content

Instantly share code, notes, and snippets.

View -
root@portaptty:/etc/X11/Xsession.d# less 90gpg-agent
: ${GNUPGHOME=$HOME/.gnupg}
GPGAGENT=/usr/bin/gpg-agent
if grep -qs '^[[:space:]]*use-agent' "$GNUPGHOME/gpg.conf" "$GNUPGHOME/options" &&
test -x $GPGAGENT; then
# Invoking gpg-agent with no arguments exits successfully if the agent
# is already running on the standard socket
View -
alias e="emacsclient -t -a ''"
alias eb="emacsbare"
alias ec="emacsclient -c -n -a ''"
alias emacsbare="emacs -nw -Q --eval \"(load-theme 'misterioso)\""
alias vim="e"
alias vi="e"
View -
return 0 unless ($ref->{'user'}->{'screen_name'} =~ /$userfilter/i);
return 0 if ($ref->{'text'} =~ /(rand|ron) paul|Hillary|Clinton|Cruz|Rubio|POTUS|bernie|sanders|trump/i);
View -
root@new:~/bin# ls -la /var/log
total 13360
drwxrwxr-x 10 root syslog 4096 Nov 13 03:26 .
drwxr-xr-x 12 root root 4096 Oct 21 2014 ..
-rw-r--r-- 1 root root 2388 Nov 7 07:06 alternatives.log
drwxr-x--- 2 root adm 4096 Nov 13 03:26 apache2
drwxr-xr-x 2 root root 4096 Nov 4 13:14 apt
-rw-r----- 1 syslog adm 0 Nov 13 03:26 auth.log
-rw-r----- 1 syslog adm 777576 Nov 12 19:05 auth.log.1
-rw-r----- 1 syslog adm 410502 Nov 6 03:26 auth.log.2.gz
View -
$ time grep abrt /var/log/messages > /dev/null
real 0m0.331s
user 0m0.299s
sys 0m0.031s
$ time awk '/abrt/ { print; }' /var/log/messages > /dev/null
real 0m5.162s
user 0m5.040s
View -
# puppet apply -v manifests/site.pp --modulepath=modules/ --noop --test
# puppet apply -v manifests/site.pp --modulepath=modules/
node default {
class { 'apache': }
# The non-ssl virtual host
apache::vhost { 'ssltest.quietlife.net non-ssl':
servername => 'ssltest.quietlife.net',
View -
$ /opt/darktable/bin/darktable
[imageio_load_module] failed to open format `j2k': libwebp.so.6: cannot open shared object file: No such file or directory
[lib_load_module] failed to open operation `location': libwebp.so.6: cannot open shared object file: No such file or directory
[lib_load_module] failed to open operation `map_settings': libwebp.so.6: cannot open shared object file: No such file or directory
[rawspeed] (IMG_0144.CR2) Camera 'Canon' 'Canon EOS 5D Mark IV', mode 'sRaw1' not supported, and not allowed to guess. Sorry.
[temperature] failed to read camera white balance information from `IMG_0144.CR2'!
[temperature] failed to read camera white balance information from `IMG_0144.CR2'!
[temperature] failed to read camera white balance information from `IMG_0144.CR2'!
[temperature] failed to read camera white balance information from `IMG_0144.CR2'!
[temperature] failed to read camera white balance information from `IMG_0144.CR2'!
View -
[ 47%] Linking C executable darktable
libdarktable.so: error: undefined reference to 'powf'
libdarktable.so: error: undefined reference to 'roundf'
libdarktable.so: error: undefined reference to 'fmodf'
libdarktable.so: error: undefined reference to 'fminf'
libdarktable.so: error: undefined reference to 'fmaxf'
libdarktable.so: error: undefined reference to 'fmax'
libdarktable.so: error: undefined reference to 'fmin'
libdarktable.so: error: undefined reference to 'sqrtf'
libdarktable.so: error: undefined reference to 'operator delete(void*)'
View -
I hereby inform you under powers entrusted to me under Section 47, Paragraph 7 of Council Order Number 438476, that Mr. Buttle, Archibald, residing at 412 North Tower, Shangri La Towers, has been invited to assist the Ministry of Information with certain enquiries, the nature of which may be ascertained on completion of application form BZ/ST/486/C fourteen days within this date, and that he is liable to certain obligations as specified in Council Order 173497, including financial restitutions which may or may not be incurred if Information Retrieval procedures beyond those incorporated in Article 7 subsections 8, 10 & 32 are required to elicit information leading to permanent arrest notification of which will he served with the time period of 5 working days as stipulated by law. In that instance the detainee will be debited without further notice through central banking procedures without prejudice until and unless at such a time when re-imbursement procedures may be instituted by you or third parties on com