- To start, run
ionic serve
- To start and see both iOS and Android screens, run
ionic serve -l
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
How to create flutter project with company package. | |
flutter create --org br.com.project_name project_name |
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
** Roteiro Estudo Programação para Iniciantes | |
- Estudar os seguintes comando de condicoes basica, encontrado em todas as linguagens. | |
-- operadores | |
-- entrada e saida do usuario | |
-- condicionais (if,else) | |
-- Loops(for,dowhile,white...) |
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
public class CSVFile { | |
InputStream inputStream; | |
Context context; | |
List resultCSVlist = new ArrayList(); | |
public CSVFile(InputStream inputStream, Context context) { | |
this.inputStream = inputStream; | |
this.context = context; | |
} |
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
<style name="BaseTheme" parent="Theme.AppCompat.Light.NoActionBar"> | |
<item name="colorControlNormal">@color/white</item> | |
//the rest of your codes... | |
</style> |
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
[{ | |
"id": 1, | |
"nome": "Carlos", | |
"telefone": "Jenkins", | |
"email": "[email protected]", | |
"foto": "http://dummyimage.com/197x230.png/dddddd/000000" | |
}, { | |
"id": 2, | |
"nome": "Virginia", | |
"telefone": "Lee", |
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
Erro apresentado: | |
Error:Unable to start the daemon process: could not reserve enough space for object heap. | |
Please assign more memory to Gradle in the project's gradle.properties file. | |
For example, the following line, in the gradle.properties file, sets the maximum Java heap size to 1,024 MB: | |
<em>org.gradle.jvmargs=-Xmx1024m</em> | |
<a href="http://www.gradle.org/docs/current/userguide/build_environment.html">Read Gradle's configuration guide</a><br><a href="http://docs.oracle.com/javase/7/docs/technotes/guides/vm/gc-ergonomics.html">Read about Java's heap size</a> | |
Solução: |
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
Android manager has a graphical interface. Not sure using terminal only for such development is a good idea. | |
Anyways, run with -u (no UI) option : | |
android update sdk -u | |
Accept licenses (y) and install whatever is needed. | |
Add android tools to $PATH: | |
Lets say sdk directory is /home/user/sdk then: |
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
var service = angular.module('inApp'); | |
service.factory('AuthService', function($http,$location,$window) { | |
return { | |
hasToken: function() { | |
// verifica se tem token senao tiver direciona para o login. | |
var token = $window.localStorage.getItem('access_token'); | |
var redirect = '/#'; | |
if(token == null || !token){ |
NewerOlder