(Also see [remarkable][], the markdown parser created by the author of this cheatsheet)
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Chat</title> | |
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'> | |
<link href="style.css" rel="stylesheet" type="text/css"> | |
<script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.19/tmi.js"></script> <!--For developement--> | |
<!--<script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.19/tmi.min.js"></script>--> <!--For "production"--> | |
</head> |
write-host "`n ## NODEJS INSTALLER ## `n" | |
### CONFIGURATION | |
# nodejs | |
$version = "4.4.7-x64" | |
$url = "https://nodejs.org/dist/latest-v4.x/node-v$version.msi" | |
# git | |
$git_version = "2.9.2" |
Pokémon 3DS Title List | |
========================================================================== | |
ALL REGIONS | |
MAIN GAMES | |
0004000000055D00 Pokémon X [EKJA] | |
0004000000055E00 Pokémon Y [EK2A] | |
000400000011C400 Pokémon Omega Ruby [ECRA] | |
000400000011C500 Pokémon Alpha Sapphire [ECLA] | |
0004000000164800 Pokémon Sun [BNDA] |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
Note: This gist may be outdated, thanks to all contributors in comments.
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
// ==UserScript== | |
// @name Youtube Still Watching | |
// @namespace https:github.com/cconard96 | |
// @version 1.0.0 | |
// @description Yes I'm still watching/listening. Updates the last activity variable to the current timestamp every 5 seconds to prevent those "Still watching?" popups that YouTube shows while watching some types of videos (music mainly). | |
// @author Curtis Conard | |
// @match *://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name More volume steps on youtube music | |
// @version 1.0.5 | |
// @author Emma | |
// @license WTFPL; do with this whatever you want | |
// @namespace https://github.com/KiitoX | |
// @updateURL https://gist.githubusercontent.com/KiitoX/38f8e4c1375939848a79cfa756fa32ef/raw/youtubemusicvolume.js | |
// @match https://music.youtube.com/* | |
// @grant none | |
// @run-at document-end |
Updated 2023-12-11: Hosts calculation updated to support CIDR or 31 and 32.
Prerequisites:
- A1 contains an IP address, such as 10.0.0.2
- B1 contains the number of bits in the netmask (CIDR) such as 24
The below formulas then go into C1, D1 etc. to perform the various calculations. Some calculations depends on other calculations.
function randomUUID() { | |
return randhex(8) + "-" + randhex(4) + "-4" + randhex(3) + "-" + choice(["8", "9", "a", "b"]) + randhex(3) + "-" + randhex(12); | |
} | |
let scratchTarr = new Uint32Array(1); | |
function choice(arr) { | |
crypto.getRandomValues(scratchTarr); | |
return arr[Math.floor(scratchTarr[0]%arr.length)] | |
} | |
function randhex(count) { | |
crypto.getRandomValues(scratchTarr); |