This file has been truncated, but you can view the full file.
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
#!/bin/sh | |
debug_rex='/console.log/' | |
debug_print_rex=$debug_rex'p' | |
debug_del_rex=$debug_rex' d' | |
add_debug_patch='.add-debug.patch' | |
del_debug_patch='.del-debug.patch' | |
git_work_dir="$(git rev-parse --show-toplevel)" | |
fake_file="$git_work_dir/.fake_file" | |
cur_dir="$(pwd)" |
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 google sheet read. | |
// @namespace https://houkanshan.com | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Houkanshan | |
// @match https://docs.google.com/spreadsheets/* | |
// @grant none | |
// ==/UserScript== |
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 FreeSound Shortcuts (New) | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2.3 | |
// @description Up/Down to play sample, Enter to Open page, R to replay, Space to play/pause. Doesn't work on new UI. | |
// @author houkanshan | |
// @match https://freesound.org/* | |
// @icon https://freesound.org/favicon.ico | |
// @grant none | |
// ==/UserScript== |
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 Ugly journalists | |
// @description Caught You. | |
// @namespace https://houkanshan.com/ | |
// @version 0.1.2 | |
// @author Houkanshan | |
// @match https://*/* | |
// @match http://*/* | |
// @grant none | |
// @run-at document-end |
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
HID Bluetooth Library Started | |
BTD ConfigureDevice | |
BTD Init | |
Addr: 01 | |
Endpoint descriptor: | |
Length: 07 | |
Type: 05 | |
Address: 81 | |
Attributes: 03 |
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
.download_platforms .icon-apple { | |
position: relative; | |
font-family: 'icomoon', var(--itchio_font_family) !important; | |
} | |
.download_platforms .icon-apple::before { | |
content: "\e011 Can't Open?"; | |
} | |
.download_platforms .icon-apple::after { |
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
const path = require('path') | |
function checkModule(name, sendMessage) { | |
try { | |
const m = require(name) | |
} catch(e) { | |
sendMessage(e) | |
throw e | |
} | |
} |
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 MD5 (input) { | |
var rawHash = Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, input, Utilities.Charset.UTF_8); | |
var txtHash = ''; | |
for (i = 0; i < rawHash.length; i++) { | |
var hashVal = rawHash[i]; | |
if (hashVal < 0) { | |
hashVal += 256; | |
} | |
if (hashVal.toString(16).length == 1) { | |
txtHash += '0'; |
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
#pragma kernel CSParticle | |
// Particle's data | |
struct Particle | |
{ | |
float3 position; | |
float3 velocity; | |
float life; | |
}; |
NewerOlder