Skip to content

Instantly share code, notes, and snippets.

neuromancer_ub.txt William Gibson
Neuromancer
Dedication: for Deb who made it possible with love
PART ONE. CHIBA CITY BLUES
1
absl-py==1.4.0
affine==2.4.0
aiohttp==3.8.1
aiosignal==1.3.1
analytics-python==1.4.post1
anyio==3.7.1
anytree==2.8.0
argcomplete==1.10.3
argon2-cffi-bindings==21.2.0
argon2-cffi==21.3.0
// Call logger.addHandler() with this
public static StreamHandler buildseh() {
final StreamHandler seh = new StreamHandler(System.err, new SimpleFormatter()) {
@Override
public synchronized void publish(final LogRecord record) {
super.publish(record);
flush();
}
};
@jiayao
jiayao / Method Finder
Last active August 12, 2017 18:19
Utility for finding Java methods by signature
// Credit
// https://stackoverflow.com/questions/4188919/how-to-search-for-java-api-methods-by-type-signature
public class MethodMatcher {
public static void main(String... args) throws Exception {
// where to load some classes from (could be a list of classes to
// search from)..
// String pathToJar = "/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar";
/**
* Stock Portfolio Management App Script for Google Spreadsheet
*
* v0.1
*
* The script creates two sheets when your first run it. You can enter your transactions
* in the sheet named "Transactions", e.g. GOOG, 540.3, 100, Buy. Selecting "Update Stock Info"
* from Finance menu populates the summary sheet with a summary of your portfolio.
*
* Author: Jiayao Yu