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
| ALTER USER user IDENTIFIED BY "1234" ACCOUNT UNLOCK |
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
| git remote -v | |
| git remote rename origin bitbucket | |
| git remote | |
| git remote add origim urlDoRepositorioNoGithub | |
| git remote -v | |
| git push origin master | |
| git remote rm bitbucket | |
| git remote -v | |
| referencia: |
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
| http://www.profissionaisti.com.br/2012/10/tutorial-boot-do-windows-7-atraves-de-um-pen-drive/ |
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
| apt-get install lib32stdc++6. | |
| apt-get install libusb-0.1-4:i386 | |
| sudo apt-get install libgtk2.0-0:i386 | |
| referencias | |
| http://askubuntu.com/questions/74371/how-to-install-32-bit-version-of-libstdc-so-6-on-a-64-bit-machine | |
| http://askubuntu.com/questions/311401/libusb-0-1-so-4-shared-lib-error-in-ubuntu-64-bit-system | |
| http://askubuntu.com/questions/356605/ubuntu-13-10-64-bit-machinarium-error-while-loading-shared-libraries-libgtk-x1 |
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
| cd /etc/udev/rules.d/ | |
| vi 51-android.rules | |
| verificar o VendorIds na lista | |
| http://developer.android.com/tools/device.html#VendorIds | |
| incluir a linha correspondente ao dispositivo que deseja habilitar | |
| SUBSYSTEM=="usb", ATTR{idVendor}=="0x1d57", MODE="0666", GROUP="plugdev" | |
| chmod a+r /etc/udev/rules.d/51-android.rules | |
| sudo service udev restart | |
| sudo adb kill-server | |
| sudo adb start-server |
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
| #!/bin/bash | |
| # http://www.linu.com.br/papers/paper032.html | |
| # http://stackoverflow.com/questions/4169717/why-does-my-applet-get-a-java-security-accesscontrolexception-access-denied-ja | |
| # http://www.griaulebiometrics.com/wiki/index.php/Fingerprint_SDK_2009:FAQ#How_do_I_compile_the_library_for_Java_64_bits_on_Windows.3F | |
| # 1. baixa sample e descompacat (http://www.griaulebiometrics.com/page/pt-br/downloads); | |
| # 2. copia esse script (generate-sample-jar.sh) para raiz do sample e dá permissao de execucao; | |
| # 3. altera variaveis DLLDIR e LICENSEDIR |
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
| http://sejalivre.org/aprenda-a-recuperar-sua-senha-de-root-no-ubuntu-debian-e-linux-mint/ |
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
| select | |
| username, | |
| osuser, | |
| terminal, | |
| utl_inaddr.get_host_address(terminal) IP_ADDRESS | |
| from | |
| v$session | |
| where | |
| username is not null | |
| order by |
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
| referencia: http://www.vivaolinux.com.br/artigo/Modificando-o-TimeZone-2-metodos | |
| # cat /etc/timezone | |
| America/Sao_Paulo | |
| # ls /usr/share/zoneinfo/America/ | |
| # ls /usr/share/zoneinfo/America/ | grep Noronha | |
| Noronha |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |