I hereby claim:
- I am tmathews on github.
- I am tmathews (https://keybase.io/tmathews) on keybase.
- I have a public key whose fingerprint is A6E6 1D6B B14A DE88 DFB1 0AB7 2AE3 3D5A FF67 1924
To claim this, I am signing this object:
struct WaitGroup { | |
std::atomic_int counter = 0; | |
void add(int i) | |
{ | |
counter += i; | |
// printf("COUNTER[UP]: %d\n", counter.load()); | |
} | |
void done() |
struct StopWatch { | |
std::string label; | |
std::chrono::steady_clock::time_point start; | |
std::chrono::steady_clock::time_point finish; | |
StopWatch() | |
{ | |
start = std::chrono::steady_clock::now(); | |
} | |
StopWatch(const char *str) | |
{ |
export CC=clang | |
export CROSS_TOP=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer | |
export CROSS_SDK=iPhoneOS.sdk | |
export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:$PATH | |
./Configure ios64-cross no-async no-shared no-tests --release | |
make build_libs -j16 |
---@meta | |
---@class premake | |
premake = { | |
api = {}, | |
vstudio = {}, | |
tools = { msc = {} }, | |
option = {}, | |
w = function(str) end, | |
push = function(str) end, |
package main | |
import ( | |
"image" | |
"github.com/hajimehoshi/ebiten/v2" | |
) | |
type NinePatch struct { | |
tiles [9]*ebiten.Image |
func Greeting() string { | |
greeting := "こんにちわ!" | |
now := time.Now().Hour() | |
if now > 2 && now < 10 { | |
greeting = "おはよう!" | |
} else if now >= 18 { | |
greeting = "こんばんわ" | |
} | |
return greeting | |
} |
I hereby claim:
To claim this, I am signing this object:
copy (QUERY) | |
to stdout with csv header delimiter E'\t'; |
./Engine/Binaries/Linux/UE4Editor ~/Documents/UnrealProjects/spine-ue4/SpineUE4.uproject | |
Increasing per-process limit of core file size to infinity. | |
LogInit: Display: Running engine for game: SpineUE4 | |
LogPlatformFile: Not using cached read wrapper | |
LogInit: Display: RandInit(-918469634) SRandInit(-918469633). | |
LogInit: Read version file with build ID '621a30dd-264e-4237-aae5-f4bb2de8487f' | |
LogInit: Registered custom module enumerator with build ID '621a30dd-264e-4237-aae5-f4bb2de8487f' | |
LogTaskGraph: Started task graph with 5 named threads and 14 total threads with 3 sets of task threads. | |
LogStats: Stats thread started at 0.044868 | |
LogPluginManager: Mounting plugin FacialAnimation |
function k (c, b) { | |
var x = c.concat() | |
window.addEventListener('keyup', function(e) { | |
if (x.shift() != e.keyCode) x = c.concat() | |
if (!x.length && x.concat(c)) b() | |
}) | |
} | |
k([38,38,40,40,37,39,37,39,66,65], alert.bind(null, 'hi')) |