Skip to content

Instantly share code, notes, and snippets.

View Durss's full-sized avatar

François Dursus Durss

View GitHub Profile
@Durss
Durss / streamlabs_charity.md
Last active September 25, 2024 12:01
Undocumented Streamlabs Charity endpoints

Undocumented Streamlabs Charity endpoints

Get details about a team

https://streamlabscharity.com/api/v1/teams/@{TEAM-NAME}/{CAMPAIGN-NAME}
ℹ️ it allows to retreive the {TEAM_ID} necessary for next endpoints

Get all members of a team

https://streamlabscharity.com/api/v1/teams/{TEAM_ID}/members?page=1

See data format
@Durss
Durss / TouchDetector.ts
Last active September 21, 2024 15:20
Simple Touch sequence detector
export default class TouchDetector {
private startPos = {x:0, y:0};
private endPos = {x:0, y:0};
private sequence = [];
//0=Right 1=Down 2=Left 3=Top
private watchedSequence = [3,3,1,1,2,0,2,0];//Konami
constructor() {
super();
@Durss
Durss / Phone prefix and length by country
Last active June 27, 2017 14:06
This is a sort of merge of this JSON https://gist.github.com/Goles/3196253 and a crawl of this website http://www.wtng.info/wtng-cod.html. It will only contain countries that have been found on wtng from a simple crawl by country ID
{
"AG": {
"prefix": "+1268",
"len": 7,
"name": "Antigua and Barbuda"
},
"CV": {
"prefix": "+238",
"len": 7,
"name": "Cape Verde"