- wget -qO- https://get.docker.com/ | sh
- sudo docker run ubuntu:14.04
- sudo docker images
| $('.md img').each( | |
| function(i){ | |
| img = $(this); | |
| $('#locations-carousel .carousel-inner').append( | |
| '<div class="item">' + img.html() + '</div>'); | |
| //img.remove(); | |
| } | |
| ) | |
| bundle | |
| ------ | |
| bundle update | |
| bundle show GEM_NAME | |
| bundle exec .... | |
| rake | |
| ---- |
| instalar xcode o las dev-tools (muucho mas chico) | |
| instalar un editor como Texmate o Sublime2 | |
| instalar brew | |
| brew install bash-completion | |
| brew install git | |
| instalar ruby (con RVM o rbenv) | |
| brew install mysql postgresql | |
| brew install imagemagick |
| GIT_PS1_SHOWDIRTYSTATE=true | |
| PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' | |
| export PATH=/usr/local/sbin:/usr/local/bin:$PATH:$HOME/bin:`npm bin` | |
| export PATH=/usr/local/php5/bin:$PATH | |
| export PATH="$HOME/.rbenv/bin:$PATH" | |
| export EDITOR='mate -w' | |
| export GIT_EDITOR='mate -wl1' | |
| export LESSEDIT='mate -l %lm %f' | |
| export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r18 |
| fontSize = 20 | |
| excludeInFileChooser = "{$excludeInFileChooser,log,tmp,META-INF,.svn}" | |
| excludeInBrowser = "{$excludeInBrowser,log,vendor,tmp,META-INF,.svn,.git}" | |
| excludeInFolderSearch = "{$excludeInFolderSearch,log,public/system,public/uploads,tmp,META-INF,.svn,.git}" | |
| TM_RUBY = "$HOME/.rbenv/shims/ruby" | |
| PATH = "$HOME/.rbenv/bin:$PATH:/usr/local/bin:/Users/cristian/node_modules/.bin" |
| [core] | |
| excludesfile = /Users/cristian/.gitignore | |
| editor = vim | |
| [alias] | |
| st = status | |
| ci = commit | |
| co = checkout | |
| br = branch | |
| [user] | |
| name = Cristian Molina |
| brew install s3cmd | |
| s3cmd --configure | |
| s3cmd --dry-run --recursive sync newsan-s3 s3://newsan-staging/ | |
| s3cmd --recursive sync newsan-s3 s3://newsan-staging/ | |
| s3cmd info s3://newsaniptv/ | |
| s3cmd --recursive setacl --acl-public s3://newsaniptv |
| /home/megatux/.asdf/installs/ruby/2.5.1/lib/: | |
| total 60504 | |
| -rw-r--r-- 1 megatux megatux 61947304 sep 23 23:37 libruby-static.a | |
| drwxr-xr-x 2 megatux megatux 4096 sep 23 23:39 pkgconfig | |
| drwxr-xr-x 6 megatux megatux 4096 sep 23 23:39 ruby | |
| /home/megatux/.asdf/installs/ruby/2.5.1/lib/pkgconfig: | |
| total 4 | |
| -rw-r--r-- 1 megatux megatux 1945 sep 23 23:36 ruby-2.5.pc |