Skip to content

Instantly share code, notes, and snippets.

View natebass's full-sized avatar

Nate natebass

View GitHub Profile
@natebass
natebass / git_quick_commit.txt
Last active August 24, 2024 00:24
Git Quick Commit
git add -A;git commit -m "πŸ—‘ Quick Commit"; git push;
gnu,gnu-women,gnu-es,gnu-mx,fsf,libreplanet,emacs,hurd,grub,savannah,gnu-webmasters,erc,emacs-beginners,emacsconf,pspp
firefox,accessibility,addons,addon-reviewers,amo,balrog,bmo,bugzilla,calendar,chatzilla,firefoxstudents,instantbird,js,l10n,mdn,mdndev,mozillazine,mozdev,mozwebqa,nightingale,nightly,qa,remo,remo-dev,rust,rust-beginners,rust-gamedev,rust-internals,rust-osdev,seamonkey,servo,songbird,sumo,sync,testpilot,themedev,thunderbird,tb-support-crew,tb-qa,transvision,webextensions,webcompat,webtools,womoz,xul,contributors,developers,Moc,planning,airmozilla,ateam,audio,badges,bluetooth,build,ci,content,devtools,e10s,fistbump,focus,fx-team,fxa,fxos,gfx,identity,jsapi,jsctypes,labs,layout,macdev,maildev,media,memshrink,mobile,necko,newslettercode,power,push,seamonkey,security,services-dev,telemetry,ur,ux,videol10n,webdev,webmaker,wiki,windev,www
@natebass
natebass / tmuxdesktop.sh
Created February 14, 2019 04:10
Open tmux or cd Desktop Terminal run script
tmux a -t 0 || cd Desktop;clear;
@natebass
natebass / manifest.json
Created January 24, 2019 00:31
Web extension minimal required manifest
{
"manifest_version": 2,
"name": "",
"version": "0.01"
}
{
"description": "Adds a solid red border to all webpages matching mozilla.org. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#borderify",
"manifest_version": 2,
"name": "Borderify",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/borderify",
"icons": {
"48": "icons/border-48.png"
},
"content_scripts": [
var uiConfig = {
callbacks: {
signInSuccessWithAuthResult: function (authResult, redirectUrl) {
// User successfully signed in.
// Return type determines whether we continue the redirect automatically
// or whether we leave that to developer to handle.
return true;
},
uiShown: function () {
document.getElementById('loader').style.display = 'none';
@natebass
natebass / firebaseexample.txt
Created December 31, 2018 22:44
Example snippet from new Firebase hosting project
// // πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯
// // The Firebase SDK is initialized and available here!
//
// firebase.auth().onAuthStateChanged(user => { });
// firebase.database().ref('/path/to/ref').on('value', snapshot => { });
// firebase.messaging().requestPermission().then(() => { });
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
//
// // πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯
@natebass
natebass / npmifunction.txt
Created December 31, 2018 22:29
Run npm install in function folder (Firebase Functions)
npm --prefix functions/ i -S
@natebass
natebass / chess.txt
Created November 11, 2018 06:16
List of chess.com commands (shown by typing /help in chat)
List of general commands:
/sound /sounds Toggles sound.
/follow Follows a member's games / prints a list of followed members. Example: /follow Bishop or /follow
/unfollow Stops following a member / stops following all. Example: /unfollow Bishop or /unfollow
/friend Sends a friend request. Example: /friend Bishop
/observe Observes ongoing member's games. Example: /observe Bishop
/ping Checks my lag or a member's lag. When in a game, it checks both players' lag. Example: /ping or /ping Bishop
/examine /analysis Opens an Analysis board. If you are in a game, it opens a board to analyze together the recently finished game.
/archive /history Loads a member's games archive. Example: /archive Bishop or /archive
/top Observes top games of the type bullet, blitz, standard or friend. Example: /top friend, /top blitz