Skip to content

Instantly share code, notes, and snippets.

View crosshj's full-sized avatar
🔍
Let's make something!

crosshj crosshj

🔍
Let's make something!
View GitHub Profile
@crosshj
crosshj / README.md
Created January 29, 2019 01:09
SCRIPT-8
@crosshj
crosshj / README.md
Created January 29, 2019 01:07
SCRIPT-8
https://docs.docker.com/engine/installation/windows/
Some notes here could also apply to Mac since Mac has to do a similar thing as far as I am aware.
#CREATE
docker-machine create -d virtualbox --virtualbox-disk-size "40000" dev
#MAKE ACTIVE
eval $("C:\Program Files\Docker Toolbox\docker-machine.exe" env dev)
@crosshj
crosshj / pascalsTriangle.js
Last active April 25, 2016 01:14
Pascal's Triangle
/*
Pascal's Triangle
usage:
triangle(<number of levels to display>)
returns:
one string for each level of pyramid followed by a newline
*/
#define GL_MODE #define WIN_HEIGHT 600 #define WIN_WIDTH 600 /* * @(#) vermiculate.c * @(#) Copyright (C) 2001 Tyler Pierce (tyler@alumni.brown.edu) * The full program, with documentation, is available at: * http://freshmeat.net/projects/fdm * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation. No representations are made about the suitability of this * software for any purpose. It is provided "as is" without express or * implied warranty. */ #include #include #include #include #include #include #include #define VERMICULATE_STANDALONE yes //#include "yarandom.h" #ifdef VERMICULATE_STANDALONE //#include "yarandom.h" //#include "usleep.h" #include "gl_x11.h" //#include //#include //#include //#include #else #include "screenhack.h" #include "config.h" #endif /*