Skip to content

Commit

Permalink
Use spaces instead of tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmh committed Sep 19, 2017
1 parent 9b99e87 commit 868dba9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: server/index.html server/cpkthttp

server/index.html: client/index.html
sed 's:^\s*\|/\*.*\*/::g' client/index.html | tr -d '\n' > server/index.html.stripped
sed 's:^\s*\|\s*$\|/\*.*\*/::g' client/index.html | tr -d '\n' > server/index.html.stripped
zopfli --i1000 -c --deflate server/index.html.stripped > server/index.html

server/cpkthttp: server/c/main.c
Expand Down
40 changes: 20 additions & 20 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
<a href='//candyjapan.com'>Sponsored by Candy Japan - Surprise Japanese candy boxes twice a month</a>
<img id=z>YOUR_120_BYTE_AD_HERE<img id=y>
<script>
z.src=y.src=l.href,
T=t=0,k=64,
c=new AudioContext(),
b=c.createScriptProcessor(2048,1,1),
b.connect(c.destination),
b.onaudioprocess=function(e){
d=e.outputBuffer.getChannelData(0);
for(i=0;
i<d.length;
i++,t=++T*32000/c.sampleRate/*simple resampler*/)
/* music by mu6k */
d[i]=(((3e3/(y=t&16383)&1)*35+
(x=t*'6689'[t>>16&3]/24&127)*y/4e4+
((t>>8^t>>10|t>>14|x)&63))&255)/128-1
for(n=t>>7,i=k,P='\u25b2.\n';
i-=1/k;
P+=P[i%2?(i%2*j-j+n/k^j)&1:2])
j=k/i;
p.innerText=P
}
z.src=y.src=l.href,
T=t=0,k=64,
c=new AudioContext(),
b=c.createScriptProcessor(2048,1,1),
b.connect(c.destination),
b.onaudioprocess=function(e){
d=e.outputBuffer.getChannelData(0);
for(i=0;
i<d.length;
i++,t=++T*32000/c.sampleRate/*simple resampler*/)
/* music by mu6k */
d[i]=(((3e3/(y=t&16383)&1)*35+
(x=t*'6689'[t>>16&3]/24&127)*y/4e4+
((t>>8^t>>10|t>>14|x)&63))&255)/128-1
for(n=t>>7,i=k,P='\u25b2.\n';
i-=1/k;
P+=P[i%2?(i%2*j-j+n/k^j)&1:2])
j=k/i;
p.innerText=P
}
</script>

0 comments on commit 868dba9

Please sign in to comment.