Skip to content

Instantly share code, notes, and snippets.

View amigojapan's full-sized avatar

Usmar A Padow amigojapan

View GitHub Profile
--rename to main.lua
--run love .
player={}
player.x=100
player.y=100
player.speed=50
object1={}
object1.x=300
object1.y=300
sheldon play (Mar 6th, 2015)
sheldon puts on a play, but he takes a ver very long time to come out,
the title of the play is “my implacity is my service”. people start to
talk to each other “what is going on?” someone goes and opens the curtain ,
and a sculpture of a sheep is inside the curtains. then people start laughing,
and making fun of sheldon. one person in particular makes fun of sheldon,
on all the silly things he had done throughout out his life…. it is later
revealed that the person making fun of sheldon was sheldon himself, and he
takes a rose out, turning the hate into joy.
Short summary of The plot of Sailor Moon from the original arc to
the Stars arc (witten by Usmar A. Padow (amigojapan) copyright
belongs to Takeuchi Naoko sensei 1992)
(warnning: Spoilers of Sailor Moon are written in this document)
first episode:
Tsukino Usagi, the main character is introduced...
She meets a talking cat called Luna, who gives her a broach to be
able to transform into Sailor Moon.
When she actually faces an enemy, she is a cry baby and won't fight
function LCS(str1, str2)
local len1 = #str1
local len2 = #str2
-- Create a 2D array to store the lengths of longest common subsequences
local dp = {}
for i = 0, len1 do
dp[i] = {}
for j = 0, len2 do
dp[i][j] = 0
死なせない
日本は昔から切腹だとか、
最近自殺する人が多い事で
知られてるのですが、
私が思うにはこれが
皆物理的科学概念に
見問われて、「死んだら
楽になれる」と思い込んでる
からだと思います。
Dream about car race
I had a dream that I was in a car
race with another two participants,
One of the other racers would hit the
brakes just when I was behind him but
I learned to do it back to him and was
in first place, by car we reached the
mid point where we had to turn back
[SOLVED]
$ cygcheck -l liblua-devel
/usr/include/lua5.3/lauxlib.h
/usr/include/lua5.3/lua.h
/usr/include/lua5.3/lua.hpp
/usr/include/lua5.3/luaconf.h
/usr/include/lua5.3/lualib.h
/usr/lib/liblua5.3.dll.a
/usr/lib/pkgconfig/lua5.3.pc
/etc/postinstall/liblua-devel.sh
local posix = require("posix")
-- Function to set non-blocking mode for a file descriptor
local function setNonBlocking(fd)
local flags = posix.fcntl(fd, posix.F_GETFL, 0)
posix.fcntl(fd, posix.F_SETFL, flags + posix.O_NONBLOCK)
end
-- Open stdin in non-blocking mode
setNonBlocking(0) -- 0 is the file descriptor for stdin
the think tank
there were 4 fish and a frog in a fish tank.
they spent their days swimming around and
looking at the blurry images on the walls
of the fish tank…
one day the fish started to talk about
what could possibly be outside of the
server$ = "irc.libera.chat"
nick$ = "quickbasicIRC"
channel$ = "##anime"
client = _OpenClient("TCP/IP:6667:" + server$)
line$ = "nick " + nick$ + Chr$(10) + Chr$(13) + "user a a a a" + Chr$(10) + Chr$(13)
Put #client, , line$: Sleep 2
line$ = "join " + channel$ + Chr$(10) + Chr$(13)
Put #client, , line$: Sleep 2
Do