Skip to content

Instantly share code, notes, and snippets.

View devinrhode2's full-sized avatar
😀

Devin Rhode devinrhode2

😀
View GitHub Profile
@devinrhode2
devinrhode2 / dabblet.css
Created May 2, 2012 07:39
Like, basically PERFECT scrollbars
/**
* Like, basically PERFECT scrollbars
*/
/*
It's pure CSS.
Since a quick google search will confirm people going crazy about Mac OS Lion scrollbars...
these scrollbars have no fade-out effect.
In Mac OS Lion, the lowest common denominator is always showing scrollbars by a setting.
@devinrhode2
devinrhode2 / misc.md
Created April 14, 2021 23:32
notes to self thread

asdf

@devinrhode2
devinrhode2 / note.md
Last active March 11, 2021 20:12
normalize a 0xa0 non-breaking space character to ascii compatible encoding. For error

Unable to parse JSON and generate JSONx: illegal character 0xa0 at offset 7164 of

DataPower issue

@devinrhode2
devinrhode2 / emuparadise.download.user.js
Created September 29, 2019 04:21 — forked from infval/emuparadise.download.user.js
emuparadise.me download workaround (Most games + Sega Dreamcast, Books/Comics/Guides/Magazines)
// ==UserScript==
// @name EmuParadise Download Workaround
// @version 1.2.2
// @description Replaces the download button link with a working one
// @author infval (Eptun)
// @match https://www.emuparadise.me/*/*/*
// @grant none
// ==/UserScript==
// https://www.reddit.com/r/Piracy/comments/968sm6/a_script_for_easy_downloading_of_emuparadise_roms/
in bitbucket, turn on notifications for all pushes...
or somehow be notified of pushes to a branch, or something
basically, pushed commits could imply "this is ready for review"
and then others can review them
I think it might be easier to review commits one by one spaced out over time
assumes you have a worktree for each co-worker, each co-worker is focused on one branch at a time
whole thing could be in a dropbox, everything syncs, no need to ever git push/pull..
@devinrhode2
devinrhode2 / fractal representation of git history.md
Last active October 11, 2020 03:47
fractal representation of git history

A squash merge will merge a branch, but leave behind a commit log of the squashed commits. So, inside of a squash merge commit, you have a message like:

Merge branch foo into bar

commit 1861807 (HEAD -> feature-1234)
Author: D.R <D.R@company.com>
Date:   Thu 09:05

 refactor(registraton/noop): no-op tweak (move hasWelcomeMessage)
@devinrhode2
devinrhode2 / install.rb
Last active September 28, 2020 02:32 — forked from skyl/install.rb
Homebrew without sudo
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
# chmod +x install.rb
# ./install.rb
YOUR_HOME = ENV['HOME']
HOMEBREW_PREFIX = "#{YOUR_HOME}/usr/local"
system "mkdir -p #{HOMEBREW_PREFIX}"
HOMEBREW_CACHE = "#{YOUR_HOME}/Library/Caches/Homebrew"
HOMEBREW_REPO = 'https://github.com/Homebrew/brew'
@devinrhode2
devinrhode2 / cloudSettings2
Last active September 25, 2020 20:05
asdf
{"lastUpload":"2020-08-31T23:28:32.305Z","extensionVersion":"v3.4.3"}
@devinrhode2
devinrhode2 / .gitattributes_global
Created September 1, 2020 03:33
git config settings
# from here:
# https://medium.com/@pablorsk/be-a-git-ninja-the-gitattributes-file-e58c07c9e915
# package-lock.json
# yarn.lock
build/** -diff
# from here: https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
# with a few extra bits from here: https://rehansaeed.com/gitattributes-best-practices/
## GITATTRIBUTES FOR WEB PROJECTS
@devinrhode2
devinrhode2 / GitLens.normal-vscode.txt
Created September 1, 2020 03:02
normal vscode debug output
[2020-09-01 02:52:59:043] [1] GitService.initialize
[2020-09-01 02:52:59:046] [2] GitService.getBuiltInGitApi
[2020-09-01 02:52:59:252] [2] GitService.getBuiltInGitApi completed • 206 ms
[2020-09-01 02:52:59:278] Git found: 2.28.0 @ /usr/local/bin/git • 26 ms
[2020-09-01 02:52:59:278] [1] GitService.initialize completed • 232 ms
[2020-09-01 02:52:59:280] Starting repository search in 1 folders
[2020-09-01 02:52:59:280] [3] GitService.repositorySearch(/Users/devinrhode2/repos/react) searching (depth=1)...
[2020-09-01 02:52:59:280] [4] GitService.getRepoPathCore — e=/Users/devinrhode2/repos/react, t=true
[2020-09-01 02:52:59:286] [5] GitUri.fromUri — e=Uri(file:///Users/devinrhode2/repos/react/packages/react/index.classic.fb.js)
[2020-09-01 02:52:59:286] [6] GitService.getRepoPath — e=Uri(file:///Users/devinrhode2/repos/react/packages/react/index.classic.fb.js)