This file contains hidden or 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
| %!PS-Adobe-3.0 | |
| %%Title: Core 35 PostScript Fonts Showcase | |
| %%Creator: Gemini | |
| %%Pages: 1 | |
| %%EndComments | |
| % --- Define Variables --- | |
| /FontSize 12 def | |
| /LineHeight 15 def | |
| /LeftMargin 72 def |
This file contains hidden or 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
| % a handwritten Tic-Tac-Toe program stored in a string | |
| /prog(/d{def}def/e{exch}d/M{moveto}d/O{pop}d/g{getinterval | |
| }d/l{length}d/L{lineto}d/I{if}d/P{putinterval}d/D(1234567\ | |
| 89)d/nf{0 b{46 eq{1 add}I}forall}d/R{/q false d 0 1 8{/i e | |
| d/A b dup l string cvs d A i 1 g(.)eq{[(X)(O)]{/p e d A i | |
| p P A B{b i(X)P/q true d exit}I}forall}I q{exit}I}for q}d | |
| /Q{/x rand nf mod d/c 0 d 0 1 b l 1 sub{/i e d b i 1 g(.) | |
| eq{c x eq{b i(X)P exit}I/c c 1 add d}I}for}d/r{{(human (1\ | |
| -9)>)print flush(%lineedit)(r)file(________)readline O dup | |
| l 0 gt{0 1 g}{O ( )}ifelse/o e d D o search{O O O b o cvi |
This file contains hidden or 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
| /** | |
| * @file solver.c | |
| * @brief A minimal backtracking solver for a 3x3 square edge-matching puzzle. | |
| */ | |
| /** | |
| gcc emp_solver.c -o emp_solver -Wall && ./emp_solver "A0-grBP,B0-pBPg,C0-bgBR,D0-pGRb,E0-RpgP,F0-brGP,G0-rGRb,H0-gbPR,I0-pgRP" | |
| */ | |
| #include <stdio.h> |
This file contains hidden or 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
| % PostScript sample obfuscation / minimisation | |
| % gs -dNODISPLAY fibo_tiny.ps | |
| % Nicolas Seriot, 2025-09 | |
| % Based on an idea from Takashi Hayakawa | |
| % see https://seriot.ch/projects/postscript_tiny_ray_tracer.html | |
| /if % a | |
| /exch % b | |
| /dup % c | |
| /gt % d |
This file contains hidden or 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
| /!{def}def/?[(A0grBP)(B0pBPg)(C0bgBR)(D0pGRb)(E0RpgP)(F0brGP)(G0rGRb)(H0gbPR)(I0pgRP)]!/`{11}!/Courier findfont 16 scalefont setfont/O{( )}!/'{O " 0 4 3 d h}!/:<</R[1 0 0]/G[0 1 0]/B[0 0 1]/P[1 0 1]>>!/P{/D}!/Q{/C}!/R{/G}!/S{/B}!/T{/A}!/V{/F}!/X{/E}!/Z{aload}!/@{repeat}!/&{dict begin}!/${count}!/+{add}!/-{sub}!/#{rectstroke}!/"{dup}!/;{div}!/*{mul}!/~{neg}!/^{gt}!/={eq}!/_{not}!/,{end}!/.{showpage stop}!/|{32 xor}!/ifelse/moveto/lineto/roll/idiv/stroke/get/put/false/exp/for/if/translate/fill/mod/setgray/exch/rectfill/setrgbcolor/grestore/gsave/closepath/getinterval/show/rotate/pop ${O " 0 $ 93 + put exch cvx !}@/H{putinterval}!/W[128{{' cvn}}@]! W 48[10{{' cvi}}@]H W 123{z[}h W 125{z]}h/Y[9{0}@]!/U[9{i}@]!({0"`2*`2*~}{0"b``2*~c`2*0cv}{q"1g68*-32d+4o2+g}{J=_{Vi!}l}{Pq!018{Qq!uC3o`8**C3e`8*~*mDCgRq!0"`8*`8*#`4*`-`4*6-bG02wx013{Sq!u`4*`4*mG1g68*-B-9""*+*yG2B+g":q"9""*+^{84*-}lO"043dhgZzs`~`4*m9""*+^{Hr0pH#}{In0pIf}at}kt}k}{0&Pq!D9={YL.}{018{Sq!UBg_{013{Tq!X?Bg!E1A68*+hVi_!D3o0^{E3J|YD1-g1K}lD2^{E0J|YD3-g2K}lF{YD |
This file contains hidden or 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
| % Edge-matching puzzle solver for 3x3 grid | |
| % Usage: gs emp_viz_full.ps | |
| % Define 9 puzzle pieces with their edge colors | |
| % Format: ID + rotation + 4 edge colors (top, right, bottom, left) | |
| % Colors: lowercase/uppercase pairs must match (g matches G, p matches P, etc.) | |
| /pieces | |
| [(A0-grBP) % Piece A: green(top), red(right), Blue(bottom), Purple(left) | |
| (B0-pBPg) % Piece B: purple, Blue, Purple, green |
This file contains hidden or 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
| % Edge-matching puzzle solver for 3x3 grid | |
| % Usage: gs -q -dNODISPLAY emp.ps | |
| % Define 9 puzzle pieces with their edge colors | |
| % Format: ID + rotation + 4 edge colors (top, right, bottom, left) | |
| % Colors: lowercase/uppercase pairs must match (g matches G, p matches P, etc.) | |
| /pieces | |
| [(A0-grBP) % Piece A: green(top), red(right), Blue(bottom), Purple(left) | |
| (B0-pBPg) % Piece B: purple, Blue, Purple, green | |
| (C0-bgBR) % Piece C: blue, green, Blue, Red |
This file contains hidden or 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
| % gs -q -dNODISPLAY emp_mini.ps | |
| /d{def}def/t[(A0-grBP)(B0-pBPg)(C0-bgBR)(D0-pGRb)(E0-RpgP)(F0-brGP)(G0-rGRb) | |
| (H0-gbPR)(I0-pgRP)]d/B[9{null}repeat]d/U[9{false}repeat]d/c{dup 97 ge{32 sub}{32 | |
| add}ifelse}bind d/gs{exch dup 1 get 48 sub 3 -1 roll add 4 mod 3 add get}d/s{0 | |
| dict begin/u exch d u 9 eq{B{0 2 getinterval print(,)print}forall stop}{0 1 8{ | |
| /i exch d U i get not{0 1 3{/r exch d/rp t i get d rp 1 r 48 add put/f true d u | |
| 3 mod 0 gt{rp 3 gs c B u 1 sub get 1 gs ne{/f false d}if}if u 3 ge{rp 0 gs c B u | |
| 3 sub get 2 gs ne{/f false d}if}if f{B u rp put U i true put u 1 add s B u null | |
| put U i false put}if}for}if}for}ifelse end}def 0 s |
This file contains hidden or 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
| <?php | |
| session_start(); | |
| $users_file = 'users.json'; | |
| $pending_file = 'pending.json'; | |
| function loadData($file) { | |
| if (!file_exists($file)) { | |
| return []; | |
| } |
This file contains hidden or 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
| %PDF-1.4 | |
| %ASCII | |
| 1 0 obj | |
| << | |
| /Pages 2 0 R | |
| /Type /Catalog | |
| /Version /1.4 | |
| >> | |
| endobj |
NewerOlder