Skip to content

Instantly share code, notes, and snippets.

View nncl's full-sized avatar

Cauê Almeida nncl

View GitHub Profile
@nncl
nncl / Android-Config.md
Last active April 27, 2016 11:48
Configuring Ionic enviroment on Windows platform

Android Config for Windows

Configuração de ambiente Node e Ionic em Windows.

  • Instale o Node - versão .msi
  • Instale o SDK do android - versão .exe
  • Abra o Android SDK Manager e instale os pacotes e tools de sua preferência
  • Instale a JDK
  • Instale o GenyMotion ou qualquer outro emulador de sua preferência
  • Rode ionic build android
@nncl
nncl / Killing MAC OS X Apps.md
Created April 15, 2016 18:24
Killing MAC OS X Apps

Killing MAC OS Applications by name from terminal.

Examples:

killall Pages
killall Safari
killall <app-name>
@nncl
nncl / Laravel Stuff.md
Created April 1, 2016 16:32
Laravel commands to create stuff

Laravel Stuff

  • Create a new Controller:
php artisan make:controller AdministradorController
@nncl
nncl / Android-SplashScreen.md
Last active March 18, 2016 19:00
Fix splashscreen on android

First of all, remove the current cordova splash screen plugin version from your app:

cordova plugin remove cordova-plugin-splashscreen

And then add the version 2:

cordova plugin add cordova-plugin-splashscreen@2.0
@nncl
nncl / Firefox Hacks.md
Last active February 26, 2016 13:37
Firefox Hacks

Firefox Hacks

More here - I and here - II.

/* Remove button padding in FF */
button::-moz-focus-inner {
    border:0;
    padding:0;
}
@nncl
nncl / Sync repo.md
Last active March 8, 2016 14:07
Syncing remote repo

To get your local repo exactly like remote one:

$ git reset --hard origin/master

$ git reset --hard HEAD
$ git pull ...

Obs: master is the branch's name you want to sync.

@nncl
nncl / Ionic: run android.md
Last active February 27, 2016 21:35
Ionic: run android

More info here

Android Home should be the root folder of SDK.

export ANDROID_HOME="$HOME/android-sdk-linux"

EDIT: Open terminal and type these commands. (yes, on a ternimal , not in bashrc file)

chmod 777 cache -R