This file contains 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
FROM caddy/caddy:alpine | |
COPY ./ /usr/share/caddy/ | |
USER root | |
RUN sed -i 's/:8080/:{$PORT}/' /etc/caddy/Caddyfile |
This file contains 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
0.0.0.0:{$PORT} | |
tls off | |
# Do not rewrite up to this point! | |
browse | |
log stdout | |
errors stdout | |
templates |
This file contains 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
FROM abiosoft/caddy:php | |
COPY ./ /srv/ | |
RUN sed -i 's/0\.0\.0\.0/0.0.0.0:{$PORT}/' /etc/Caddyfile | |
RUN sed -e '$a tls off' /etc/Caddyfile |
This file contains 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
C:\carry\caddy.exe run |
This file contains 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
function mog(num){ | |
var str=""; | |
for (var i=0; i<num; i++) { | |
str = str + "(・~・)mog "; | |
} | |
str = str.slice(0, -1); | |
return str; |
This file contains 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
# Balloons | ruby4ij | |
# Copyright (c) 2019 Keiichi Shiga (BALLOON | FU-SEN) | |
# The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
cls | |
while inkey()==-1 | |
x=rnd 31 | |
lc x,23 | |
p 232 |
This file contains 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
' Sine curve | MSX-BASIC | |
' Copyright (c) 2019 Keiichi Shiga (BALLOON | FU-SEN) | |
' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
10 COLOR 15,4,7:SCREEN 2 | |
20 LINE(0,96)-(255,96),14 | |
30 FOR X=0 TO 255 | |
40 Y=96*(1-3.1415927*2*X/192) | |
50 PSET(X,Y),15 | |
60 NEXT X | |
70 I$=INPUT$(1) |
This file contains 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
/* | |
Sine curve | z88dk mono graphics | |
Copyright (c) 2019 Keiichi Shiga (BALLOON | FU-SEN) | |
The MIT License (MIT) - https://mit.balloon.net.eu.org/#2019 | |
MSX (MSX turbo R has the tape feature removed!): | |
zcc +msx -lm -lmsxbios -create-app -bn sin sin.c (Cassette tape image, generate sin.cas) | |
--> BLOAD"CAS:",R | |
zcc +msx -lm -lmsxbios -create-app -subtype=disk -bn sin sin.c (BASIC BLOAD file, generate sin.msx) | |
--> BLOAD"SIN.MSX",R |
This file contains 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
#include <stdio.h> | |
void main() { | |
for (int y=1; y<=6; y++) { | |
for (int x=1; x<=24; x++) { | |
printf("%c[%u;%uH ", 27, y, x); | |
} | |
} | |
printf("%c[%u;%uH",27,2,2); // locate |
This file contains 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
The MIT License (MIT) | |
Copyright (c) 2012-2019 Keiichi Shiga (BALLOON | FU-SEN) | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |