Add to ~/.zshrc
zplug "matrixik/d28c717108b0c1bfad233588da5cac31", \
from:gist, \
as:themeFix for prezto
# Fix for Soup theme
| #!/usr/bin/env python | |
| import urllib | |
| import urlparse | |
| import oauth2 as oauth | |
| import json | |
| consumer_key="consumer_key" | |
| consumer_secret="consumer_secret" | |
| access_token_url = 'http://www.tumblr.com/oauth/access_token' |
| yum install -y policycoreutils-python | |
| semanage fcontext -a -t mysqld_db_t "/var/run/mariadb(/.*)?" && restorecon -Rv "/var/run/mariadb" |
| # Add to {mysqld,mariadb}.service file | |
| ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mariadb | |
| # OR | |
| RuntimeDirectory=mariadb | |
| RuntimeDirectoryMode=755 | |
Add to ~/.zshrc
zplug "matrixik/d28c717108b0c1bfad233588da5cac31", \
from:gist, \
as:themeFix for prezto
# Fix for Soup theme
Start with:
python app.py some_info
curl 127.0.0.1:8888
curl 127.0.0.1:8888/get
curl --data 'supa=extra' 127.0.0.1:8888/post
| Generated at 2017-05-15 09:42:51 +0000 | |
| Mixlib::ShellOut::ShellCommandFailed: service[horizon] (horizon::server line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
| ---- Begin output of sleep 1 && pkill --signal SIGUSR1 -f "^\(wsgi:horizon\)" && sleep 1 ---- | |
| STDOUT: | |
| STDERR: | |
| ---- End output of sleep 1 && pkill --signal SIGUSR1 -f "^\(wsgi:horizon\)" && sleep 1 ---- | |
| Ran sleep 1 && pkill --signal SIGUSR1 -f "^\(wsgi:horizon\)" && sleep 1 returned 1 | |
| /usr/lib64/ruby/gems/2.1.0/gems/mixlib-shellout-1.3.0/lib/mixlib/shellout.rb:253:in `invalid!' | |
| /usr/lib64/ruby/gems/2.1.0/gems/mixlib-shellout-1.3.0/lib/mixlib/shellout.rb:239:in `error!' | |
| /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/mixin/shell_out.rb:36:in `shell_out!' |
| (function (context, trackingId, options) { | |
| const history = context.history; | |
| const doc = document; | |
| const nav = navigator || {}; | |
| const storage = localStorage; | |
| const encode = encodeURIComponent; | |
| const pushState = history.pushState; | |
| const typeException = 'exception'; | |
| const generateId = () => Math.random().toString(36); | |
| const getId = () => { |
| [Desktop Entry] | |
| Version=1.0 | |
| Type=Application | |
| # The name which appears in the menu: | |
| Name=Copy to Pictures | |
| # Replace "command" with the actual command or script: | |
| #Exec=yes | cp -rf %F ~/Pictures | |
| Exec=geeqie_copy.sh %F & |
| #!/usr/bin/env bash | |
| # Uncomment for debugging | |
| # set -o xtrace | |
| set -eo pipefail # Exit the script if any statement returns error. | |
| log() { echo -e "$(date --iso-8601=seconds)" "$1"; } | |
| error() { log "ERROR: $1"; } | |
| warn() { log "WARNING: $1"; } |