Workspace files:
workspace/salt-master/
- Vagrantfile
- etc/
- salt/
- master.d/
- remotes.conf
- NOTE: anything else that I want in ALL environments)
LUAOBJECT_GRAMMAR = %q{ | |
grammar LuaObject | |
rule luaobj | |
space value space { def to_ruby; value.to_ruby; end } | |
end | |
rule value | |
nil / float / number / string / table / boolean | |
end |
''' | |
redis_search.py | |
Written by Josiah Carlson July 3, 2010 | |
Released into the public domain. | |
This module implements a simple TF/IDF indexing and search algorithm using | |
Redis as a datastore server. The particular algorithm implemented uses the |
# This method finds related articles using Jaccard index (optimized for PostgreSQL). | |
# More info: http://en.wikipedia.org/wiki/Jaccard_index | |
class Article < ActiveRecord::Base | |
def related(limit=10) | |
Article.find_by_sql(%Q{ | |
SELECT | |
a.*, | |
( SELECT array_agg(t.name) FROM taggings tg, tags t |
Workspace files:
workspace/salt-master/
- Vagrantfile
- etc/
- salt/
- master.d/
- remotes.conf
- NOTE: anything else that I want in ALL environments)
Below are my build instructions for GnuPG 2.2.10, released on August 30th, 2018. These instructions are built for a headless Ubuntu 18.04 LTS server (and have also been tested on Ubuntu 14.04/16.04).
If you prefer, you may use the below install script to install GnuPG 2.2.x by running the following commands:
curl -OL "https://gist.githubusercontent.com/vt0r/a2f8c0bcb1400131ff51/raw/e0d2011d7b89bfe5b83c3f29f21949fb21354dd9/install-gnupg22.sh" && sudo -H bash ./install-gnupg22.sh
FROM gliderlabs/alpine:3.3 | |
COPY myawesomescript /bin/myawesomescript | |
COPY root /var/spool/cron/crontabs/root | |
RUN chmod +x /bin/myawesomescript | |
CMD crond -l 2 -f |
: Please update Homebrew often and make sure "Your system is ready to brew." | |
brew update && brew doctor | |
: Install VirtualBox | |
brew tap caskroom/cask | |
brew cask install virtualbox | |
: Install/Setup Docker | |
brew install docker | |
brew install docker-machine |
ctrl_table = { | |
sends_escape = true, | |
last_mods = {} | |
} | |
control_key_timer = hs.timer.delayed.new(0.15, function() | |
ctrl_table["send_escape"] = false | |
-- log.i("timer fired") | |
-- control_key_timer:stop() | |
end |
REM In admin prompt | |
REM Ensure web server/application is listening on all interfaces (0.0.0.0) | |
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=80 connectaddress=10.0.75.2 connectport=80 | |
netsh advfirewall firewall add rule name="App" dir=in action=allow protocol=TCP localport=80 remoteport=80 | |
netsh interface portproxy show v4tov4 | |
netsh advfirewall firewall show rule "App" | |
netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=80 | |
netsh advfirewall firewall del rule name="App" |