Skip to content

Instantly share code, notes, and snippets.

View SX-9's full-sized avatar

Satr14 SX-9

View GitHub Profile
@advaith1
advaith1 / nitro.md
Created May 4, 2023 01:06
Discord Nitro Subscription Links
@chponte
chponte / gnu-toolchain.md
Last active August 3, 2024 00:44
Building a complete GNU toolchain, comprised of binutils + gcc + glibc
@ppoffice
ppoffice / README.md
Last active November 5, 2024 04:13
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@Rexagon
Rexagon / minecraft.sh
Created September 14, 2019 16:25
Running minecraft without launcher
# minecraft root directory
MC_DIR=~/.minecraft
# Game location
GAME_DIR=$MC_DIR/profile
# Assets location
ASSETS_DIR=$MC_DIR/assets
# Version to use
@dragonwocky
dragonwocky / discord-webhook.js
Last active November 15, 2024 08:02
js post request example for discord webhooks using the fetch web api
// node.js versions pre-v0.18.0 do not support the fetch api and require a polyfill
// const fetch = require('node-fetch');
fetch(
'https://discordapp.com/api/webhooks/738983040323289120/mzhXrZz0hqOuUaPUjB_RBTE8XJUFLe8fe9mgeJjQCaxjHX14c3SW3ZR199_CDEI-xT56',
{
method: 'post',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
@massahud
massahud / Portable Node.js andNPM on windows.md
Last active November 7, 2024 12:45
Portable Node.js and NPM on windows
  1. Get node binary (node.exe) from http://nodejs.org/download/
  2. Create the folder where node will reside and move node.exe to it
  3. Download the last zip version of npm from http://nodejs.org/dist/npm
  4. Unpack the zip inside the node folder
  5. Download the last tgz version of npm from http://nodejs.org/dist/npm
  6. Open the tgz file and unpack only the file bin/npm (without extension) directly on the node folder.
  7. Add the the node folder and the packages/bin folder to PATH
  8. On a command prompt execute npm install -g npm to update npm to the latest version

Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.

@tylerthebuildor
tylerthebuildor / JSKeyCodes
Created December 17, 2013 19:58
List of JavaScript key codes.
backspace 8
tab 9
enter 13
shift 16
ctrl 17
alt 18
pause/break 19
caps lock 20
escape 27
page up 33