Skip to content

Instantly share code, notes, and snippets.

@devjin0617
devjin0617 / .manifest
Created May 19, 2017 15:15
chrome extension using a content script to access the `window` object
{
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["inject.js"],
"all_frames": true
}
],
"web_accessible_resources": [
"content.js"
@staltz
staltz / introrx.md
Last active June 29, 2024 02:36
The introduction to Reactive Programming you've been missing
@fuzzmz
fuzzmz / gist:4111521
Created November 19, 2012 16:11
git revert to specific commit
git reset 56e05fced #resets index to former commit; replace '56e05fced' with your commit code
git reset --soft HEAD@{1} #moves pointer back to previous HEAD
git commit -m "Revert to 56e05fced"
git reset --hard #updates working copy to reflect the new commit