Skip to content

Instantly share code, notes, and snippets.

@usernamealreadyis
usernamealreadyis / addons.json
Created March 25, 2019 15:37 — forked from rdonovan/addons.json
Firefox ForceFull installation
{"schema": 5,"addons": [{"id": "forcefull@shdon.com","icons": {"32": "https://addons.cdn.mozilla.net/user-media/addon_icons/879/879822-32.png?modified=1518726526","64": "https://addons.cdn.mozilla.net/user-media/addon_icons/879/879822-64.png?modified=1518726526","128": "https://addons.cdn.mozilla.net/user-media/addon_icons/879/879822-128.png?modified=1518726526"},"name": "ForceFull","version": "1.0.2","sourceURI": "https://addons.mozilla.org/firefox/downloads/file/775544/forcefull-1.0.2-an+fx-mac.xpi?src=","homepageURL": null,"supportURL": "https://www.shdon.com/software/plugins","description": "An extremely simple extension which maximises the Firefox window on program startup and switches to fullscreen mode.","fullDescription": "An extremely simple extension which maximises the Firefox window on program startup and switches to fullscreen mode. To exit full-screen mode simply press F11 or forgo switching to fullscreen mode by disabling or removing the extension.\n\nPlease note that this works only on program
For
* ES5
* ES6
* CoffeeScript
@usernamealreadyis
usernamealreadyis / adapters.application.js
Created February 22, 2019 04:15 — forked from aaronucsd/adapters.application.js
Adapters and Serializers demo 1
// app/adapters/application.js
import RESTAdapter from 'ember-data/adapters/rest';
export default RESTAdapter.extend({
host: 'https://api.github.com'
});
console.log('application adapter...');
var BrowserDetect = {
init: function () {
this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
this.version = this.searchVersion(navigator.userAgent)
|| this.searchVersion(navigator.appVersion)
|| "an unknown version";
this.OS = this.searchString(this.dataOS) || "an unknown OS";
this.isApproved = this.searchList(this.browser, this.version);
if(this.OS == "iPad")document.documentElement.className += ' iOS';
@usernamealreadyis
usernamealreadyis / 0_reuse_code.js
Created May 8, 2016 16:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@usernamealreadyis
usernamealreadyis / dummy.html
Created January 1, 2016 04:21 — forked from anonymous/dummy.html
Surprise! You may already have an OpenID. If you use any of the following services, you already have your own OpenID. Below are instructions on how to sign in with each of the following providers on an OpenID enabled website. (When you see bold text, you should replace it with your own username or screenname on that service.)
### Keybase proof
I hereby claim:
* I am carlossless on github.
* I am carlossless (https://keybase.io/carlossless) on keybase.
* I have a public key ASDIyuZFuUxZrqPFmPDfiqKO-TZGi4cp6eKiKWJIKYzJ1Qo
To claim this, I am signing this object:
@usernamealreadyis
usernamealreadyis / pow.php
Created January 1, 2016 04:02 — forked from anonymous/pow.php
Surprise! You may already have an OpenID. If you use any of the following services, you already have your own OpenID. Below are instructions on how to sign in with each of the following providers on an OpenID enabled website. (When you see bold text, you should replace it with your own username or screenname on that service.)
import json
import flask
import httplib2
from apiclient import discovery
from oauth2client import client
app = flask.Flask(__name__)