Skip to content

Instantly share code, notes, and snippets.

☕️
Working on multiple projects

Henry Chu Henrycobaltech

☕️
Working on multiple projects
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
View SUSTechSpring2018Java1AHW1.java
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
Henrycobaltech / remove_older_nuget_pkgs.py
Last active Nov 5, 2018
Remove old version NuGet package in cache
View remove_older_nuget_pkgs.py
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:
View GodDrinksJava.java
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.