Skip to content

Instantly share code, notes, and snippets.

View roadlabs's full-sized avatar

roadlabs roadlabs

View GitHub Profile
@jessvb
jessvb / 0-convo-vlhcc-appendix.md
Last active September 9, 2021 06:02
"Convo: What does conversational programming need?" Appendix

Convo: What does conversational programming need?

This Gist contains additional information about the study presented in "Convo: What does conversational programming need?" at VL/HCC 2020.

The study can be cited as follows:

Van Brummelen, J., Weng, K., Lin, P., & Yeo, C. (2020). Convo: What does conversational programming need?. In 2020 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC).

or with BibTeX:

@tomhicks
tomhicks / plink-plonk.js
Last active December 26, 2025 08:35
Listen to your web pages
@noamtamim
noamtamim / README.md
Last active February 18, 2026 18:31
Markdown with PlantUML

How to use PlantUML with Markdown

PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.

Here's how I combine the two, to create docs with embedded diagrams.

Step 0: Setup

Get the command-line PlantUML from the download page or your relevant package manager.

@swiperthefox
swiperthefox / violentmonkey_script.js
Created May 30, 2019 15:51
Add IME support to Snap! text inputs
// ==UserScript==
// @name ADD IME TO SNAP
// @namespace Violentmonkey Scripts
// @match https://snap.berkeley.edu/snapsource/dev/snap.html
// @grant none
// ==/UserScript==
// patch the classes
InputSlotMorph.prototype.mouseDownLeft = function (pos) {
if (this.isReadOnly || this.arrow().bounds.containsPoint(pos)) {
@caisq
caisq / breaking_API_changes.md
Last active April 23, 2019 12:57
Breaking API Changes and New APIs in TensorFlow.js 1.0 Through Examples

1. Model-loading function name changes

Rationale: Indicate type of model being loaded more explicitly in code.

For models converted from Keras and models saved from TensorFlow.js itself:

// Before: 
await tf.loadModel('http://server/model.json');
@roadlabs
roadlabs / manifest.json
Created August 23, 2018 07:59 — forked from Jxck/manifest.json
Chrome Socket API Server
{
"manifest_version": 2,
"name": "Chrome Socket API Server",
"description": "listen & accept for socket",
"version": "0.1",
"app": {
"background": {
"scripts": ["server.js"]
}
},
@gatopeich
gatopeich / install_Jupyter.sh
Last active March 29, 2024 22:10
Install Jupyter iPython Notebook on Android via Termux
pkg upgrade
# Install runtime deps
pkg install python libzmq libcrypt
# Add build deps
pkg install python-dev libzmq-dev libcrypt-dev clang
pip3 install -U pip
pip3 install pyzmq --install-option="--zmq=/usr/lib"
pip3 install jupyter
@nuta
nuta / index.html
Last active June 14, 2024 01:03
CP2102 (used by ESP32-DevKitC) WebUSB device driver (deprecated: use Serial API instead: https://crbug.com/884928)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>esptool.js</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/xterm.min.js" integrity="sha256-8rsVcpCnO6HdeJL84i0VdubjM42fjSmO8aONghdq3gc=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/xterm.min.css" integrity="sha256-w69o8Y6P5VZjfYFmn2KlqMU7TUi2I+oWObi8FLlVZZg=" crossorigin="anonymous" />
</head>
小米路由器R1D刷机
@styblope
styblope / docker-api-port.md
Last active March 2, 2026 17:18
Enable TCP port 2375 for external connection to Docker

Enable TCP port 2375 for external connection to Docker

See this issue.
Docker best practise to Control and configure Docker with systemd.

  1. Create daemon.json file in /etc/docker:

     {"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}