This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asdasd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create database namelayer character set latin1; | |
grant all privileges on namelayer.* to namelayer@localhost identified by 'changethis'; | |
create database citadel character set latin1; | |
grant all privileges on citadel.* to citadel@localhost identified by 'changethis'; | |
create database castlegates character set latin1; | |
grant all privileges on castlegates.* to castlegates@localhost identified by 'changethis'; | |
create database exilepearl character set latin1; | |
grant all privileges on exilepearl.* to exilepearl@localhost identified by 'changethis'; | |
create database jukealert character set latin1; | |
grant all privileges on jukealert.* to jukealert@localhost identified by 'changethis'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean disableNether = config.getBoolean("disable_nether", false); | |
if (disableNether) { | |
plugin.getServer().getPluginManager() | |
.registerEvents(new NetherPortalListener(), plugin); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cwage@portaplotz:~/bin$ cat lsd.sh | |
#!/bin/sh | |
while true; do | |
ls | nc -l 12345 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /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'! |