Skip to content

Instantly share code, notes, and snippets.


Oussama abdallah oussaki

View GitHub Profile
oussaki /
Last active Oct 24, 2017
Git Cheat Sheet

Push an existing repository

$ git remote add origin
$ git push -u origin master]

Go one step back in history

git checkout @~1
View push_IOS_WP.php
// Server file
class PushNotifications {
// (Android)API access key from Google API's Console.
private static $API_ACCESS_KEY = 'AIzaSyDG3fYAj1uW7VB-wejaMJyJXiO5JagAsYI';
// (iOS) Private key's passphrase.
private static $passphrase = 'joashp';
// (Windows Phone 8) The name of our push channel.
private static $channelName = "joashp";
View push.php
<?php session_start();
$connect = mysql_connect( "localhost", '******', "******");
$url = '';
$headers = array(
'Authorization: key=' . '******',
You can’t perform that action at this time.