alt+shift+ENTER: opens terminal
alt+SPACE: change layout
alt+K, alt+J: change window focus
alt+H, alt+L: decreases/increases border size between windows
alt+shift+C: close focused window
alt+ENTER: move focused window to the master pane on the left
alt+shift+Q: log out
alt+Q: reload xmonad configurations
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
#A Hello World in assembly language - linux x86 - by Vivek-Ramachandran | |
#compile it with the commands bellow: | |
# | |
# as -o HelloWorld.o HelloWorld.s | |
# ld -o HelloWorld HelloWorld.o | |
.data | |
HelloWorld: | |
.ascii "Hello world!\n" |
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
//First commit any outstanding code changes, and then, run this command: | |
git rm -r --cached . | |
//This removes any changed files from the index(staging area), then just run: | |
git add . | |
//Commit | |
git commit -m "Atualizando .gitignore para..." |
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
Take a look at Paul Irish "dotfiles": | |
https://github.com/paulirish/dotfiles | |
and other users dotfiles | |
http://dotfiles.github.io/ | |
###Z DIRECTORY JUMPER: | |
https://github.com/rupa/z/wiki | |
Copy z.sh into any directory and append this to your ~/.bashrc file: |
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
npm install -g express-generator | |
express --ejs <project-name> | |
cd <project-name> && npm install |
https://help.github.com/articles/caching-your-github-password-in-git/
In Terminal, enter the following:
git config --global credential.helper cache
To change the default password cache timeout, enter the following:
git config --global credential.helper 'cache --timeout=3600'
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
Installing android sdk on ubuntu with emulator: | |
http://askubuntu.com/questions/318246/complete-installation-guide-for-android-sdk-adt-bundle-on-ubuntu | |
http://stackoverflow.com/questions/13488419/unable-to-create-android-virtual-device | |
https://software.intel.com/en-us/android/articles/speeding-up-the-android-emulator-on-intel-architecture | |
Se ao seguir o tutorial do link acima e der erro de Qt, copie a lib como abaixo: | |
cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so ~/Android/Sdk/tools/lib64/qt/plugins/platforms | |
Rodando o emulador: |
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
sudo gem install cocoapods | |
pod setup --verbose |
npm install swagger-jdsoc --save-dev
FROM ANNOTATTION TO DOCS var swaggerJSDoc = require('swagger-jsdoc'); // swagger definition var swaggerDefinition = { info: { title: 'Node Swagger API', version: '1.0.0', description: 'Demonstrating how to describe a RESTful API with Swagger',
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
https://github.com/DefinitelyTyped/tsd/issues/269 | |
//esse comando atualiza as antigas dependências/referêndias do TSD para o novo typings | |
typings init --upgrade |
OlderNewer