Skip to content

Instantly share code, notes, and snippets.

@Gargron
Gargron / map.gdf
Created January 30, 2018 21:28
Map of the fediverse
This file has been truncated, but you can view the full file.
nodedef>name VARCHAR,label VARCHAR
1,social.touha.me
2,gs.jonkman.ca
3,m.bonzoesc.net
4,social.consumium.org
5,occitanie.social
6,redwombat.social
7,community.highlandarrow.com
8,mastodon.daiko.fr
9,mastodon.noraworld.jp
@gornostal
gornostal / README.md
Last active August 30, 2026 12:46
Ulauncher Color Themes

This will be a temporary site for sharing Ulauncher color themes

When posting a theme make sure it has

  • title (theme name or whatever)
  • link to a gist or github repo with theme files
  • screenshot attached (just drag an image onto a comment area)

@sidneys
sidneys / youtube_format_code_itag_list.md
Created January 20, 2018 11:12
YouTube video stream format codes itags

YouTube video stream format codes

Comprehensive list of YouTube format code itags

itag Code Container Content Resolution Bitrate Range VR / 3D
5 flv audio/video 240p - - -
6 flv audio/video 270p - - -
17 3gp audio/video 144p - - -
18 mp4 audio/video 360p - - -
22 mp4 audio/video 720p - - -
@nathanchrs
nathanchrs / unset-proxy
Created February 23, 2017 12:53
Bash script to disable proxy on Linux set by set-proxy script.
#!/usr/bin/env bash
# Disables proxy settings set by set-proxy.
# By nathanchrs.
# Set environment variables
export http_proxy=
export HTTP_PROXY=
export https_proxy=
@nathanchrs
nathanchrs / set-proxy
Created February 23, 2017 12:52
Bash script to set proxy on Linux
#!/usr/bin/env bash
# Sets proxy settings.
# Run using `source` command. apt-get proxy settings requires sudo privileges.
# By nathanchrs.
# Configuration
# PROXY_HOST=""
# PROXY_USER=""
# PROXY_PASSWORD=""
@diffficult
diffficult / mpv.conf
Created November 1, 2016 04:41
basic MPV config with high settings and ytdl settings
# Video settings
vo=opengl-hq
tscale=linear
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=mitchell
scale-antiring=0.7
cscale-antiring=0.7
dither-depth=auto
@JPvRiel
JPvRiel / apt_pinning_priorities.md
Last active May 31, 2026 16:18
Apt package pinning and priorities
@vbsessa
vbsessa / firefox-devtools.md
Last active April 28, 2025 06:23
How to customize Firefox devtools fonts
  1. Open ~/.mozilla/firefox/<your_profile>/chrome/userContent.css (create it if does not exist).

  2. Paste the following content in it.

     @namespace url(http://www.w3.org/1999/xhtml);
     @-moz-document regexp("chrome://browser/content/devtools/**/.*"){
         .devtools-monospace {
             font-family: Consolas, monospace !important;
             font-size: 8pt !important;
         }
    

}

@adamhotep
adamhotep / longopts2getopts.sh
Last active February 26, 2026 14:25
POSIX shell: support long options by converting them to short options
# a refinement of https://stackoverflow.com/a/5255468/519360
# see also my non-translating version at https://stackoverflow.com/a/28466267/519360
# translate long options to short
reset=true stopped=""
for opt in "$@"; do
if [ -n "$reset" ]; then
unset reset
set -- # reset the "$@" array so we can rebuild it
fi