I hereby claim:
- I am wedtm on github.
- I am wedtm (https://keybase.io/wedtm) on keybase.
- I have a public key whose fingerprint is 57B0 1772 E429 06DE D128 DB7B 318E BE72 C492 3DD6
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am wedtm on github. | |
* I am wedtm (https://keybase.io/wedtm) on keybase. | |
* I have a public key ASACDGOJPJhc3saZW9mIevMLRlcTjRFBK-4Az1jjANCE7wo | |
To claim this, I am signing this object: |
#! /usr/bin/env bash | |
HOST_IP_1="10.0.10.10" | |
HOST_IP_2="10.0.20.10" | |
HOST_IP_3="10.0.30.10" | |
###### DO NOT TOUCH BELOW HERE ######## | |
SCRIPT=`basename "$0"` |
<section class="gallery"> | |
<div class="followMeBar header bleeder"> | |
<h2>Hello</h2> | |
</div> | |
<div class="bleeder dark"> | |
<figure class="leader"> | |
<figcaption> | |
<div class="holder"> | |
<div class="words"> |
core@ip-172-31-4-204 ~ $ docker logs deis-controller | |
Syncing... | |
Creating tables ... | |
Creating table django_admin_log | |
Creating table auth_permission | |
Creating table auth_group_permissions | |
Creating table auth_group | |
Creating table auth_user_groups | |
Creating table auth_user_user_permissions | |
Creating table auth_user |
I hereby claim:
To claim this, I am signing this object:
def compile_asset?(path) | |
# ignores any filename that begins with '_' (e.g. sass partials) | |
# all other css/js/sass/image files are processed | |
if File.basename(path) =~ /^[^_].*\.\w+$/ | |
puts "Compiling: #{path}" | |
true | |
else | |
puts "Ignoring: #{path}" | |
false | |
end |
diff --git a/.travis.yml b/.travis.yml | |
index d9c0a57..c094c87 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -4,6 +4,7 @@ rvm: | |
- ree | |
- 1.9.2 | |
- 1.9.3 | |
+ - 2.0.0 | |
- jruby-19mode |
upstream app { | |
server unix:/srv/app/current/tmp/sockets/unicorn.sock fail_timeout=0; | |
} | |
server { | |
listen 80; | |
server_name www.app.com; | |
rewrite ^/(.*) http://app.com/$1 permanent; | |
} | |
server { |
public float[] calculateRank(Server server) { | |
float rank = 10.0f; | |
Jedis jedis = // REDACTED SERVER SPECIFIC | |
List<String> checks_json = // REDACTED SERVER SPECIFIC | |
App.pool.returnResource(jedis); | |
float good = 0; | |
float total = checks_json.size(); | |
for(String check : checks_json) { | |
Result res = gson.fromJson(check, Result.class); | |
if(res.result == true) |
MAX_THREADS = 30 | |
@current_threads = 0 | |
while (true) | |
if (@current_threads >= MAX_THREADS) | |
sleep 1 | |
next | |
end | |
Thread.new do |