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(){ | |
console.log(this); | |
function moveRight(el) { | |
$(el).animate({marginRight: 100 }, 1000); | |
} | |
function moveBack(el) { | |
$(el).animate({marginRight: 5 }, 1000 ); |
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
# path: | |
PS1='\[\e[0;33m\]⚡\[\e[m\] \[\e[0;31m\]${PWD##*/}\[\e[m\] ' | |
# general shorcuts | |
alias ll="ls -lahG" | |
alias reload="source ~/.profile" | |
alias up="cd .." | |
alias back="cd -" | |
alias desktop="cd ~/Desktop" | |
alias server="python -m SimpleHTTPServer" |
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
# This 'fixes' running xcodebuild in tmux and requires | |
# `brew install reattach-to-user-namespace` | |
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
set-option -g default-command "reattach-to-user-namespace -l bash" | |
# action key | |
unbind C-b | |
set -g prefix C-Space | |
bind Space send-prefix |
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
set t_Co=16 | |
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle.vim | |
call vundle#begin() | |
Bundle 'gmarik/vundle.vim' |
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
[user] | |
name = [YOUR NAME] | |
email = [YOUR EMAIL - GITHUB] | |
[alias] | |
ci = commit | |
st = status --short --branch -u | |
di = diff | |
co = checkout | |
br = branch | |
b = branch |
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
# if using bash_it | |
# this file should go in ~/.bash_it/aliases/custom.aliases.bash | |
# tree | |
alias tree='tree -I vendor' # show tree without vendor | |
# sublime | |
alias subl='open -a "sublime text"' | |
# bundler |
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
#!/usr/bin/env bash | |
function __ { | |
echo "$@" | |
} | |
function __make_ansi { | |
next=$1 && shift | |
echo "\[\e[$(__$next $@)m\]" | |
} |
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
#!/usr/bin/env bash | |
THEME_PROMPT_HOST='\H' | |
SCM_CHECK=${SCM_CHECK:=true} | |
SCM_THEME_PROMPT_DIRTY=' ✗' | |
SCM_THEME_PROMPT_CLEAN=' ✓' | |
SCM_THEME_PROMPT_PREFIX=' |' | |
SCM_THEME_PROMPT_SUFFIX='|' |
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
source "/Users/joshuabook/.colors.theme.bash" | |
source "/Users/joshuabook/.base.theme.bash" | |
SCM_THEME_PROMPT_DIRTY=" ${red}✗" | |
SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" | |
SCM_THEME_PROMPT_PREFIX=" |" | |
SCM_THEME_PROMPT_SUFFIX="${green}|" | |
GIT_THEME_PROMPT_DIRTY=" ${red}✗" | |
GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" |
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
const App = ({ | |
user, toggleUser, logout, hasSeenOnboarding, loaded, pending, dispatch, playbackFinished | |
}: Props) => { | |
// irrelvant code removed | |
return ( | |
<Provider store={store}> | |
<CercaNavigationContainer> | |
{loaded ? ( |