./pagekit start --server=127.0.0.1:8080ref. PageKit Source- To watch for local LESS asset changes, run
gulp watch. - To watch for JS module changes, run
webpack --watch. - To translate application
php pagekit translation:fetch.
- Composer
- npm
| cd /home/henrique/ | |
| sudo apt-get install unzip | |
| wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip | |
| unzip sdk-tools-linux-4333796.zip -d Android | |
| rm sdk-tools-linux-4333796.zip | |
| apt install openjdk-8-jre-headless | |
| export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 | |
| export PATH=$PATH:$JAVA_HOME/bin | |
| printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc | |
| cd Android/tools/bin |
| var options =["teste1","teste2","teste3","teste4"]; | |
| <Picker | |
| mode="dropdown" | |
| selectedValue={this.state.selected} | |
| onValueChange={()=>{}}> | |
| {options.map((item, index) => { | |
| return (<Picker.Item label={item} value={index} key={index}/>) | |
| })} | |
| </Picker> |
| #built application files | |
| *.apk | |
| *.ap_ | |
| # files for the dex VM | |
| *.dex | |
| # Java class files | |
| *.class |
| package com.mastertheboss.rest; | |
| import java.io.File; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.util.List; | |
| import java.util.Map; | |
| import javax.ws.rs.*; |
./pagekit start --server=127.0.0.1:8080 ref. PageKit Sourcegulp watch.webpack --watch.php pagekit translation:fetch.| import Config from '../Config/DebugConfig' | |
| import Immutable from 'seamless-immutable' | |
| import Reactotron from 'reactotron-react-native' | |
| import { reactotronRedux } from 'reactotron-redux' | |
| import sagaPlugin from 'reactotron-redux-saga' | |
| var store; | |
| if (Config.useReactotron) { | |
| Reactotron |
| // Reference: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/ | |
| $ git add . | |
| $ git status // to see what changes are going to be commited | |
| $ git commit -m 'Some descriptive commit message' | |
| $ git push origin master | |
| $ git checkout gh-pages // go to the gh-pages branch | |
| $ git rebase master // bring gh-pages up to date with master | |
| $ git push origin gh-pages // commit the changes |
| import UIKit | |
| import Kingfisher | |
| //DEFINE A ESTRUTURA DA NOTICIA | |
| struct Noticia : Decodable { | |
| var noticias_id : String | |
| var cidade : String | |
| var titulo : String |
| <?php | |
| $start = new DateTime('-7 days', new DateTimeZone('UTC')); | |
| $period = new DatePeriod($start, new DateInterval('P1D'), 7); | |
| foreach ($period as $date) { | |
| echo $date->format('D d-m-Y').'<br>'; | |
| } |