Skip to content

Instantly share code, notes, and snippets.

View yushimatenjin's full-sized avatar

yushimatenjin

View GitHub Profile
@yushimatenjin
yushimatenjin / japanese_full.txt
Created March 2, 2023 07:25 — forked from kgsi/japanese_full.txt
日本語文字コード範囲指定(ascii・ひらがな・カタカナ・第一水準および第二水準(JIS-X0208-1997)に含まれる漢字)
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890〜¡¢£¤¥¦§¨©ª«¬ ®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ‒–—―‖‗‘’‚‛“”„‟†‡•…‪‫‬‭‮ ‰′″‴‹›‼‾⁄⁞€™□ 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/◆□■△▲▽▼※〒→←↑↓〓∈∋⊆⊇⊂⊃アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンァィゥェォッャュョーガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポヴぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞたァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭ─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐
@yushimatenjin
yushimatenjin / input.scss
Created June 14, 2022 06:18
Generated by SassMeister.com.
#menu {
align-items: center;
justify-content: center;
display: flex;
}
.main-menu {
width: 300px;
padding: 0.5rem;
border-radius: 0.5rem;
border: 1px solid;
@yushimatenjin
yushimatenjin / input.scss
Created April 27, 2022 01:45
Generated by SassMeister.com.
.chat{
width: 300px;
padding: 0.5rem;
border-radius: 0.5rem;
border: 1px solid;
background: white;
}
.header{
/*jshint esversion: 6, asi: true */
const EmojiRandom = pc.createScript('emojiRandom');
// initialize code called once per entity
EmojiRandom.prototype.initialize = function() {
setInterval(() => {
const emojiCode = Math.floor(Math.random() * (129685 - 129660 + 1) + 129660);
const emoji = String.fromCodePoint(emojiCode)
console.log(emoji)
this.app.fire("text:set", this.entity.element, emoji)
var Replace2CanvasFont = pc.createScript('replace2canvasFont');
// initialize code called once per entity
Replace2CanvasFont.prototype.initialize = function() {
this.app.root.findComponents('element').forEach(function(elm){
if(elm.type === 'text') {
var font = new pc.CanvasFont(pc.app, {
fontName: 'UD Digi Kyokasho N-R, Helvetica, arial, sans-serif',
fontSize: 128,
});
var Replace2CanvasFont = pc.createScript('replace2canvasFont');
// initialize code called once per entity
Replace2CanvasFont.prototype.initialize = function() {
this.app.root.findComponents('element').forEach(function(elm){
if(elm.type === 'text') {
var font = new pc.CanvasFont(pc.app, {
fontName: 'UD Digi Kyokasho N-R, Helvetica, arial, sans-serif',
fontSize: 128,
});
var FirstPersonCamera = pc.createScript('firstPersonCamera');
// initialize code called once per entity
FirstPersonCamera.prototype.initialize = function() {
// Camera euler angle rotation around x and y axes
this.ex = 0;
this.ey = 0;
// Disabling the context menu stops the browser displaying a menu when
// you right-click the page
idx = 0
VRMs[idx].vrm.humanoid.humanBones.forEach(({bone, node}) => {
console.log(`${bone}: ${VRMs[idx].nodes[node].name}`)
})
@yushimatenjin
yushimatenjin / init.js
Created June 10, 2019 03:03
firebase-tools/src/commands/init.js
# firebase-tools/src/commands/init.js
@yushimatenjin
yushimatenjin / index.md
Created January 9, 2019 15:06 — forked from mitsuruog/index.md
express実践入門

express実践入門


自己紹介

小川充

  • mitsuruog