Skip to content

Instantly share code, notes, and snippets.


Henry Chu Henrycobaltech

Block or report user

Report or block Henrycobaltech

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Images APIs

Image labeling

POST ~/api/images/{id}/label


import java.util.Scanner;
import java.lang.Math;
public class SUSTechSpring2018Java1AHW1{
static final double dryFrictionCoeff = 0.7;
static final double wetFrictionCoeff = 0.4;
static final double kmhPerMs = 3.6;
static final double gravity = 9.8;
static final double reactionTime = 1.0;
Henrycobaltech /
Last active Nov 5, 2018
Remove old version NuGet package in cache
import os
import shutil
nuget_cache_dir = os.environ['userprofile']+'/.nuget/packages/'
pkgs = (nuget_cache_dir+d for d in os.listdir(nuget_cache_dir) if d[0] != '.' and os.path.isdir(nuget_cache_dir+d))
rm_list = []
for d in pkgs:
package goddrinksjava;
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
* @author momocashew
* @lyrics hibiyasleep
You can’t perform that action at this time.