I hereby claim:
- I am rodrigodealer on github.
- I am rodrigodealer (https://keybase.io/rodrigodealer) on keybase.
- I have a public key ASAw-MH97Nm-DqXTEk5i6Ja4nFclXdZ94mDCJRvaFXMA9Qo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'watir' | |
def log (message) puts " #{message}" end | |
def success (message) puts "+ #{message}" end | |
def fail (message) puts "- #{message}" end | |
def notify (message) | |
success message.upcase | |
system 'osascript -e \'Display notification "Bürgerbot" with title "%s"\'' % message | |
rescue StandardError => e |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# make sure you the watir gem installed -> gem install watir | |
require 'watir' | |
def log (message) puts " #{message}" end | |
def success (message) puts "+ #{message}" end | |
def fail (message) puts "- #{message}" end | |
def notify (message) | |
success message.upcase | |
system 'osascript -e \'Display notification Burgerbot with title "%s"\'' % message | |
rescue StandardError => e |
backend default { | |
.host = "127.0.0.1"; | |
.port = "80"; | |
} | |
sub vcl_recv { | |
if(req.url ~ "sign_in" || req.url ~ "sign_out" || req.request == "POST" || req.request == "PUT" || req.request == "DELETE") { | |
return (pass); | |
} |
RAILS_ENV=production | |
RAILS_ROOT=/home/deploy/apps/app/current | |
USER=deploy | |
START_CMD="/home/deploy/.rbenv/shims/bundle exec unicorn -c config/unicorn.rb -E production -D" | |
UNICORN_CONFIG=$RAILS_ROOT/config/unicorn.rb | |
PID="/home/deploy/shared/pids/unicorn.pid" |
package br.com.pordotom.util; | |
import br.com.caelum.vraptor.interceptor.TypeNameExtractor; | |
import br.com.caelum.vraptor.ioc.Component; | |
import br.com.caelum.vraptor.serialization.ProxyInitializer; | |
import br.com.caelum.vraptor.serialization.xstream.XStreamBuilder; | |
import br.com.caelum.vraptor.serialization.xstream.XStreamJSONSerialization; | |
import com.thoughtworks.xstream.XStream; | |
import com.thoughtworks.xstream.converters.basic.DateConverter; |
<Location /> | |
# AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css image/gif image/png image/jpg | |
# SetOutputFilter DEFLATE | |
# BrowserMatch ^Mozilla/4 gzip-only-text/html | |
# BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
# BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html | |
# AddOutputFilterByType DEFLATE text/html text/plain text/css image/gif image/png image/jpg application/x-javascript | |
# BrowserMatch ^Mozilla/4 gzip-only-text/html | |
# BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
# BrowserMatch \bMSIE !no-gzip !gzip-only-text/html |
worker_processes 4; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 80; | |
gzip on; |
<project name="hello-ivy" default="run" xmlns:ivy="antlib:org.apache.ivy.ant"> | |
<property name="lib.dir" value="lib" /> | |
<property name="build.dir" value="build" /> | |
<property name="src.dir" value="src" /> | |
<!-- paths used for compilation and run --> | |
<path id="lib.path.id"> | |
<fileset dir="${lib.dir}" /> | |
</path> |