Skip to content

Instantly share code, notes, and snippets.

🍪
Eating Cookies

Adem Kouki Ademking

🍪
Eating Cookies
Block or report user

Report or block Ademking

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Translate.php
<?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',
View blue.css
/* 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;
View green.css
/* 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;
View pink.css
/* 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;
View red.css
/* 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;
View yellow.css
/* 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 Jul 20, 2018
💚 Android : Doogee X5 - Send SMS through ADB ( Using UI )
View readme.md

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 Jul 20, 2018
💙 Ionic 3 : Test network connectivity
View readme.md

App.Component.ts

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

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 Jul 20, 2018
💙 Ionic 3 : Image not showen in build --Prod apk .. but working in debug mode.. Solution
View Note.md

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.

You can’t perform that action at this time.