Skip to content

Instantly share code, notes, and snippets.

@t-mat
t-mat / buidling-glfw3-with-vc2015-x64.md
Created March 13, 2016 09:34
Building GLFW with Visual C++ 2015 (x64)

Building GLFW with Visual C++ 2015 (x64)

cd /d "%USERPROFILE%"
git clone https://github.com/glfw/glfw
cd glfw
mkdir build_vs14_win64
cd build_vs14_win64
cmake -G "Visual Studio 14 2015 Win64" ..
@justmoon
justmoon / custom-error.js
Last active April 14, 2024 14:27 — forked from subfuzion/error.md
Creating custom Error classes in Node.js
'use strict';
module.exports = function CustomError(message, extra) {
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
this.extra = extra;
};
require('util').inherits(module.exports, Error);
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.