Main header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:( | |
function() { | |
var doit = prompt("Enter a sitename"); | |
var args = "https://" + doit; | |
var params = "width=1100,height=550,left=75,top=20,resizable=yes,scrollbars=yes"; | |
if (doit != null) { | |
if (doit.indexOf('http') >= 0) args = doit; | |
window.open(args, "_blank", params); | |
} else { | |
window.open(window.location.href, "_blank", params); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description" : "A list of random texts", | |
"messages" : ["┌╏✖_✖╏┘"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void createAccount(final String email, final String password) { | |
mAuth.createUserWithEmailAndPassword(email, password) | |
.addOnCompleteListener(this, new OnCompleteListener<AuthResult>() { | |
@Override | |
public void onComplete(@NonNull Task<AuthResult> task) { | |
if (task.isSuccessful()) { | |
Intent i = new Intent(LoginActivity.this, MainActivity.class); | |
startActivity(i); | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// Sources from https://stackoverflow.com/a/14570614/12697448 | |
// Thanks vsync for the spectacular code | |
var observeDOM = (function () { | |
var MutationObserver = window.MutationObserver || window.WebKitMutationObserver; | |
return function (obj, callback) { | |
if (!obj || !obj.nodeType === 1) | |
return; // validation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(☞゚ヮ゚)☞ | |
Nothing to see here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Unity Asset Store USD -> AUD | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Converts prices on the unity asset store to AUD | |
// @author boomboompower | |
// @license CC BY | |
// @match https://assetstore.unity.com/ | |
// @match https://assetstore.unity.com/* | |
// @grant GM_getValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localStorage.setItem('twilight.force-benchmarking-tools', 1); location.reload() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fetch from 'node-fetch' | |
interface GroupedRegExpMatchArray extends RegExpMatchArray { | |
groups?: { | |
define: string, | |
name: string, | |
options?: string | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Ensure to place the latest kpsdk.js file at ./kpsdk/in.js | |
Unpacked kpsdk will be placed in ./kpsdk/out.js | |
*/ | |
const kpSDKImport = require('./header'); | |
// js-beautify is optional but makes stuff a lot easier | |
const js = require('js-beautify').js |