Skip to content

Instantly share code, notes, and snippets.

View sfiera's full-sized avatar
🚀

Chris Pickel sfiera

🚀
View GitHub Profile
% ./testall-10.6.sh
Testing g++-4.0...
Starting tracking the heap
Starting tracking the heap
DONE.
...SUCCESS
Testing g++-4.2...
Starting tracking the heap
Had other new/delete MallocHook-s set. Are you using the heap leak checker? Use --heap_check="" to avoid this conflict.
./test.sh: line 36: 28555 Abort trap DYLD_LIBRARY_PATH=$PERFTOOLS/.libs $PERFTOOLS/.libs/heap-profiler_unittest
k = [255, 240, 224, 208, 192, 176, 160, 144, 128, 112, 96, 80, 64, 48, 32, 16]
coeff = [
(255, 255, 255),
(255, 128, 0),
(255, 255, 0),
( 0, 0, 255),
( 0, 255, 0),
(128, 0, 255),
(128, 128, 255),
% python
Python 2.7.3 (default, Nov 17 2012, 19:54:34)
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 1.999
1.999
>>> 1.99999999
1.99999999
>>> 1.999999999999999
1.999999999999999
@sfiera
sfiera / wizard-world.txt
Created June 1, 2014 14:14
Wizard-only levels from Heroes of Sokoban
title Wizard World
debug
========
OBJECTS
========
Background
GREEN
@sfiera
sfiera / script.txt
Last active April 3, 2022 01:14 — forked from anonymous/readme.txt
Heroes of Sokoban and Other Tales: The Ranger http://www.puzzlescript.net/play.html?p=23f51195601e97c80e9d
title Heroes of Sokoban and Other Tales: The Ranger
author Chris Pickel
homepage http://www.puzzlescript.net/play.html?p=6860122
text_color yellow
key_repeat_interval 0.25
require_player_movement
========
OBJECTS
========
<html>
<head>
<title>Sound test</title>
</head>
<body>
<button id="create">Create</button>
<button id="link">Link</button>
<button id="play">Play</button>
<button id="pause">Pause</button>
@sfiera
sfiera / script.txt
Last active February 10, 2021 04:07 — forked from anonymous/readme.txt
Character sets (PuzzleScript tech demo) https://www.puzzlescript.net/play.html?p=af39ffae5e027f34c00a
title Character Sets
author Chris Pickel
homepage www.puzzlescript.net
noaction
noundo
norestart
========
OBJECTS
========
@sfiera
sfiera / readme.txt
Last active August 29, 2015 14:13 — forked from anonymous/readme.txt
Tunnel City Small (PuzzleScript tech demo)
Play this game at http://www.puzzlescript.net/play.html?p=29999667dc05a9d8c9a1
@sfiera
sfiera / readme.txt
Last active August 29, 2015 14:13 — forked from anonymous/readme.txt
Tunnel City Small (PuzzleScript tech demo, X-Ray version)
Play this game at http://www.puzzlescript.net/play.html?p=0f726904b9275fa8ef40
title Hey you! Stop blocking the laser!
(Hey you! Stop reading the “Hey you! Stop blocking the laser!” code!
…or keep reading. I’m a comment, not a cop.
This work is licensed under CC-BY-SA 4.0:
https://creativecommons.org/licenses/by-sa/4.0/)
author sfiera
homepage sfiera.net
again_interval 0.1