Skip to content

Instantly share code, notes, and snippets.

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" ],
# Advent of Code template by @MathisHammel
# TODO
# - Make a snapshot of the file when a submission is correct
# - Display the rank when submission is accepted
# - Utility function to rotate/flip a 2D array
# - Cycle length detector/extrapolator to make loops faster
# - Put examples in cache
# - Warning if DAY is not the current day
@Gen2ly
Gen2ly / ghsync-gist
Created June 7, 2012 11:56
Create a github gist repository for sharing scripts/configs on blog
#!/bin/bash
# Create a github gist repository for sharing scripts/configs on blog
# Base directory, repository parent directory
base_dir=""$HOME"/"
repo_par=""$HOME"/.github-gist/"
# File list (File list order must match repository order)
files=('/home/todd/.scripts/others/ghsync-script'
'/home/todd/.scripts/vault/unity-effects'
/*
* Copyright 2025 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@brianjbayer
brianjbayer / gist-selenium-chrome-disable-save-popups.md
Last active November 30, 2025 10:29
How to disable the Chrome Controlled by automation banner and those Save address?, Save card?, and Save Password? pop up windows in Selenium Webdriver

Disabling Selenium Chrome Automation Banner, Save address?, Save card?, Save password?, and Change your password Pop-Ups

Pencil Sharpener - Wendy Bayer

Image: Pencil Sharpener by Wendy Bayer


This shows you how to disable those Chrome Save address?, Save card?, Save Password?, and Change your password pop-up windows in

@extratone
extratone / DraftTemplates.csv
Created September 8, 2022 11:09
Updated table of my templates for new drafts.
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
uuid,created_at,created_longitude,created_latitude,modified_at,modified_longitude,modified_latitude,accessed_at,content,tags,folder,flagged,languageGrammar
"07851DAD-4E66-4298-8026-5F22DA52E23A",2022-05-11T08:44:13Z,-92.38785951961397,38.93399170392472,2022-09-08T08:07:21Z,-92.38798884673508,38.934034286813294,2022-09-08T10:51:15Z,"# Actions Template %|
Updated `[[date|%m%d%Y-%H%M%S]]`
- [**Drafts Directory**](https://directory.getdrafts.com/)
- [GitHub Issue](https://github.com/extratone/drafts/issues/74)
- [**Gist**](https://gist.github.com/8e70d1c53bbf9daa5eb36e697bafa6ac)
- [Repo File](https://github.com/extratone/drafts/blob/main/actions/ActionsTemplate.md)
- [Things](things:///show?id=VCpcBZmMmbmyFaY4XuSzy8)
- [Simplenote Local](simplenote://note/70f69966c6994b4f9464950d34a8fdb9)
@ctrlMarcio
ctrlMarcio / arc-whatsapp-sidebar.js
Last active November 30, 2025 10:23
⚠️ DEPRECATED FOR BOOSTS V2 ⚠️ Boost for Arc Browser (https://arc.net/) based on this tweet: https://twitter.com/adithyashreshti/status/1579896377366044672
const HALF_OPEN_WIDTH = 80
// this value starts as -1
// and is updated when the sidebar is updated the first time
// this is the width to which the sidebar will resize when it is fully open
let SIDEBAR_WIDTH = -1
// state enumerator, can only be closed, half-closed, and open
const state = {
closed: 0,
halfClosed: 1,
@oddlyspaced
oddlyspaced / arch-install-mysql-workbench
Created February 28, 2021 14:40
Step by step guide to properly install MySQL Server and MySQL-Workbench on Arch Linux and other based distributions like Manjaro etc.
# Part 0 - Updating system
sudo pacman -Syyu
# Part 1 - Installing software dependencies
sudo pacman -S git gnome-keyring
# Part 2 - Compile and Install MySQL Server
# (This might take like ~4 hours since it's compiling the source)
git clone https://aur.archlinux.org/mysql.git
cd mysql
@tjumyk
tjumyk / Ubuntu_24.04_Install_Sogou_Pinyin.md
Last active November 30, 2025 10:11
Ubuntu 24.04 Install Sogou Pinyin
  • Remove ibus
sudo apt purge ibus
sudo apt autoremove
  • Install Sogou Pinyin and dependencies
# Download deb installer from https://shurufa.sogou.com/linux
sudo dpkg -i <sogou_xxx.deb>
sudo apt install -f