I hereby claim:
- I am rindek on github.
- I am rindek (https://keybase.io/rindek) on keybase.
- I have a public key ASDkGzeqlIE2jTKr0erKUY4Zzg25HdsLAc3S-sjzg0x8lwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
version: '3.2' | |
services: | |
nginx: | |
image: jwilder/nginx-proxy:latest | |
container_name: nginx_proxy | |
restart: always | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
- /etc/ssl/web:/etc/nginx/certs | |
- /etc/nginx/vhost.d:/etc/nginx/vhost.d |
function FindProxyForURL(url, host) { | |
if (shExpMatch(host, "*.dev")) { | |
return "PROXY localhost:3000"; | |
} | |
if (shExpMatch(host, "*.dev2")) { | |
return "PROXY localhost:3001"; | |
} | |
if (shExpMatch(host, "*.dev3")) { | |
return "PROXY localhost:3000"; | |
} |
require 'formula' | |
class Pango < Formula | |
homepage 'http://www.pango.org/' | |
url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.32/pango-1.32.5.tar.xz' | |
sha256 '7d7bc99c3d9b580cb4fe787fe47824e56e39534b9040e1c8a2a159248d8e5821' | |
option 'without-x', 'Build without X11 support' | |
depends_on 'pkg-config' => :build |
function FindProxyForURL(url, host) { | |
if (shExpMatch(host, "*.dev")) { | |
return "PROXY localhost:3000"; | |
} | |
if (shExpMatch(host, "*.dev2")) { | |
return "PROXY localhost:3001"; | |
} | |
if (shExpMatch(host, "*.dev3")) { | |
return "PROXY localhost:3000"; | |
} |
25.times { | |
x = rand(10..50) * 10 | |
y = rand(10..50) * 10 | |
url = "http://placekitten.com/#{x}/#{y}" | |
output = "kitten_#{x}_#{y}.jpg" | |
`wget "#{url}" -O "#{output}"` | |
} |
#!/bin/bash | |
## START PRECOMMIT HOOK | |
files_modified=`git status --porcelain | egrep "^(A |M |R ).*" | awk ' { if ($3 == "->") print $4; else print $2 } '` | |
[ -s "$HOME/.rvm/scripts/rvm" ] && . "$HOME/.rvm/scripts/rvm" | |
## use ruby defined in project | |
source .rvmrc | |
for f in $files_modified; do |