I love both of you Discord and Spotify, but this new 30 seccond rule gets pretty annoying when my music gets turned off while just talking "to much." I mean talking kind of is the whole point of Discord...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#Python script that send your phone number a text as soon as Black Hat 2019 training goes live using Twilio | |
#The script can be coupled with cronjob that runs every hour or whatever you may see fit | |
from twilio.rest import Client | |
import requests | |
account_sid = '<your Twilio account SID>' | |
auth_token = '<your Twilio authentication token>' | |
client = Client(account_sid, auth_token) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// g++ -lstdc++ -Wno-write-strings fetch.cpp -o fetch | |
#ifdef _WIN32 // Windows | |
#include <winsock2.h> | |
#include <ws2tcpip.h> | |
#define MSG_NOSIGNAL 0 | |
#else // Linux + Mac | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream