Given this:
export PATH=.bundle/bin:$PATH
Autocompleting of binaries from $PWD/.bundle/bin works in bash but not in zsh.
Given this:
export PATH=/proc/self/cwd/.bundle/bin:$PATH
Given this:
export PATH=.bundle/bin:$PATH
Autocompleting of binaries from $PWD/.bundle/bin works in bash but not in zsh.
Given this:
export PATH=/proc/self/cwd/.bundle/bin:$PATH
angular.module('time', []) | |
.directive('accordion', function() { | |
return function(scope, element, attrs) { | |
element.find('li').bind('click', function() { | |
var $li = $(this); | |
// show $li, hide others | |
var $calendar = $li.find('.calendar') | |
var scope = angular.element($calendar).scope() | |
scope.onDisplayed() | |
}); |
Looking for a good name for developer's proxy server that can autospawn whole range of web apps (Rails, Sinatra, Django, Flask..., anything that can listen on $PORT passed via env). Similar thing to Pow but not limited to Rack apps. Routes all HTTP requests for foobar.dev (also foobar.lvh.me and foobar.1.2.3.4.xip.io) to the app symlinked as "foobar" in the central "apps dir".
Suggestions so far:
# option 1 | |
upstream ups { | |
server unix:/tmp/$appname.sock fail_timeout=0; | |
server unix:/tmp/backup.sock fail_timeout=0; | |
} | |
server { | |
listen 80; | |
server_name _; |
" .vimrc | |
let g:ackprg = 'ag --nogroup --nocolor --column' |
#!/bin/bash | |
DATE=${1:-2012-06-01} # allow passing date via DATE env var | |
for version in `find $rvm_path/rubies/ -mindepth 1 -maxdepth 1 -type d -not -newermt $DATE | cut -d / -f 7`; do rvm remove $version; done |
require 'formula' | |
class Asciiio < Formula | |
# always gets the latest version, since ascii.io-cli | |
# doesn't have any versioning schemes going on | |
head 'git://github.com/sickill/ascii.io-cli.git' | |
homepage 'https://github.com/sickill/ascii.io-cli' | |
def install |
<html> | |
<head> | |
<script id="worker1" type="javascript/worker"> | |
function work() { | |
postMessage('work'); | |
setTimeout(work, 3); | |
} | |
work(); |
Dear Marcin Kulik, | |
Thank you for contacting HTC | |
This matters has already been escalated and our development department undertaking appropriate steps to release the kernel source code. | |
KSC will be released as soon as possible. | |
The release will be notified through the official website of HTC. |