Places to buy books that aren't Amazon:
A major hobby of mine is game development. Here are some well-regarded books in that domain that I do not yet own:
Places to buy books that aren't Amazon:
A major hobby of mine is game development. Here are some well-regarded books in that domain that I do not yet own:
| // SPDX-FileCopyrightText: 2015 Marek Rusinowski | |
| // SPDX-License-Identifier: MIT | |
| #include <memory> | |
| #include <cstdio> | |
| template<typename F> | |
| class defer_finalizer { | |
| F f; | |
| bool moved; | |
| public: |
| /** | |
| * Add dataset support to elements | |
| * No globals, no overriding prototype with non-standard methods, | |
| * handles CamelCase properly, attempts to use standard | |
| * Object.defineProperty() (and Function bind()) methods, | |
| * falls back to native implementation when existing | |
| * Inspired by http://code.eligrey.com/html5/dataset/ | |
| * (via https://github.com/adalgiso/html5-dataset/blob/master/html5-dataset.js ) | |
| * Depends on Function.bind and Object.defineProperty/Object.getOwnPropertyDescriptor (polyfills below) | |
| * All code below is Licensed under the X11/MIT License |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class GameEvent | |
| { | |
| } | |
| public class Events | |
| { | |
| static Events instanceInternal = null; |
| FILES_PATTERN='\.(js|coffee)(\..+)?$' | |
| FORBIDDEN='console.log' | |
| git diff --cached --name-only | grep -E $FILES_PATTERN | GREP_COLOR='4;5;37;41' xargs grep --color --with-filename -n $FORBIDDEN && echo 'COMMIT REJECTED Found "console.log" references in your javascript. Please remove them before commiting'; | |
| # my zsh does annoying things with ! | |
| [ $? -ne 0 ] |