Skip to content

Instantly share code, notes, and snippets.

View nawazm92's full-sized avatar
🎯
Focusing on productivity!

Nawaz nawazm92

🎯
Focusing on productivity!
View GitHub Profile
#!/bin/bash
# This will remove Apache
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin
sudo apt remove apache2.*
sudo apt-get autoremove
whereis apache2
sudo rm -rf /etc/apache2
@nawazm92
nawazm92 / push_apns.php
Created October 10, 2017 06:38 — forked from SiriusDely/push_apns.php
Push Notification PHP Script - Apple iOS, Android C2DM, BlackBerry PPG
<?php
// Put your device token here (without spaces):
$deviceToken = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
// Put your private key's passphrase here:
$passphrase = 'xxxxxxx';
// Put your alert message here:
$message = 'A push notification has been sent!';