Skip to content

Commit

Permalink
Piet png was corrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Apr 14, 2017
1 parent 44f1268 commit e44e243
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 103 deletions.
2 changes: 1 addition & 1 deletion QR.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
((p="eval";%($ _="#{s=%(<?php~$z=3+$w=strlen($s=#{Q[E["!t~mX{H#{E["(#{?_*11 })du p~=/s(|~~~~~.~~~|)def(#{Q["qr:-H('#{Q[e[%(for~c~!"".jo!(["say~'%s '^n"%l~f
or~l~!#{E[d[ "eval$s=%q(#$s)",?']]}.split("^n")]):Z('cat("r=fput(char(%d))^n ") '%ord(c))`nZ('cat("end^n")'))],?']}').",B]}){9~7{exch~dup~1~and~79~mul~32~add~e xch~2~id
iv~3~1~rol l~s~exch~2~!dex~exch~put~1~sub~dup~6~eq{1~sub}if}repeat~s~=~pop~pop }foral l~=~quit"]+R}}"]]})*3;echo"^x89PNG^r^n^x1a^n";$m="";$t="^xc0^0^ xff";fo
r($i=-1;$ i<128*$z;$m.=$c--?($w-$c||$i>$z)&&$i/$z<($c<$w?ord($s[(!t)($c/3)]):$c- -%3+2)?$t[2].$t[$c%3%2].$t[$c%3]:"^0^0^0":"^0")$c=+ +$i%$z
r($i=-1;+ +$i<128*$z;$m.=$c--?($w-$c||$i>$z)&&$i/$z<($c<$w?ord($s[(!t)($c/3)]):$ c--%3+2)?$t[2].$t[$c%3%2].$t[$c%3]:"^0^0^0":"^0")$c =$i%$z
;foreach (array("I`x48DR".pack("NNCV",$w+2,128,8,2),"IDAT".gzcompress($m),"IEND") as$d)echo~pack("NA*N",strlen($d)-4,$d,crc32($d )););v
="";127 .upto(287){|j|o={};m=n=0;s.size.times{|i|o[f=s[i,2]]||=0;c=o[f]+=1;m<c&&(m= c;n=f)};v=n+v;s=s.K(n,(j%256).chr)};s="$_ ='#{Q[
s,c=/[' Y]/]}';$n=32;$s='#{Q[v,c]}';$s=`x7es{..}{$a=$&;$b=chr(--$n&255);`x7es/$b/$a/ g;}eg;Z";(s+N*(-s.size%6)).unpack("B* ")[0].
Expand Down
200 changes: 100 additions & 100 deletions SHA1SUMS
Original file line number Diff line number Diff line change
@@ -1,100 +1,100 @@
216b9bc9cfad818b6dcb5e3039836cfb48a654f8 *QR.rb
560e65831813429abdf1f6eee4ba289d7a99ebf4 *QR.scala
0c252afbab1670319d20e30ad96318c95d82e737 *QR.scm
b5ecb9a49ea3a6e0505c764d5c6573844de1462e *QR.sci
88bfc1d7bd7e18919bb7e439cd7efca6ae7c7211 *QR.bash
84e84909446e3ff4d3f29e0e4b22c9e81fee5d5e *QR.sl
4645f438a077a77eb31d4cc277380684ac491f28 *QR.st
09057e9ac5e37c55173d1062e71be513f86c2649 *QR.nut
62fe4087b8b9d7d491b2c6f8853fc5c0430e9894 *QR.sml
effcf29c94f83b97bf0a8d79614a4582f0606ae3 *QR.sq
2a95b8c044545a72aaa222cee113936b31ef1f5a *QR.tcl
70348bc213c0e5ef18e57331313613c429035781 *QR.t
dbbca050576675daf58087637b30bb81877c07f0 *QR.unl
45598ef05ac0607f63e10be8c0e93983bdbbc132 *QR.vala
aaf3812ee65fdc4517bcf38bdd4d0768814a78c5 *QR.v
f46cc6021133d320cd2e7d2517078496b3f803c7 *QR.vb
af02c25d2c0b784c8927389f49ed5a5678c3ec33 *QR.ws
4032fabc72222f8651932d4aa53f0d530312d61d *QR.xslt
ddfa03298a81c40651d4cfaa36b67358b16af332 *QR.yorick
d13a68733075b58d35a1c725210c289fcecd0c75 *QR.azm
3de94664fbd66d9b6e994ae636b9aece7e8a56b6 *QR.+
c947991df3cdec6cd1b312150aa35d590439a9c7 *qr.adb
62bb50bca181ee0b2a2c9cf4d6f996a789851978 *QR.als
7c09706a8104ea41b198e739c0f5b74f1ac3285b *QR.a68
472ea55290eb4260b4df8d46210e42b0d417c42b *QR.ante
528351e0211c0461c1b68ed2ea969ac40c60e2cf *QR.asy
c2fac84c2aba0f76cc903a151b1e70d4303f8fd2 *QR.dats
505b3c09738f9b76b7c6fdc2e878f612b33f191c *QR.awk
f9439ca2e324a03058a51861dbf1dd7e01431906 *QR.bc
f8fa5374b4966f097feaa6646cdb9b5ffb304fd0 *QR.bef
1b0345a32d9e4d923d7164ca76e72d2158bb701f *QR.Blc
4b98fb5f8dae75d6fb57828605cd78cf364cd6b8 *QR.bf
544d6a8635f3f5ca01bad09a972f59fe19fdc74a *QR.c
d5b050009094825edb1e285a73f483ac4625f14b *QR.cpp
1de516e227b174aa045ceec165759d4f14d7ced3 *QR.cs
3c1f0f47c19bd2429eaf9febd53fad3475087d82 *QR.cd
23b50eeb9e3b295f87ffbafb055bc467a7bec65e *QR.chef
4e30be470a2d68daab8d904909dd487d04901a03 *QR.clj
73fa200564cd67e2ea1baabbabce1e09532b343b *QR.cob
a56fc50238ada574995a8d5f7631337fa4b28a85 *QR.coffee
8582bf37f84417f0b5a0a0cd755234f453f01853 *QR.lisp
df915264ef97fcfb9aaa6603bbc3a1b8b2ed5a20 *QR.d
02a125c777147fd606ca14d66cba9cef6b099f52 *QR.dfy
1d3b70ceec6d86c0f0d9a17a90a05b4eb9919ce0 *QR.dc
6b05d7597256df722802ec59113e3f3e8ca0d377 *QR.ec
761d6c16031abe6ceb8436025ab3dfe03757c9ee *QR.exs
6e42853abe25c01ae07e7d003fa416ad1650b7ac *QR.el
208fc8fcfc5aada3fee1a5e49f66b17568ab4515 *QR.erl
40474c404a7ee59c4f589cfecb76dace7869af4a *QR.fsx
2babcb3fbb550bbd257eb59fd08172f68f8d9f43 *QR.false
dfe7675b27e24778df85c6fd3c5d016ecac8bb4c *QR.fs
b99ae51c1599e87c09579e971c0d02e7bed48f16 *QR.f
7875ef49765b30dda1d934920b6970721863c4fd *QR.f90
6151b7000f2631e4d60936b16f4d3ef73005f0d2 *QR.gbs
524be27efaf1a06a4d1f913d0810b593b4c2600e *QR.g
4689eef88d68e00157caefecbf0b31d69661f844 *QR.gel
249e1e3bca963933231c02068efa726048c69018 *QR.plt
5d4f850756d3499bf2d73137b6bc3cd16052182a *QR.go
9e884993d799f6efe5a56ab36b60fcbab7b10fe4 *QR.gpt
a0dd77e2087292c8819ab57602936e8cf3909934 *QR.grass
0d9e133c68e0bd70193c46d1ab872d6a8d1047d4 *QR.groovy
7feedea865c7f7c0f732e163e080f9fbcc1da039 *QR.hs
747c403151bc47b5e722e63ff1145e4fc288dd69 *QR.hx
c84af5808abafa07b848ec4f400bb062d10a9aba *QR.icn
9b61594f2c80f5366eedffcd32739ee581b374b2 *QR.i
37993dc3a0b11ed14b92f20dff2f82c97af7fefa *QR.j
cc335b95087eec884675c047b46c7b3a96770893 *QR.java
9d3d845a310ba29e346c28140ee5163b9b294fb4 *QR.js
d23461533d11172b40ba5379009eb5347f6899e6 *QR.jq
580d724dd13159e0cd53de3e149055ae504dfb2f *QR.jl
477e95fca98cbf03abae099f985cef44f8972845 *QR.lazy
7ffe2ba12850b5a391be6ecf7c6cb823566f4044 *qr.li
c57c699f0f6ef1a9458dbee689e568588ad5de55 *QR.ll
8d150d2d1dad9863cccada0621a8aebaef4c51a2 *QR.lol
c4bd516249b9cf733a6eb8f0bad72fb846ddc2bf *QR.lua
43890a5a231d78d202ef38b59cd8610d7865db35 *QR.mk
5931e14dba2dc27824a5a54b3190f3bda83746cf *QR.mac
a03e73d65f10e16b2378456a2d883e679a51c250 *QR.mzn
dfc178278065a99d720890ccc601f5e9ffb000fb *QR.il
ab09a5a68358bf1b4fde4124058d6cc34ad7dfca *QR.asm
328f510f036f586fbaa5b3a03589c16ec810c928 *QR.neko
03fa89fb644ad03655844c193e244bdf2967846c *QR.5c
13b9b8da46c2386ce78a71e3d9c40ffa2031fe8d *QR.nim
c987ff253866a73a2367db85e81da28bcfff4273 *QR.m
be507a083b9131af2adc903e1dbf85c9ca3fa0a5 *QR.ml
85bd19feafaa5c6d2dad072d9a010d58ce4e0f33 *QR.octave
e2a311c5d1a5d63c3cba9d417e2c6225c80afb8e *QR.ook
4f79f4cf6d7a7482b78aa13c44b2ca705afded11 *QR.gp
81fd0509963c1458cf6042b93c5ebe2521a967b9 *QR.pas
1351979605cbfcefc9d65cacbb107eeeefd332de *QR.pl
6e896a76e19ae9fdc00b6c30280a95896639c942 *QR.php
0df0a731f7626e0ddb10c670036744f8f1d55ad2 *QR.png
7296773f461cb6dff99fe1384dc6c07b2e5f4541 *QR.pike
032af629908b43c7761afc4ad22fdc85951a2f9e *QR.ps
9cb9ef5837e2a4667ceb472d4eae6eeb97569337 *QR.ppt
ea99435ccc17a9303877da40ecbb2142417639a8 *QR.prolog
9a584a32c3e1b211ecfe144493b7d2e543d10acd *QR.py
f914e96546ef02567c858630d662497a8053178b *QR.R
b69e6ec9e3bff568de5c3b2a29e6f74aaf3adea0 *QR.ratfor
164418479cef44ad761f2b7893168297a6544ae4 *QR.rexx
4552d038dd11e43b999ae7732732d0f24c2631e0 *QR.rb
c608d86db30f8a040d061be8096bca50f482114b *QR.scala
296bb228bb785d9735586623995964c026315f46 *QR.scm
70c0b4e24507714cd87d6e5ff140f7ee01b67406 *QR.sci
cdec80cfade30ebac23f8cf0ae4b8109d6942fdb *QR.bash
18f38af54cc8e5ae8827f22dee8f5cb9fc475bdb *QR.sl
7925c3ec9c8094c3d165d12ee7e6e12f67c6e035 *QR.st
a5019cf63cdd2fa14fa2da590bbda3560c24f525 *QR.nut
a971b900db3c2062b4268ab39f403a1e9555349d *QR.sml
d6aa6381438d9c02a7cd9792db9e2314ef5a910e *QR.sq
491911f2a28a9e836d01552aad062bd8fc466109 *QR.tcl
bbae26936360f2bf90d0d3bc4f3bbcb4a73d50e6 *QR.t
041c53f81a2a07806ff9c70f4eea67a36b523de8 *QR.unl
5f5b760e530679bbbcb47537b0d22258397fb89f *QR.vala
a60046eb3ebd0868efd43c7e4fab20e2d8533507 *QR.v
298d1bd41d3b3f445566d77960c5357482250512 *QR.vb
e000d979e0062daf98ac03440f2797c70ac34d40 *QR.ws
738bbc585f6cd838fdf24e745cd1dc9f1cf73c9a *QR.xslt
7fed32e7e506d5e4ecac2dda9e4580634e25bb43 *QR.yorick
ce226888230f9fde91b929fa69e7f99432a95476 *QR.azm
3ef49542667db7b56eac3c9412c313e267b4fbd3 *QR.+
bdc9e4e173882a35d3cf0d872c592f920d3c30ac *qr.adb
198e1ebb0c69c7a494e704bcbdd990ebc46cece2 *QR.als
588b8c3b33424ef3d1e57f1d9eb784173d698aa3 *QR.a68
fb1132b584742c9a2dbff64aaecaa3eddcb46323 *QR.ante
db05ddd2dbc2e30553e5f269aabdfdbf9ed5b8be *QR.asy
bfd5a96ed858bb57bc4e481868e46bc8dc39cd62 *QR.dats
440d7d54ae64a663d26925cba07eb48c387ebad0 *QR.awk
505e87ab85e999c1f559faf79926fc4a08e364c5 *QR.bc
505dec51c54fb0f92e131be2e2e80d347e8d9193 *QR.bef
78a1a1a5d2383825b48a2675d5eddfa9b69f84e8 *QR.Blc
36570222fc3301315e61e079cc3a203b99b5a661 *QR.bf
bf388c9255cf71775cb915562d40df25b2821a3f *QR.c
4a0621ec2e47cbcceecd40b9cf4a5e0b7cd56051 *QR.cpp
a24f2450c7b2cf9b257de24f3d4c4fbf8fb3beb8 *QR.cs
333aa546ade6a935bfbe1a38f92c3158b0e04fc4 *QR.cd
e02837f4510ff5ced6e1750123a4be0e1183ed50 *QR.chef
4f36baabcf63fac352517dce3f04b9f481fd70c3 *QR.clj
5d55664c5735eaf24153e1b3e5c617b5318f4951 *QR.cob
8157a16780f55694730ca7ffa181183461d8847d *QR.coffee
5a94bae113d4aa25f68ff666dea06c964e173be5 *QR.lisp
1cc44ed6e2156a25f8f7cb4150f17b38ee44af3c *QR.d
8c29132ed5a289d0827722362663bab389f01373 *QR.dfy
c067406c534692c99b29ccc7ed7c7ff551b7fc2b *QR.dc
06ab0ca50022a28a6df9567936eaa9e6fe4aff34 *QR.ec
76c7bfa4d4dd09125514cc4db7090c0c65d784cc *QR.exs
96b751536dbc3ec50046125d2a89f4858f94ee42 *QR.el
f96e882fb1bdd67a7f16b8057481f30f00a31bfc *QR.erl
5cf530228849e154a9da146d9ba0fde2928bab38 *QR.fsx
44ae6bf57babb47bf380c7a9c8d465aae22e8990 *QR.false
65b7e94a2e1919ac9149429f233eae55e2b63b6f *QR.fs
f059378e53f5e67d4e3bcce5a7af3af57ffe5deb *QR.f
097d9eca24d11e7c99e651745aba25740040db10 *QR.f90
b4efc7ea831656b2be321c831d9d573fdef67335 *QR.gbs
f8ccbd05ecb264ec14e086e7ee1bccc158d46cd7 *QR.g
3ce9920a4126be384df80ddbad97d9eb5fe1f5fa *QR.gel
3cb8fc7ea98ebeec305c57afcbb442767476f97e *QR.plt
072b41b72c250d35bb84715935a3a19ff00ed59a *QR.go
78d018ad0bdbcbc31058102db0b67b2949630353 *QR.gpt
9d5ca6cde4aa662770f3e91d2dabc9bd25a97649 *QR.grass
ef548303018fc5339d50ffe072cd85fb307e239a *QR.groovy
a968ed8306fc98e6649997fb8a45bc82c1b6edcc *QR.hs
a9f86c713dabc23d411bc9e7830b18b63d3ccbbf *QR.hx
4f7ec715c9ad2400efabd388060684c186d6ab6f *QR.icn
a637ec3cae0fa4164cec0aafbfb6042e9968157a *QR.i
c567109ba8f6dbf7df6a89c851dd621be1226c9d *QR.j
709fb6fff33d757d132809e5a42be55b20a79f76 *QR.java
5d084eccc77de0f98cc78247c9ad4de872b690fb *QR.js
bcd3048ede713062eab22f7efc3b3df0eed0547d *QR.jq
8c9b769f1e1b6bc0e551adee12f344e1eed817c2 *QR.jl
4876d7d60eb60f1cffd12413f797d97eee6a3be6 *QR.lazy
503da41178c2f3ac9e7b478f7908dffb8645e7bd *qr.li
4b1b23b460bde6df4f276ac74d65d395f92ca191 *QR.ll
bb7a47a0c727cfcf0e581a860754479ecc5c88df *QR.lol
c6dbf562b77cc4f5dcba83f7efe87cb55da352ef *QR.lua
8ea9e4d5e427b45e626dc54046685a9447bbdf33 *QR.mk
c0f07547c6f0dc811eda931cb6b979dd2160fd30 *QR.mac
08f6f0aef91cdaf14a2375992ed7dacc511fe77c *QR.mzn
b3a2b5f0124ebdbcc94a79df1f6d3c867c71cd52 *QR.il
4188198c858e4d157db9de14f8681a8ce209f430 *QR.asm
c63c48dd83994c26abfa3e5d40fdf69559594395 *QR.neko
b9b72766af1e0e5c4cb2d87e97aff84ea5c8fd7d *QR.5c
2d6939946ed2e2f625a8aac628129f66d380279a *QR.nim
30b98152fd0aa0b7f25f07c07b8545670c5a85ad *QR.m
4cce8809423b1b0314ba926ee0e5a42c323e2485 *QR.ml
ac19eff4b03f0d6f7130ad33294f13e7d92c4e05 *QR.octave
9373975c3e4d1a61b7da31ad8ea1fd29bcc53000 *QR.ook
629f032777ebc1694ebf8429acd4fe5be621c26d *QR.gp
5a1c5419be69f243a97d8b06ead96a9881050d58 *QR.pas
f693703e36fd4a9a70fd33d15ac0b6a8081f22f4 *QR.pl
c96d295fcb2a0602bacbc10207203841c6d4fe41 *QR.php
aa707ddf958174e484d19010adcd1dceb72b8be4 *QR.png
4b60646b9a9e69f5c7635ed74bdb50b0127eea6b *QR.pike
bef3d1b9d7ed15f7e859d7f17b9591729fd5ff5a *QR.ps
635bcae98b8d8651f0e0169eba9f9146028a7b92 *QR.ppt
aa97c828eccdc699e01e74a16a280966807412dd *QR.prolog
8f91c47f80a798b3cbf601fc7a9d7f9f4894d85e *QR.py
c3fb43b512cd0ba10904e1039e2cd0fd344ab1f8 *QR.R
bb3c3339d6abc60c362a0cf5ba8c284a6acfe8ca *QR.ratfor
c9c6550b24fcfaa496cf68069c932a76cff63c70 *QR.rexx
4 changes: 2 additions & 2 deletions src/code-gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ def code
echo"\\x89PNG\\r\\n\\x1a\\n";
$m="";
$t="\\xc0\\0\\xff";
for($i=-1;$i<128*$z;
for($i=-1;++$i<128*$z;
$m.=$c--?
($w-$c||$i>$z)&&$i/$z<($c<$w?ord($s[(int)($c/3)]):$c--%3+2)?
$t[2].$t[$c%3%2].$t[$c%3]:"\\0\\0\\0":"\\0"
)
$c=++$i%$z;
$c=$i%$z;
foreach(array(
"IHDR".pack("NNCV",$w+2,128,8,2),
"IDAT".gzcompress($m),
Expand Down
Binary file modified thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e44e243

Please sign in to comment.