25/09/2013 - A bootstrap form where the input expands on focus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html class="no-js" lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCODg3Nzc1RjhEOTcxMUUyQUMxNTg4QUJBMTExNkJBQSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCODg3Nzc2MDhEOTcxMUUyQUMxNTg4QUJBMTExNkJBQSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkI4ODc3NzVEOEQ5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local a = {} | |
local b = {} | |
local c = {} | |
local d = {} | |
a.x = 200 | |
a.y = 200 | |
b.x = 800 | |
b.y = 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic | |
" http://amix.dk - amix@amix.dk | |
" | |
" Version: | |
" 5.0 - 29/05/12 15:43:36 | |
" | |
" Blog_post: | |
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Basic colors taken from flatuicolors.com | |
// + black (dark gray) | |
// + white | |
// + given more semantic names. | |
$turquoise: #1abc9c; | |
$turquoise-dark: #16a085; | |
$green: #27ae60; | |
$green-light: #2ecc71; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+pageup"], "command": "new_pane" }, | |
{ "keys": ["super+pagedown"], "command": "close_pane" }, | |
{ "keys": ["ctrl+shift+."], "command": "erb" } | |
] |
An simple bookmarklet to create a horde or gremlins and unleash them on any website. See gremlins.js by marmelab for more information.
Edit a bookmarklet and set the URL to be -
javascript:(function()%7Bvar%20ScriptLoader%2CscriptLoader%3BScriptLoader%3Dfunction()%7Bfunction%20a()%7B%7Dreturn%20a.prototype.setupCallback%3Dfunction(a%2Cb)%7Breturn%20a.readyState%3Fa.onreadystatechange%3Dfunction()%7Breturn%22loaded%22%3D%3D%3Da.readyState%7C%7C%22complete%22%3D%3D%3Da.readyState%3Fb()%3Avoid%200%7D%3Aa.onload%3Dfunction()%7Breturn%20b()%7D%7D%2Ca.prototype.createScript%3Dfunction(a)%7Bvar%20b%3Breturn%20b%3Ddocument.createElement(%22script%22)%2Cb.type%3D%22text%2Fjavascript%22%2Cb.charset%3D%22UTF-8%22%2Cb.src%3Da%2Cb%7D%2Ca.prototype.add%3Dfunction(a%2Cb)%7Bvar%20c%3Breturn%20c%3Dthis.createScript(a)%2Cdocument.body.appendChild(c)%2Cnull!%3Db%3Fthis.setupCallback(c%2Cb)%3Avoid%200%7D%2Ca%7D()%2CscriptLoad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget http://wordpress.org/latest.tar.gz | |
tar xfz latest.tar.gz | |
rsync -r --ignore-existing ./wordpress/ ./ | |
rm -R ./wordpress ./latest.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: | |
# curl https://gist.githubusercontent.com/adambutler/25dbc9b0fb4171f985fa/raw/4044a30e73a0cac5270d88d74e2a60062a5ce878/php54-mongo-1.4.5.sh | sh | |
brew uninstall php54-mongo | |
wget http://cl.ly/3e4324332D1C/1.4.5.zip | |
tar xfz 1.4.5.zip | |
mkdir -p /usr/local/Cellar/php54-mongo/ | |
mv 1.4.5 /usr/local/Cellar/php54-mongo/1.4.5 | |
brew link php54-mongo |
OlderNewer