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
out_to_x no | |
own_window no | |
out_to_console yes | |
background no | |
max_text_width 0 | |
# Update interval in seconds | |
update_interval 2.0 | |
# This is the number of times Conky will update before quitting. |
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
module Lisp | |
def self.lexer(str) | |
tokens = Array.new | |
str | |
.gsub(/\(/, ' ( ') | |
.gsub(/\)/, ' ) ') | |
.split(/\s/) | |
.each do |token| |
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
#!/bin/bash | |
delay=1 | |
if (( $# == 1 )); then | |
delay=$1 | |
fi | |
while true; do | |
eval $(xdotool getmouselocation --shell 2> /dev/null) |
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
local result = {} | |
local length = tonumber(redis.call('LLEN', KEYS[1])) | |
for i = 1 , length do | |
local val = redis.call('LPOP',KEYS[1]) | |
if val then | |
table.insert(result,val) | |
end | |
end | |
return result |
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
[Unit] | |
Description=Selenium Standalone Server | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill selenium-standalone | |
ExecStartPre=-/usr/bin/docker rm selenium-standalone | |
ExecStartPre=-/usr/bin/docker pull jesg/selenium:standalone |
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
# /home/<user>/hello-nginx-sinatra/app.rb | |
require 'rubygems' | |
require 'sinatra/base' | |
class App < Sinatra::Application | |
get '/app' do | |
"hello world!" | |
end |
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
transform(State1,State2,[State1|Plan]) :- | |
transform(State1,State2,[State1],Plan), Plan \== []. | |
transform(State,State,Visited,[]). | |
transform(State1,State2,Visited,[State|Actions]) :- | |
edge(State1,State), | |
not(member(State,Visited)), | |
transform(State,State2,[State|Visited],Actions). | |
edge(a,b). |
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
# Common configuration. | |
AllCops: | |
# Additional cops that do not reference a style guide rule may be enabled by | |
# default. Change behavior by overriding StyleGuideCopsOnly, or by giving | |
# the --only-guide-cops option. | |
StyleGuideCopsOnly: true | |
# Use ` or %x around command literals. | |
Style/CommandLiteral: | |
EnforcedStyle: mixed |
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
if has('vim_starting') | |
set nocompatible " Be iMproved | |
" Required: | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
set runtimepath^=~/.vim/bundle/ag | |
let neobundle_readme=expand('~/.vim/bundle/neobundle.vim/README.md') |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQINBFVyKwUBEADkE+eMdCaNcEVABmDZBprxLTt1ZnROqLjQiJuyNEtNg34x66wp | |
F9alOqDmlcoNlP35RVppzOUjVjQ5nY/V91Z5s9TuDuE0YwuuztvYW8DxMK3skPbj | |
ob63xrsNYz8wrGvUj2SFrqohYgWeTc4OCetDNyE3Jpgq/XpqLgHa5kWjaP2jkbbm | |
sXnkIyYlyKTanFo/JPo8RKdCtnyq1IZjkuELjwlEhXzBB0oNDQUqfaoWUI7liHcF | |
YSSz1bRhHfJfk9g1mEOwH9UhFvg6WeFtNPdCn8uT+KHe9YKbHqwLF3MD+7JNsuy8 | |
OM4bKUOPIoDqFRuA4QQ99ZuIK3hnP1Z4TSPvHjoSZDGV7rTr9t2hhuN8vP0OHtCM | |
vZPy6bMDWk6y0UWpnlCSsLAv8g4R/fpRCI3ab98LJjgV165bjvfKdEtXoaPboul9 |
OlderNewer