- Clone this gist or click "Download Gist" on the right and extract the archive
- Copy the folder and its contents to somewhere 'safe' (i.e., where you won't delete it)
- Double click index.html to open the webpage in Safari
- Click the 'File' menu, then click 'Open in Dashboard...'
- Your screen will dim, and you can select the area you want to display in the widget
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var toStation = function(m,calib,fmt){ | |
var retValue; | |
var r = null; | |
if(m < calib[0][0] || m > calib[calib.length-1][0]){ | |
return 'm is out of bounds, valid range is ' + calib[0][0] + ' to ' + calib[calib.length-1][0]; | |
} | |
for(var i = 0; i < calib.length; i++){ | |
if(m >= calib[i][0] && m < calib[i+1][0]){ | |
r = ((m - calib[i][0]) / (calib[i+1][0] - calib[i][0]) * (calib[i+1][1] - calib[i][1])) + calib[i][1]; | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sortCCW = function(points,ccw){ | |
//find the centroid or average of the points | |
var avg = []; | |
var x = 0; | |
var y = 0; | |
for (var i = 0; i < points.length; i++){ | |
x = x + Number(points[i][0]); | |
y = y + Number(points[i][1]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
I hereby claim:
- I am willbreitkreutz on github.
- I am willbreitkreutz (https://keybase.io/willbreitkreutz) on keybase.
- I have a public key whose fingerprint is C09F 64B9 83A9 E6F2 B0F8 6885 3C14 DDF4 9436 FCB0
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name":"RADS II","size":1000,"imports":["Risk Tools","MMC ProjectWise","DSMMCX ProjectWise","Comment Database","EPPs","State of Levees Report"]}, | |
{"name":"PM Tools","size":1000,"imports":["NLD","Bridge Tools","Schedule Database","DSPMT","Funding Request","Schedule Database"]}, | |
{"name":"Bridge Tools","size":1000,"imports":["Risk Tools","NLD"]}, | |
{"name":"Risk Tools","size":1000,"imports":["Bridge Tools","NLD"]}, | |
{"name":"Dashboard","size":1000,"imports":["PM Tools","Bridge Tools","Risk Tools","LIS","Event Registration","MCRAM","Status Map","Funding Request","LSIP","Comment Database","MMC Data Viewer","SimDams"]}, | |
{"name":"LIS","size":1000,"imports":["NLD","Levee Performance Data","Freeboard"]}, | |
{"name":"NLD","size":1000,"imports":["LIS","LST","NSI","Levee Performance Data","Freeboard","Event Management Tools"]}, | |
{"name":"LST","size":1000,"imports":["Risk Tools","LIS","NLD","NSI","Levee Performance Data","Freeboard"]}, | |
{"name":"MCRAM","size":1000,"imports":["NSI"]}, | |
{"name":"Event Registration","size":2000,"im |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
These are the steps that worked for me, no guarantees for anyone else... That said, this should work for most cases.
- Go to the Node.js downloads page
- Click on Other Downloads, DO NOT DOWNLOAD THE INSTALLER. Download the binary zip for your operating system, for Windows grab the Windows Binary matching your 32 or 64 bit system.
- Extract the zip file to an easy place to remember on your system, I use
C:\Node
- Open the "Edit Environment Variables for Your Account" tool by searching for the term "env" in the search bar next to your start button.