Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
var GamboAndOemerUrlHelper = { | |
// public method for url encoding | |
encode : function (string) { | |
return escape(this._utf8_encode(string)); | |
}, | |
// public method for url decoding | |
decode : function (string) { | |
return this._utf8_decode(unescape(string)); |
# One of my favorite Rails Snippets | |
<%- if "full".empty? #comments out -%> | |
secret | |
<%- end -%> |
#!/bin/sh | |
# | |
# init.d script for single or multiple unicorn installations. Expects at least one .conf | |
# file in /etc/unicorn | |
# | |
# Modified by jay@gooby.org http://github.com/jaygooby | |
# based on http://gist.github.com/308216 by http://github.com/mguterl | |
# | |
## A sample /etc/unicorn/my_app.conf | |
## |
# verschiebt die alte RVM Installation | |
mv .rvm .rvm_old | |
# setzt den Pfad zu gcc | |
export CC=/usr/bin/gcc-4.2 | |
# installiert RVM | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
# installiert Ruby 1.9.2 |
# installiert homebrew openssl | |
brew install openssl | |
# erstellt symlinks | |
sudo brew link openssl | |
# installiert passenger | |
gem install passenger | |
# installiert Abhängigkeiten |
# installiert imagemagcik | |
brew install imagemagick | |
# erstellt symlinks | |
sudo brew link imagemagick |
find . -iname "*.jpg" -print0 | xargs -0 mogrify -resize 1400x -quality 75 -strip * |
var userAgent = navigator.userAgent.toLowerCase(); | |
if(userAgent.match(/firefox/)) { | |
$( '#'+elm_id ).bind( "sortstart", function (event, ui) { | |
ui.helper.css('margin-top', $(window).scrollTop() ); | |
}); | |
$( '#'+elm_id ).bind( "sortbeforestop", function (event, ui) { | |
ui.helper.css('margin-top', 0 ); | |
}); | |
} |