Skip to content

Instantly share code, notes, and snippets.

@xputerax
xputerax / cheatsheet.yml
Created June 8, 2019 09:45
YAML cheat sheet
# YAML cheat sheet
# Reference: https://www.youtube.com/watch?v=cdLNKUoMc6c
# object
person:
# string value. single/double quotes
# anchoring
name: &name "daniel" # anchor name doesn't have to be the same as key name
occupation: 'student'
@peruihkxt
peruihkxt / Admiral-AntiAdblock-Killer.user.js
Last active January 7, 2023 01:51
Kills the Admiral anti adblock nonsense. Just click on the *Raw* button to install the script into Tampermonkey.
// ==UserScript==
// @name Admiral AntiAdblock Killer
// @version 0.2
// @description
// @author JeremyLee
// @match https://*/*
// @match http://*/*
// @grant none
// @updateURL https://gist.github.com/JeremyLee/2f7ffe2c7ef6576de36795dadaa2a535/raw/Admiral-AntiAdblock-Killer.user.js
// ==/UserScript==
@blackcater
blackcater / diagrams.md
Created July 6, 2018 16:45
Markdown Diagrams

Diagrams

Markdown Preview Enhanced supports rendering flow charts, sequence diagrams, mermaid, PlantUML, WaveDrom, GraphViz, Vega & Vega-lite, Ditaa diagrams. You can also render TikZ, Python Matplotlib, Plotly and all sorts of other graphs and diagrams by using Code Chunk.

Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.

Flow Charts

This feature is powered by flowchart.js.

@Jessime
Jessime / Baseline.ipynb
Created May 17, 2017 02:17
Template for monthly notebooks
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 17, 2025 11:51
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

# data from http://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/population-distribution-demography/geostat
# Originally seen at http://spatial.ly/2014/08/population-lines/
# So, this blew up on both Reddit and Twitter. Two bugs fixed (southern Spain was a mess,
# and some countries where missing -- measure twice, submit once, damnit), and two silly superflous lines removed after
# @hadleywickham pointed that out. Also, switched from geom_segment to geom_line.
# The result of the code below can be seen at http://imgur.com/ob8c8ph
library(tidyverse)
@fancellu
fancellu / .block
Last active February 8, 2025 21:03
Force directed graph for D3.js v4 with labelled edges and arrows
license: gpl-3.0
height: 600
@db93n2
db93n2 / google search time range.ahk
Last active April 2, 2023 04:05
(autohotkey) - switch between the various time ranges (hour, day, week, month, year) 🔎
#if WinActive("ahk_class Chrome_WidgetWin_1", , "ahk_class #32770")
or WinActive("ahk_class MozillaWindowClass", , "ahk_class #32770")
^+l::goSub, google_time_range
#if
google_time_range:
@db93n2
db93n2 / my gists - autohotkey.md
Last active May 7, 2025 08:34
my autohotkey gists
@errorseven
errorseven / ClipQueue.ahk
Created August 27, 2016 18:44
Clipboard Queue - Keep multiple clipboards at the ready or paste them in a sequential order!
/*
___ _ _ ____
/ __\ (_)_ __ /___ \_ _ ___ _ _ ___
/ / | | | '_ \ // / / | | |/ _ \ | | |/ _ \
/ /___| | | |_) / \_/ /| |_| | __/ |_| | __/
\____/|_|_| .__/\___,_\ \__,_|\___|\__,_|\___|
|_|coded by errorseven @ 8/26/2016
Usage: