I hereby claim:
- I am sookcha on github.
- I am sookcha (https://keybase.io/sookcha) on keybase.
- I have a public key ASDNt_m5SgWpHKznQE6newLVs9JhTBUDK4S1K8ijt3ndbAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import calendar | |
import datetime | |
from random import randint | |
today = datetime.date.today() | |
first_and_last_day = calendar.monthrange(today.year, today.month) | |
determined_date = randint(first_and_last_day[0], first_and_last_day[1]) | |
print(determined_date) |
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
DATE=`date +%Y-%m-%d` | |
pmset -g log | grep -e Wake | grep $DATE |
# OBJS specifies which files to compile as part of the project | |
OBJS = vcl.cpp | |
# CC specifies which compiler we're using | |
CC = g++ | |
# INCLUDE_PATHS specifies the additional include paths we'll need | |
INCLUDE_PATHS = -I/usr/local/Cellar/include -I/opt/X11/include | |
# LIBRARY_PATHS specifies the additional library paths we'll need |
<?php | |
$deviceToken = 'YOUR DEVICE TOKEN'; // Device Token ID | |
$message = $_GET['url']; // Message | |
// Development | |
$apnsHost = 'gateway.sandbox.push.apple.com'; | |
$apnsCert = 'apns-dev.pem'; | |
// Production | |
//$apnsHost = 'gateway.push.apple.com'; |