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
/* | |
* Scrolls the window to the required position using animation with custom easing. | |
* The required position can be set with the 1st argument ('position'); | |
* The fineness of the animation can be customized by using the 'speed' (2nd) argument, which ranges between 0.1 (very fine) and 1 (instant jump). | |
* Usage #1: | |
* scrollWindowTo(0, 0.2); // -> Scrolls the page to the top with a fine animation | |
* Usage #2: | |
* scrollWindowTo(100, 1); // -> Makes the page jump to 100px | |
*/ | |
var scrollWindowTo = (function(){ |
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
package com.heartcode.utils.fonts | |
{ | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.text.Font; | |
/** | |
* | |
*/ | |
public class FontLibrary extends Sprite |
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
package com.waste.assets.tlf | |
{ | |
import fl.text.*; | |
import flash.text.*; | |
import flash.text.engine.FontLookup; | |
import flashx.textLayout.formats.*; | |
import flashx.textLayout.formats.TextLayoutFormat; | |
import flashx.textLayout.elements.TextFlow; | |
/** |
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+m"], "command": "toggle_minimap" }, | |
{ "keys": ["super+d"], "command": "duplicate_line" }, | |
{ "keys": ["super+up"], "command": "swap_line_up" }, | |
{ "keys": ["super+down"], "command": "swap_line_down" } | |
] |
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
export PATH="/usr/local/bin:/usr/local/mysql/bin:/usr/local/etc:/usr/local/sbin:$PATH" | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. | |
# [[ -r $rvm_path/scripts/completion ]] && . $rvm_path/scripts/completion | |
source ~/.git-completion.sh | |
ssh-add | |
function rvm_version { | |
local gemset=$(echo $GEM_HOME | awk -F'@' '{print $2}') |
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
@mixin animation ($transform: background, $duration: 0.3s, $easing: ease, $delay: 0.3s) { | |
-webkit-transition: $transform $duration $easing $delay; | |
-moz-transition: $transform $duration $easing $delay; | |
-o-transition: $transform $duration $easing $delay; | |
transition: $transform $duration $easing $delay; | |
} |
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
@mixin background_image ($filename) { | |
background-image: image-url(1x/#{$filename}); | |
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), | |
only screen and (-o-min-device-pixel-ratio: 3/2), | |
only screen and (min--moz-device-pixel-ratio: 1.5), | |
only screen and (min-device-pixel-ratio: 1.5) { | |
background-image: image-url(2x/#{$filename}); | |
} | |
} |
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
export PATH="/bin:/sbin:/usr/local/etc:/usr/local/mysql/bin:/usr/bin:usr/local/sbin:/usr/local/bin:$PATH/.rbenv/bin:$HOME" | |
eval "$(rbenv init - --no-rehash)" | |
# Load SSH keys | |
ssh-add | |
[[ -s ~/.bashrc ]] && source ~/.bashrc | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi |
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
# More great options: http://thomashunter.name/blog/git-colored-output-shortcut-commands-autocompletion-and-bash-prompt/ | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[format] | |
pretty = "Commit: %C(yellow)%H%nAuthor: %C(green)%aN <%aE>%nDate: (%C(red)%ar%Creset) %ai%nSubject: %s%n%n%b" |
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
{ | |
"color_scheme": "Packages/Theme - Default/Tomorrow-Night-Eighties.tmTheme", | |
"folder_exclude_patterns": | |
[ | |
"build", | |
"docs", | |
".*", | |
"acceptance-test/src", | |
"acceptance-test/deps", | |
"acceptance-test/target", |
OlderNewer