start new:
tmux
start new with session name:
tmux new -s myname
// BSD License (http://lemurproject.org/galago-license) | |
package org.lemurproject.galago.utility.json; | |
public class JSONUtil { | |
public static String escape(String input) { | |
StringBuilder output = new StringBuilder(); | |
for(int i=0; i<input.length(); i++) { | |
char ch = input.charAt(i); | |
int chx = (int) ch; |
The apt-get version of node is incredibly old, and installing a new copy is a bit of a runaround.
So here's how you can use NVM to quickly get a fresh copy of Node on your new Bash on Windows install
$ touch ~/.bashrc
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
// restart bash
$ nvm install --lts
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' | |
// Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld' | |
Shader "Custom/GridShader" { | |
Properties{ | |
_GridThickness("Grid Thickness", Float) = 0.1 | |
_GridSpacing("Grid Spacing", Float) = 0.1 | |
_GridColour("Grid Colour", Color) = (0.5, 1.0, 1.0, 1.0) | |
_BaseColour("Base Colour", Color) = (0.0, 0.0, 0.0, 0.0) |