Skip to content

Instantly share code, notes, and snippets.

View username1290's full-sized avatar
:octocat:
I may be slow to respond.

John Doe username1290

:octocat:
I may be slow to respond.
  • earworm
View GitHub Profile

Moved to repo: /quenhus/uBlock-Origin-dev-filter

In order to keep filters up to date, please use this repo.

@craigmdennis
craigmdennis / svgo.json
Last active May 16, 2023 16:46
SVGo Sketch Plugin Configuration
{
"comment": "This is the settings file for the SVGO Compressor Plugin. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>",
"pretty": true,
"indent": 2,
"floatPrecision": 3,
"plugins": [
{
"name": "removeDoctype",
"enabled": true
},
@tadast
tadast / Paint slack black.md
Last active August 24, 2024 11:18
Update the Mac Desktop slack CSS

In the console

export SLACK_DEVELOPER_MENU=true
open /Applications/Slack.app

In slack UI

right-click on anything -> inspect element

@ZelphirKaltstahl
ZelphirKaltstahl / system-command.rkt
Last active April 11, 2021 15:18
Racket code for running system commands with nice output
#lang racket
(require racket/system)
;; racket -l errortrace -t system-command.rkt
;; a general print function
(define (printline elems #:sep [sep " "] #:end [end "\n"] #:element-converter [element-converter identity])
(define (iter remaining-elements result-string)
(cond
@scottopell
scottopell / fix_exfat_drive.md
Last active April 28, 2025 01:04
Fix corrupted exFAT disk macOS/OSX

exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.

If Disk Utility is unable to repair, consider trying this:

  1. In Disk Utility, ensure that the drive is not mounted, eject it if it is mounted.
  2. Use diskutil list to find the right drive id.
  3. You want the id under the IDENTIFIER column, it should look like disk1s1
  4. Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3
  5. -d is debug so you'll see all your files output as they're processed.
@eguven
eguven / brew-list.sh
Last active April 13, 2025 05:34
List all packages installed using Homebrew and their sizes
# this original one uses values returned from 'brew info'
brew list --formula | xargs -n1 -P8 -I {} \
sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.*[0-9]* files, \(.*\)).*$/{} \1/'" | \
sort -h -r -k2 - | column -t
# faster alternative using 'du'
du -sch $(brew --cellar)/*/* | sed "s|$(brew --cellar)/\([^/]*\)/.*|\1|" | sort -k1h
@MaraScott
MaraScott / telecommute.md
Last active November 7, 2016 04:05
List of remote, telecommute, freelance, home working, working in place jobs sources

This file goal is to list all websites which promote remote, telecommute, freelance, home working, working in place jobs with some personal comments on it


Your market place offer :


@pentagonal
pentagonal / artboards.plist
Created July 11, 2016 08:21
Custom Artboards Presets For Sketch 3 @see https://www.sketchapp.com
<!--
Common presets for web design resolution
=== misc artboards
@see https://gist.github.com/fc-io/951592753248dd3ce5ab
=== social artboards
@see https://github.com/herrhelms/social-artboards-sketch
Put Into:
@shawnbot
shawnbot / README.md
Last active October 17, 2017 05:55
Bar charts in Sketch? Yep.

This is a Sketch script to make bar charts.

bars

Here's how to run it:

  1. Make a selection of only shapes with names in the format:
(anything)value={number}
@jaredhowland
jaredhowland / clear-font-cache.md
Last active November 6, 2024 14:41
Clear Mac OS X Font Caches