I hereby claim:
- I am mlabbe on github.
- I am mlabbe (https://keybase.io/mlabbe) on keybase.
- I have a public key ASAmuKRhgWieXfXRIeSxLec5dDSoW48Mi69lVtOp7Qweewo
To claim this, I am signing this object:
export INSTALLDIR=$HOME/dev/node/local # or wherever | |
mkdir -p $INSTALLDIR | |
# Put these lines in your .bashrc | |
export PATH=$INSTALLDIR/bin:$PATH | |
export MANPATH=$INSTALLDIR/share/man | |
git clone https://github.com/nodejs/node | |
cd node |
/* | |
simple calculator implemented via recursive descent | |
add_op := + | - | |
mul_op := * | / | |
digits := {+|-} [0..9] {[0..9]} | |
expr := term {add_op term} | |
term := factor {mul_op factor} |
/* clang-format off */ | |
/* ftg_core.h - v0.6 - Frogtoss Toolbox. Public domain-like license below. | |
ftg libraries are copyright (C) 2015-2021 Frogtoss Games, Inc. | |
http://github.com/mlabbe/ftg_toolbox | |
ftg header files are single file header files intended to be useful | |
in C/C++. ftg_core contains generally useful functions | |
Special thanks to STB for the inspiration. |
[Desktop Entry] | |
encoding=utf-8 | |
Exec=/usr/local/bin/emacsclient -c | |
Icon=/usr/share/app-install/icons/_usr_share_emacs_21.4_etc_gnu-32x32.xpm | |
Type=Application | |
Terminal=false | |
Comment=Emacs Client | |
Name=Emacs Client | |
GenericName=emacsclient | |
StartupNotify=false |
I hereby claim:
To claim this, I am signing this object:
Existing makefile-like build systems conflate what we are building with how we are building it. Every project has its own Makefile, autoconf, vsproj
, etc., which explain how to build it, and where the files are.
In reality, many simple projects build exactly the same way. That way may involve complex steps, but rarely do they differ meaningfully. It does not make sense to write out a different recipe every time you buy groceries, so why should you re-describe how a project builds every time you begin a new, similar project?
#include <stdio.h> | |
typedef struct { | |
char s[6]; | |
int len; | |
}str_t; | |
int main(void) | |
{ | |
str_t str = {"hello", 6}; |
The latest version of this page is now maintained at http://www.frogtoss.com/labs/pages/native-project-standards.html
//// | |
// | |
// This single-file no-dependency Processing 3 sketch demonstrates | |
// how you can livecode side-by-side VR content in Processing and | |
// render it in realtime! | |
// | |
// All comments exist to help the reader understand the approach. | |
// | |
// Youtube render of this sketch: | |
// https://www.youtube.com/watch?v=E3d7d8XR4Y0&feature=youtu.be |
/* ftg_core.h - v0.5 - Frogtoss Toolbox. Public domain-like license below. | |
ftg libraries are copyright (C) 2015 Frogtoss Games, Inc. | |
http://github.com/mlabbe/ftg_toolbox | |
ftg header files are single file header files intended to be useful | |
in C/C++. ftg_core contains generally useful functions | |
Special thanks to STB for the inspiration. |