Skip to content

Instantly share code, notes, and snippets.

@cseeman
cseeman / markdown_examples.md
Last active September 13, 2025 20:26
Markdown for info panel/warning box

Examples for how to create your own info panel, warning box and other decent looking notification in GitHub markdown.

All the boxes are single/two cell tables or two row tables.

Warning box

❗ You have to read about this
@willwade
willwade / commands.md
Last active September 13, 2025 20:21
Apple iOS Voice Control commands list. These are the default ones listed in the settings. If you are looking for the Catalina commands Ron Leblanc has compiled a great list (https://www.dropbox.com/s/stacghczr68o8az/Voice%20Control%20Commands.xlsx?dl=0)
@allysonsilva
allysonsilva / Full-Markdown.md
Last active September 13, 2025 20:19
⚡️ Full Markdown Example

Headers

# h1 Heading 8-)
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
@LondheShubham153
LondheShubham153 / git-commands.md
Last active September 13, 2025 20:18
This Gist contains all the useful Git Commands

Git Commands

This Gist contains all the useful commands for Git

Build Status

Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.

If you are a developer and want to keep every version of your code/project (which you would most certainly want to), a Version Control System (VCS) is a very wise thing to use.

  • All the commands used for Git
@stefanocudini
stefanocudini / backup-mate-panel.sh
Created April 23, 2023 12:00
backup restore mate panel launchers
#!/bin/bash
dconf dump /org/mate/panel/ > panel.conf
#restore
#dconf load /org/mate/panel/ < panel.conf
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@mikedamoiseau
mikedamoiseau / backup-db.sh
Last active September 13, 2025 20:09
Script to backup a MySQL database and send the dump by email and/or scp
#!/bin/bash
# ----------------------------------
# DEFINED - Global variables
# ----------------------------------
# defined temporary folder
DBBACKUP="dbbackup"
# database configure
@molarmanful
molarmanful / 0.md
Last active September 13, 2025 20:06
Javascript-golfed Rubik's Cube scramblers.

Javascript-Golfed Rubik's Cube Scramblers

All scramblers here are split into 4 categories (puzzles of all types are welcome):

  1. Random moves
  2. Random moves, basic cancellation (no R' R, U U2, etc.)
  3. Random moves, extensive cancellation (no R L R, U D2 U2, etc.)
  4. Random state

Random moves scramblers for WCA puzzles must generate scrambles of lengths:

  • 2x2: 11
@beeman
beeman / remove-all-from-docker.sh
Created November 15, 2016 03:04
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes
// ==UserScript==
// @name EmuParadise Download Workaround - 1.1.1
// @version 1.1.2
// @description Replaces the download button link with a working one
// @author Eptun
// @match https://www.emuparadise.me/*/*/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @grant none
// ==/UserScript==