ionic start login blank
cd login
ionic g provider authService
ionic g page register
ionic g page login
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
<?php | |
$excel = new \PHPExcel(); | |
$sheet = $excel->getActiveSheet(); | |
$sheet->getCell('A1')->setValue('test'); | |
$style = new \PHPExcel_Style(); | |
$style | |
->getFill() | |
->setStartColor(new \PHPExcel_Style_Color(\PHPExcel_Style_Color::COLOR_RED)) |
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
import retrofit2.Retrofit; | |
import retrofit2.converter.gson.GsonConverterFactory; | |
public class ApiClient { | |
private static final String BASE_URL = "http://your-domain-name.000webhostapp.com/"; | |
private static Retrofit retrofit; | |
public static Retrofit getApiClient() { |
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
package com.ssaurel.splashscreen; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.support.annotation.Nullable; | |
import android.support.v7.app.AppCompatActivity; | |
/** | |
* Created by ssaurel on 02/12/2016. | |
*/ |
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
import java.util.Timer; | |
import java.util.TimerTask; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.util.DisplayMetrics; | |
import android.util.Log; | |
import android.widget.Toast; |