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
StringsAndComments | |
{ | |
Unicode { string { "💩", "🙉: Hear no evil monkey is strǽnge", "Yes, a sickle - ☭: ☭" } } | |
} | |
Coordinates $where | |
{ | |
int32[3] %xyz | |
{ | |
{ 1, 2, 3 }, |
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
I._onWindowResize = function(a) { | |
if (this._lastReportedWidth != document.body.offsetWidth) { | |
this._lastReportedWidth = document.body.offsetWidth; | |
if (this._isAutoPlaying && this._cancelAutoPlayOnInteraction) { | |
this.stopAutoPlay(a) | |
} | |
window.clearTimeout(this._onResizeDebouncedTimeout); | |
this._onResizeDebouncedTimeout = setTimeout(this._onResizeDebounced, 500); | |
aj._onWindowResize.call(this, a) | |
} |
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
LOG_DIR=~/EOFY/2016-2017/ | |
mkdir -p $LOG_DIR | |
for dir in */ ; do | |
cd $dir | |
if git log &> /dev/null; then | |
project=$(basename $dir) | |
for branch in $(git for-each-ref --format='%(refname:strip=2)' refs/heads/); do | |
LOG=$(git log $(git merge-base master $branch)..$branch --since="2016-07-01T00:00:00+10:00") | |
if [ -n "$LOG" ]; then | |
echo $LOG > $LOG_DIR/$project.$branch.log |
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
➜ HMM git clone git@github.com:Benjamin-Dobell/regenerator.git | |
Cloning into 'regenerator'... | |
remote: Counting objects: 3592, done. | |
remote: Compressing objects: 100% (2/2), done. | |
remote: Total 3592 (delta 1), reused 1 (delta 1), pack-reused 3589 | |
Receiving objects: 100% (3592/3592), 4.31 MiB | 1.98 MiB/s, done. | |
Resolving deltas: 100% (2275/2275), done. | |
➜ HMM cd regenerator | |
➜ regenerator git:(master) git checkout -b fix-csp origin/fix-csp | |
Branch 'fix-csp' set up to track remote branch 'fix-csp' from 'origin'. |
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
static jmp_buf jmpEnv; | |
enum { | |
kPrepareBinaryAddress = 0x44dd, | |
kMutexBinaryAddress = 0x9090 | |
}; | |
void signal_handler(int n, siginfo_t *info, void *context) | |
{ | |
longjmp(jmpEnv, 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
-- We use onCollisionEnter (requires InstanceCollisionProxy be included in Card scripts) and onUpdate event handlers as a hacky work-around for | |
-- onObjectEnterContainer not firing when it should. For this to work reliably we must be the first subscriber to the onObjectDestroy event. | |
-- Bug report: http://www.berserk-games.com/forums/showthread.php?5461-onObjectEnterContainer-never-fires-for-bottom-card | |
ge_tts_package('ge_tts/ContainerEventsFix', function() | |
local Logger = ge_tts_require('ge_tts/Logger') | |
local EventManager = ge_tts_require('ge_tts/EventManager') | |
local frameCardObjectCollisions = {} | |
local frameCardObjectEnteredDecks = {} |
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
#!/usr/bin/env bash | |
set -e | |
BASE_DIR=$(dirname $0) | |
DISABLE_SAVE=false | |
EMPTY_GAME=false | |
RELEASE=false |
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
require 'lua-compile/cyclic' | |
math.randomseed(os.time()) | |
---@type prototype_inertia__Debug | |
local Debug = require('Debug') | |
---@type ge_tts__Http | |
local Http = require('ge_tts/Http') |
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
-- -*- coding: utf-8 -*- | |
-- | |
-- Simple JSON encoding and decoding in pure Lua. | |
-- | |
-- Copyright 2010-2014 Jeffrey Friedl | |
-- http://regex.info/blog/ | |
-- | |
-- Latest version: http://regex.info/blog/lua/json | |
-- | |
-- This code is released under a Creative Commons CC-BY \"Attribution\" License: |
This file has been truncated, but you can view the full file.
OlderNewer