Skip to content

Instantly share code, notes, and snippets.

View MrDwarf7's full-sized avatar
๐Ÿ‘€
Open to freelance work & collaborations!

Blake B. MrDwarf7

๐Ÿ‘€
Open to freelance work & collaborations!
  • East-Coast, Aus
  • 11:10 (UTC +10:00)
View GitHub Profile
@MrDwarf7
MrDwarf7 / jsonp.js
Created March 2, 2024 03:03 — forked from gf3/jsonp.js
Simple JSONP in vanilla JS
/**
* loadJSONP( url, hollaback [, context] ) -> Null
* - url (String): URL to data resource.
* - hollaback (Function): Function to call when data is successfully loaded,
* it receives one argument: the data.
* - context (Object): Context to invoke the hollaback function in.
*
* Load external data through a JSONP interface.
*
* ### Examples
@MrDwarf7
MrDwarf7 / tmux-cheatsheet.markdown
Created January 8, 2024 09:50 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@MrDwarf7
MrDwarf7 / msys2-setup.md
Created December 29, 2023 03:29 — forked from roblogic/msys2-setup.md
MSYS2 first time setup
@MrDwarf7
MrDwarf7 / git-pushing-multiple.rst
Created October 24, 2023 00:30 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just