Skip to content
View MoviesExample.json
{"total":24,"movies":[{"id":"11494","title":"Chain Reaction","year":1996,"mpaa_rating":"PG-13","runtime":106,"release_dates":{"theater":"1996-08-02","dvd":"2001-05-22"},"ratings":{"critics_rating":"Rotten","critics_score":16,"audience_rating":"Spilled","audience_score":27},"synopsis":"","posters":{"thumbnail":"","profile":"","detailed":"","original":""},"abridged_cast":[{"name":"Keanu Reeves","id":"162654049","characters":["Eddie Kasalivich"]},{"name":"Morgan Freeman","id":"162652224","characters":["Paul Shannon"]},{"n
View gist:b8244d02df17be94c6ef


  • Desenvolver uma aplicação em Rails4 (com frontend) no qual o usuário digite uma palavra e a aplicação retorne os significados dela.

  • Caso os significados de uma palavra já existam no banco de dados da aplicação, use-as, caso não, consumir a API e armazenar no banco local.

  • Seguir os padrões W3C para o HTML semântico.

  • Desenvolver frontend usando obrigatoriamente Bootstrap.

View gist:7580780
Please see if /Library/StartupItems/VirtualBox/VirtualBox is there. If yes try
$ sudo Library/StartupItems/VirtualBox/VirtualBox restart
View gist:7202822
convert <UNIT_NAME>: /fs:ntfs
View gist:7064995

How to use a PS3 controller on Mac OS X 10.7 (Lion)

  1. Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.

  2. Reset PS3 controller by inserting paperclip into pinhole near L2 button.

  3. Connect PS3 controller to Mac with USB cable.

  4. Enable Bluetooth.

View gist:6713661
For example, on that link .
Enterprise accounts doesn't requires to know client's UUID.
With enterprise account, just have a HTML pointing to a MANIFEST file that points to IPA.
View gist:6449229
//Snippet to verify internet connection with ios API
-(void)verifyConnection {
Reachability* reachability = [Reachability reachabilityForInternetConnection];
NetworkStatus remoteHostStatus = [reachability currentReachabilityStatus];
if(remoteHostStatus == NotReachable) {
View gist:6414493
$ sudo vim /etc/mysql/my.cnf
#comment out this line (add # in front of the line)
#bind-address =
$ sudo service mysql restart
mysql stop/waiting
mysql start/running, process 13081
View gist:6054063
afconvert -f caff -d LEI16@22050 yourInput.mp3 yourOutput.caf
View gist:6007986
Lista interessante sobre atitudes que podem ajudar a melhorar profissionalmente.
1 - Aprender a falar NÃO
2 - Impor limites as pessoas
3 - Valorizar suas qualidades
4 - Evitar relacionamentos destrutivos
5 - Ter pensamentos positivos
6 - Criar projetos para o futuro
7 - ter um hobby
8 - Cultivar as amizades
Something went wrong with that request. Please try again.