Skip to content

Instantly share code, notes, and snippets.

View darkwater4213's full-sized avatar

Yorukawa Seika darkwater4213

View GitHub Profile
@mickeydarrenlau
mickeydarrenlau / Spotify Media Controls.md
Last active February 23, 2024 08:19
My Spotify Widget
exempt cssclasses
dv.span('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" fill="currentColor" width="16px" height="16px"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d="M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10
darkwater4213@home ~ $ git gud
git gud at https://git-scm.com/docs/
darkwater4213@home ~ $ git gud help
git gud with
git gud [--install] [--auto-open] [-s source|-l local-source] [-t type]
source: [git|pro-git|...]
type: [epub|pdf|mobi|html|zip|md|txt|rtf|...]
git gud at git gud with
@Nebu-Soku
Nebu-Soku / readme.txt
Created July 28, 2021 02:30
Two Worlds (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@galactical1100
galactical1100 / readme.txt
Created May 18, 2021 01:24
At the Hedges of Time (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@Nebu-Soku
Nebu-Soku / readme.txt
Created March 17, 2021 09:25
Shall We Golf? (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@epiccakeking
epiccakeking / aopsdeupdater.user.js
Last active May 24, 2020 01:10
AoPS De-updater: Bring back old hides and quotes AoPS!
// ==UserScript==
// @name AoPS De-updater
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author hapycupcake
// @match https://artofproblemsolving.com/*
// @grant none
// ==/UserScript==
@nikhiljha
nikhiljha / aops.user.js
Created October 4, 2016 02:16
AoPS Downloader
// ==UserScript==
// @name AoPS Downloader
// @namespace http://www.artofproblemsolving.com/
// @version 0.0.1
// @description Download the AoPS WOOT (or other classes) transcripts!
// @author Nikhil Jha
// @match http://www.artofproblemsolving.com/class/*/transcript/*
// @grant none
// ==/UserScript==
@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger ([email protected])
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@Watson1978
Watson1978 / github-flavored-markdown.rb
Created April 10, 2012 01:11
GitHub Flavored Markdown parser
#!/usr/local/bin/ruby
# To parse GitHub Flavored Markdown
#
# Setup
# $ sudo easy_install pygments
# $ sudo gem install pygments.rb
# $ sudo gem install redcarpet
require 'redcarpet'
require 'pathname'
@nowl
nowl / perlin.c
Created February 15, 2011 19:04
Perlin Noise in C
#include <stdio.h>
static int SEED = 0;
static int hash[] = {208,34,231,213,32,248,233,56,161,78,24,140,71,48,140,254,245,255,247,247,40,
185,248,251,245,28,124,204,204,76,36,1,107,28,234,163,202,224,245,128,167,204,
9,92,217,54,239,174,173,102,193,189,190,121,100,108,167,44,43,77,180,204,8,81,
70,223,11,38,24,254,210,210,177,32,81,195,243,125,8,169,112,32,97,53,195,13,
203,9,47,104,125,117,114,124,165,203,181,235,193,206,70,180,174,0,167,181,41,
164,30,116,127,198,245,146,87,224,149,206,57,4,192,210,65,210,129,240,178,105,