Skip to content

Instantly share code, notes, and snippets.

View raxximus's full-sized avatar
🔮
Focusing

raxximus

🔮
Focusing
  • Earth
  • 03:50 (UTC +05:30)
View GitHub Profile
const apiEndpoint = "https://api.spotify.com/v1";
const authEndpoint = "https://accounts.spotify.com/api/token";
const clientId = "your client id";
const clientSecret = "your client secret";
const method = "album";
const queryParams = `?q=${encodeURIComponent(
"Pink Floyd - The wall" // query here
)}&type=${method}&limit=1`;
const searchUrl = `${apiEndpoint}/search${queryParams}`;
@skoqaq
skoqaq / build4123.sublime4.key
Last active July 20, 2024 14:46
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576
@raxximus
raxximus / Discord Token Login Tool.txt
Created October 13, 2021 05:32
Simple script to login discord account with token
javascript:function login(token) { setInterval(() => { document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` }, 50); setTimeout(() => { location.reload(); }, 2500); } function NEWTOKEN(){ var NEW = prompt("Enter the token to login :)"); return NEW } login(NEWTOKEN())
@sol-prog
sol-prog / RPi-GCC-cross-compiler.md
Last active February 14, 2024 22:07
How to build a cross compiler for Raspberry Pi

Sources:

http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/
https://www.raspberrypi.org/documentation/linux/kernel/building.md


https://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F
https://wiki.osdev.org/GCC_Cross-Compiler
https://wiki.osdev.org/Building_GCC
@NZSmartie
NZSmartie / afunix.h
Last active July 1, 2024 20:30
afunix.h (Windows Insiders SDK for the Windows build 17061)
/*++
Copyright (c) Microsoft Corporation
Module Name:
afunix.h
Abstract:
@jtilly
jtilly / install-gcc-4.9.3.sh
Last active April 11, 2024 07:28
Install GCC 4.9.3
#!/bin/bash
# this script installs GCC 4.9.3
# to use it navigate to your home directory and type:
# sh install-gcc-4.9.3.sh
# download and install gcc 4.9.3
wget https://ftp.gnu.org/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.gz
tar xzf gcc-4.9.3.tar.gz
cd gcc-4.9.3
@zacharyliu
zacharyliu / git-squash.sh
Last active November 4, 2023 02:44
oneliner to squash all commits ahead of origin/master into one commit
git reset --hard `git merge-base --fork-point origin/master` && git merge --squash HEAD@{1} && git commit