Skip to content

Instantly share code, notes, and snippets.

View Ademking's full-sized avatar
🍪
Eating Cookies

Adem Kouki Ademking

🍪
Eating Cookies
View GitHub Profile
<?php
/// Translate the value ... not the key
/// Example : 'Title' => "your text here"
/// Thanks ♥
return [
'Title' => "Welcome To 10Stars",
'Description' => "Find out your rating, or rate someone you know.",
'Create_Account' => 'Create Account',
'Sign_in' => 'Sign in',
/* Blue Theme by AdemKouki */
@import url('https://fonts.googleapis.com/css?family=Cairo');
.theme--day .header-bar {
background-color: #084bf3;
}
.header-avatar, .info , .menu, #share_button{
display: none;
/* Green Theme by AdemKouki */
@import url('https://fonts.googleapis.com/css?family=Cairo');
.theme--day .header-bar {
background-color: #0ba325;
}
.header-avatar, .info , .menu, #share_button{
display: none;
/* Pink Theme by AdemKouki */
@import url('https://fonts.googleapis.com/css?family=Cairo');
.theme--day .header-bar {
background-color: #f82487;
}
.header-avatar, .info , .menu, #share_button{
display: none;
/* Red Theme by AdemKouki */
@import url('https://fonts.googleapis.com/css?family=Cairo');
.theme--day .header-bar {
background-color: #f30808;
}
.header-avatar, .info , .menu, #share_button{
display: none;
/* Yellow Theme by AdemKouki */
@import url('https://fonts.googleapis.com/css?family=Cairo');
.theme--day .header-bar {
background-color: #f3bc08;
}
.header-avatar, .info , .menu, #share_button{
display: none;
@Ademking
Ademking / readme.md
Last active July 20, 2018 03:09
💚 Android : Doogee X5 - Send SMS through ADB ( Using UI )

1. replace sms number and sms body -> run :

adb shell am start -a android.intent.action.SENDTO -d sms:2000000 --es  sms_body "Message" --ez exit_on_sent false

2. Fake Tap event (X = 631 , Y = 1215)

adb shell input tap 631 1215
@Ademking
Ademking / readme.md
Last active July 20, 2018 03:10
💙 Ionic 3 : Test network connectivity

App.Component.ts

export class MyApp {
  constructor (
    private network: Network,
    private platform: Platform,
    private alertCtrl: AlertController,
  ) {
 platform.ready().then(() =&gt; {
@Ademking
Ademking / readme.md
Last active July 20, 2018 03:10
💙 Ionic 3 : How to make welcome page with Storage

app.component.ts

import { Component } from '@angular/core';
import { Platform } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';

import { Storage } from '@ionic/storage';
import { LoadingController } from 'ionic-angular';
@Ademking
Ademking / Note.md
Last active July 20, 2018 03:11
💙 Ionic 3 : Image not showen in build --Prod apk .. but working in debug mode.. Solution

When addressing images from your .ts files, use ../assets relative path because we have to get out of the build directory first. When addressing the image from your .html files, use assets relative path, because in the final apk file all htmls are merged into one single file called index.html which is placed next to the assets directory and there is no need to go up one level before reaching assets.