Skip to content

Instantly share code, notes, and snippets.

@cloud11665
cloud11665 / settings.jsonc
Last active January 28, 2021 12:39
Vscode config
/**Installed extensions:
* - Python by Microsoft
* - Jupyter by Microsoft
* - Jinja by wholroyd
* - C/C++ Compile Run by danielpinto8zz6
*
* - Pylance by Microsoft
* - Python postfix completion by filwaline
* - CSS Formatter by Martin Aeschlimann
* - XML Tools by Josh Johnson
@cloud11665
cloud11665 / print.hpp
Created May 7, 2021 14:50
python print in c++
#pragma once
#include <iostream>
#include <string>
#include <tuple>
#include <initializer_list>
#include <type_traits>
#include <vector>
#include <typeinfo>
#include <typeindex>
@cloud11665
cloud11665 / pathsplit.c
Created January 5, 2022 16:53
terminalforlife video response
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void) {
char *env = getenv("PATH");
int cnt = 1, i = 0;
// just a fancy way of counting the number of ':' characters in a string.
// we start off with the char pointer `p`, pointing to the beggining of `env`
// and we do the third part of the for loop (cnt+=*p++==':'), for as long as

cloud's unofficial SoundCloud API documentation

THIS DOCUMENT WAS LAST UPDATED ON 01-07-2022.

This document goes over both the private parts of the API as well as some undocumented quirks of the public facing one. Read the SoundCloud API docs and visit the OpenAPI explorer for full public endpoint documentation.

Please try the endpoints for yourself in your favourite request client for more information.

Prerequisites:

  • Language
from pwn import *
from concurrent.futures import ThreadPoolExecutor
def run(i):
r = remote("mc.ax", 30376, level='error')
r.recv()
for k in bin(i)[2:].zfill(15):
r.recv()
r.send(b"n\n") if k == '0' else r.send(b"y\n")
r.send(b"y\n")
// ==UserScript==
// @name Intel Intrinsics Guide - Instruction Width Filter
// @version 1.0
// @description Add filters to the Intel Intrinsics Guide
// @author cloud11665
// @homepage https://twitter.com/cloud11665
// @match https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html
// @grant GM_addStyle
// ==/UserScript==