This file contains hidden or 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
echo "loading .bashrc ..." | |
eval `ssh-agent` | |
ssh-add | |
alias ls='ls -F --color --show-control-chars' | |
alias ll='ls -la' | |
function compile() { | |
echo "w8..." |
This file contains hidden or 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/bash | |
# Author: Damien Cassou | |
# | |
# This is the script I use to build https://launchpad.net/~cassou/+archive/emacs/ | |
# from http://emacs.naquadah.org/. | |
MAIN_VERSION=20120911 | |
SUB_VERSION=1 |
This file contains hidden or 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
function isObject(obj) { | |
return (typeof obj === "object" && obj !== null) || typeof obj === "function"; | |
} | |
function getConstructorName(obj) { | |
return (obj.constructor && obj.constructor.name) ? obj.constructor.name : ""; | |
} |
This file contains hidden or 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
var APP = APP || {}; | |
APP.namespace = function(string) { | |
var parts = string.split('.'), | |
parent = APP, | |
i; | |
if (parts[0] === 'APP') { | |
parts = parts.slice(1); | |
} | |
for (i = 0; i < parts.length; i += 1) { |
This file contains hidden or 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
/********************************************** | |
* | |
* Twilight based Theme for Chrome DevTools by Rémy Bach | |
* | |
* Based off of the mnml Theme Michael P. Pfeiffer | |
* Based on a Gist by Ben Truyman. Further attr: | |
* https://gist.github.com/3040634 | |
* | |
**********************************************/ |
This file contains hidden or 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
/**********************************************/ | |
/* | |
/* IR_Dark_Monokai | |
/* Designed and developed by Andres Pagella (@mapagella) | |
/* http://www.andrespagella.com/customising-chrome-devtools | |
/* | |
/* Based on Ben Truyman's IR_Black | |
/* which is... | |
/* Based on Todd Werth's IR_Black: | |
/* http://blog.toddwerth.com/entries/2 |
This file contains hidden or 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> | |
<head> | |
<meta charset="utf8"> | |
<title>Fun with border radius</title> | |
</head> | |
<body> | |
<div class="container"></div> | |
</body> | |
</html> |
This file contains hidden or 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
::-webkit-validation-bubble-message{ | |
background-color: #434343; | |
padding: 20px; | |
color: whitesmoke; | |
text-shadow: -2px -2px 2px rgba(0,0,0,0.4); | |
font-size: 34px; | |
font-family: "Lobster"; | |
border: none; | |
border: 3px solid rgba(255,255,255,0.8); | |
top: 49px; |
This file contains hidden or 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
var supports = (function(prop) { | |
var | |
div = doc.createElement('div') | |
, vendors = 'Khtml Ms O Moz Webkit'.split(' ') | |
; | |
return function (prop) { | |
var len = vendors.length; | |
if (prop in div.style) return true; |
This file contains hidden or 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
/* Collection by Marcin Kumorek © 2013 */ | |
/* falsy values */ | |
/* | |
null | |
undefined | |
'' | |
0 | |
NaN | |
false |