Skip to content

Instantly share code, notes, and snippets.

🎈
🎈😍

BALLOON a.k.a. Fu-sen. fu-sen

View GitHub Profile
@fu-sen
fu-sen / fuwafuwa.bas
Last active Mar 17, 2019
フワフワ Fuwafuwa | IchigoJam BASIC 1.0.0+ https://15jamrecipe.jimdo.com/
View fuwafuwa.bas
10 'フワフワ
20 CLS:CLV:CLP:X=16:Y=1
30 L=S/50:IF L>15 L=15
40 B=RND(16+L)+((15-L)/2)
50 LC B,23:?CHR$(232)
60 X=X-(BTN(28))+(BTN(29))
70 IF V OR W Y=Y-1 ELSE Y=Y+1
80 IF X<1 OR X>30 GOTO 150
90 IF Y<1 OR Y>22 GOTO 150
100 V=SCR(X,Y):W=SCR(X,Y+1)
View neocities-cli-switch.bat
@echo off
setlocal
if "%1"=="" (
set /p USER="input user name>"
) else (
set USER=%1
)
C:
@fu-sen
fu-sen / config.toml
Created Jan 11, 2019
Hugo Do not output: tags/ and categories/
View config.toml
disableKinds = ["taxonomy","taxonomyTerm"]
@fu-sen
fu-sen / config.toml
Created Jan 11, 2019
Hugo Do not output: tags/, categories/, sitemap.xml and index.xml
View config.toml
disableKinds = ["taxonomy","taxonomyTerm","sitemap","RSS"]
@fu-sen
fu-sen / sitemap.xml
Created Jan 11, 2019
Hugo 1 page only /layouts/sitemap.xml (Sitemap)
View sitemap.xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>{{ .Site.BaseURL }}</loc>
<lastmod>{{ safeHTML ( .Site.LastChange.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>
</url>
</urlset>
@fu-sen
fu-sen / index.xml
Last active Jan 11, 2019
Hugo 1 page only /layouts/index.xml (RSS)
View index.xml
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
@fu-sen
fu-sen / 5th.bas
Last active Jan 7, 2019
IchigoJam 5 周年 5th Anniversaty | IchigoJam BASIC 1.2.0+ https://15jamrecipe.jimdo.com/
View 5th.bas
' IchigoJam 5th Anniversaty | IchigoJam BASIC 1.2.0+
' Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
' IchigoJam officially logo - CC BY IchigoJam http://ichigojam.net/ Licensed by jig.jp
' The MIT License (MIT) - https://gist.github.com/fu-sen/7e55ee56a67e07d804db9379178e3cb5
POKE#D00,0,0,0,0,0,0,0,138,0,0,138,0,130,0,0,0
POKE#D10,0,0,138,0,0,0,0,0,0,0,0,0,0,0,0,0
POKE#D20,0,0,0,0,0,0,0,138,138,131,138,139,138,138,139,138
POKE#D30,139,0,138,138,139,130,135,135,133,0,0,0,0,0,0,0
POKE#D40,0,0,0,0,0,0,0,130,130,131,130,130,130,130,139,130
View MIT-License-2019.txt
The MIT License (MIT)
Copyright (c) 2019 Keiichi SHIGA (BALLOON a.k.a. 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:
View terminal.js
// Terminal | IchigoLatte 1.0.0b8+
// Copyright (c) 2018 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
// The MIT License (MIT) - https://gist.github.com/fu-sen/515460ed17a95323b0b8b9cec00de64e
//Terminal
var d,c=0;
bps(2400);
View chr10.bas
' Character Code List - Dec | IchigoJam BASIC 0.9.8 RC2+
' Copyright (c) 2018 Keiichi SHIGA (BALLOON a.k.a. Fu-sen.)
' The MIT License (MIT) - https://gist.github.com/fu-sen/515460ed17a95323b0b8b9cec00de64e
10 'キャラクターコード イチラン 10
20 CLS
30 FOR C=0 TO 255
40 X=C%20:Y=C/20
50 POKE #900+(Y+3)*32+X+4,C
60 NEXT
70 FOR C=0 TO 19
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.