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
/* 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: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 / 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(() => {
@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 March 14, 2024 11:02
💚 Android : Send SMS through ADB

(Android 5)

Run :

adb shell service call isms 9 s16 "com.android.mms" s16 "123456789" s16 "null" s16 "MESSAGEBODY" s16 "null" s16 "null"

The method is :

@Ademking
Ademking / readme.md
Last active November 5, 2023 15:48
💚 Android : How to record events and play them using ADB SHELL

1) Know the event name of touchpad :

Run :

adb shell getevent -pl

Search for : "ABS_MT_TRACKING_ID" - example :

@Ademking
Ademking / readme.md
Created July 22, 2018 01:55
💙 Ionic 3 : Add custom HTML Tag to your app - Solution

To use custom tags (in my example A-frame) :

<a-scene>
      <a-sky src="https://i.imgur.com/dneNDgI.jpg" rotation="0 -20 0"></a-sky>
    </a-scene>

in your app.module.ts :