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
// _easing.scss, CSS easing functions - gist.github.com/terkel/4377409 | |
// Based on Caesar - matthewlein.com/ceaser | |
$linear: cubic-bezier( 0.250, 0.250, 0.750, 0.750 ); | |
$ease: cubic-bezier( 0.250, 0.100, 0.250, 1.000 ); | |
$ease-in: cubic-bezier( 0.420, 0.000, 1.000, 1.000 ); | |
$ease-out: cubic-bezier( 0.000, 0.000, 0.580, 1.000 ); | |
$ease-in-out: cubic-bezier( 0.420, 0.000, 0.580, 1.000 ); | |
$ease-in-quad: cubic-bezier( 0.550, 0.085, 0.680, 0.530 ); |
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
/** This function is used to debug variables during page execution | |
* @param $what , the variable which need to debug,can be array or single variable | |
* @param $more , to know the method and line number where that variable is used | |
* @param $die , set TRUE if want to stop the page | |
* how to use : debug::watch($postarray,1,1); | |
* @author keshav mohta | |
* @date Aug 12, 2010 | |
*/ | |
class debug() | |
{ |
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
""" | |
Creates a list of URLs to stdout based on repeating patterns found in the site, suitable for use with WGET or CURL. | |
""" | |
import datetime | |
scopes=[ | |
"aries", | |
"taurus", |
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
// 1: how could you rewrite the following to make it shorter? | |
if (foo) { | |
bar.doSomething(el); | |
} else { | |
bar.doSomethingElse(el); | |
} | |