Skip to content

Instantly share code, notes, and snippets.

View msfrisbie's full-sized avatar

Matt Frisbie msfrisbie

View GitHub Profile
@msfrisbie
msfrisbie / manifest.json
Created January 7, 2023 22:32
6. A snazzy icon
{
"icons": {
"16": "icons/codesearch_16x16.png",
"48": "icons/codesearch_48x48.png",
"64": "icons/codesearch_64x64.png",
"128": "icons/codesearch_128x128.png"
}
}
@msfrisbie
msfrisbie / manifest.json
Created January 7, 2023 22:29
5. A popup page
{
"action": {
"default_popup": "popup.html"
}
}
@msfrisbie
msfrisbie / background.js
Created January 7, 2023 22:23
4. An uninstall URL
chrome.runtime.setUninstallURL("https://buildingbrowserextensions.com");
@msfrisbie
msfrisbie / background.js
Last active January 7, 2023 22:22
3. A post-install action
chrome.runtime.onInstalled.addListener((details) => {
if (details.reason === chrome.runtime.OnInstalledReason.INSTALL) {
chrome.runtime.openOptionsPage();
}
});
@msfrisbie
msfrisbie / manifest.json
Created January 7, 2023 22:15
2. An efficient description
{
"description": "Use ChatGPT in search engines, to write emails, and on any website"
}
@msfrisbie
msfrisbie / manifest.json
Last active January 7, 2023 22:14
1. An SEO-friendly name
{
"name": "ChatGPT Assistant"
}
@msfrisbie
msfrisbie / metrc-toolkit-privacy-policy.txt
Created May 6, 2022 14:50
Metrc Toolkit Privacy Policy
`PRIVACY NOTICE
Last updated May 06, 2022
Permission is hereby granted to any person or organization obtaining a copy of Metrc Toolkit software (the “Software”) to run the Software on their computer[s] and to publish without restriction any output produced by the Software, including screenshots. This license prohibits you from copying, publishing, and/or distributing source code in either original or modified form. This license prohibits you from making the Software available for public use, commercial or non-commercial, in either original or modified form. This license prohibits you from claiming ownership or authorship of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR SOFTWARE AUTHORS BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALI
@msfrisbie
msfrisbie / gist:f39018bd6e44af1fd631
Created January 24, 2015 03:09
Scope watcher counter
var getWatchers = function (element) {
// convert to a jqLite/jQuery element
// angular.element is idempotent
var el = angular.element(
// defaults to the body element
element || document.getElementsByTagName('body')
)
// extract the DOM element data
, elData = el.data()
// initalize returned watchers array
@msfrisbie
msfrisbie / gist:b0c6eceb11adfbcbf482
Last active August 29, 2015 14:11
Testing Chapter Changes, Updates, and Errata
No reported errors yet!
Please email me at msfrisbie at gmail.com if you think something belongs here.