Skip to content

Instantly share code, notes, and snippets.

View 12Me21's full-sized avatar
💭
mm..

12 12Me21

💭
mm..
  • ‭​ ⇠ check out my badges
  • X @lOgoUt
View GitHub Profile
@nylki
nylki / char-rnn recipes.md
Last active March 16, 2024 15:13
char-rnn cooking recipes

do androids dream of cooking?

The following recipes are sampled from a trained neural net. You can find the repo to train your own neural net here: https://github.com/karpathy/char-rnn Thanks to Andrej Karpathy for the great code! It's really easy to setup.

The recipes I used for training the char-rnn are from a recipe collection called ffts.com And here is the actual zipped data (uncompressed ~35 MB) I used for training. The ZIP is also archived @ archive.org in case the original links becomes invalid in the future.

@y-ack
y-ack / monster_names.asm
Last active February 21, 2017 21:06
replaced names
MonsterNames:
db "RHYDON@@@@"
db "KANGASKHAN"
db "NIDORAN♂@@"
db "CLEFAIRY@@"
db "SPEAROW@@@"
db "VOLTORB@@@"
db "NIDOKING@@"
db "SLOWBRO@@@"
db "IVYSAUR@@@"
@y-ack
y-ack / highcompatSBS.txt
Last active October 18, 2021 13:24
Generates some kind of tree structure of an HTML document for CSS
How to read generated maps:
+-- is a branch. a branch will be a child of the parent element above it
Element details are in the format
+--name[.class][#ID][ (input type)][ :[href]][ :[target]]
element
.class
#ID
(input type)
:["href/target"]
<a class="wacky" id="mine" href="/away" thingsyoudontcareabout="t" value="900000"> would yield
@myu314
myu314 / petitcom-sound-memo.md
Last active January 24, 2020 04:07
プチコン3号の音周りの仕様について調べたメモ

プチコン3号音周り関係メモ

プチコン3号の音周りの仕様について調べたメモです。

実機の動作を見ながら大体こんな感じかなーで書きなぐったものなので、正しさはその程度です。 動作の確認は、今のところ v3.5.2 で行っています。

間違い・質問などございましたら、twitter もしくは下の方のコメント欄にお願いします。

@y-ack
y-ack / brak.PRG
Created May 8, 2018 01:04
3-character language made for bracket challenge @12Me21 @ajc2
DIM STACK0[0],STACK1[0]
DIM STACK2[0],STACK3[0]
DIM STACK4[0],STACK5[0]
DIM STACK6[0],STACK7[0]
DIM STACK8[0]
'Registers
VAR r0%, r1%, r2%, r3%, r4%, r5%, r6%
VAR r7% 'pc
VAR NUMERIC% 'special fake register for numeric literals
VAR CYCLES%
@y-ack
y-ack / IMPORTANT.org
Last active March 11, 2019 05:53
Necessary Study For Being a Clever Youkai

Statistics

Introductory statistics at minimum. p-values, different significance tests, precision vs. accuracy, sampling and bias.

Basic Computer Skills

Keyboarding

Speed and use of keyboard shortcuts to the point that a mouse is unnecessary for 70%+ of tasks

UNIX

Understand filesystem, ability to navigate a unix shell. https://en.wikipedia.org/wiki/List_of_Unix_commands

  • ls, cd, pwd, tail, tee, strings, rm, patch, nohup, more, mkdir, man, ls, ln, kill, grep, find, fg, echo, du, diff, df, dd, date, cut, cp, chown, chmod, chgrp, cd, cat, bg, alias, sudo, umount
  • extra credit: sed/awk, emacs/vi, curl, which, mkfs, lsblk, blkid
@y-ack
y-ack / find-missing.ps1
Last active March 19, 2019 04:04
mssing documentation
Set-Clipboard ((((Invoke-WebRequest "updog" -Credential "junkdata").Content) -split "`n") -match "missing!" | sort)
@lynn
lynn / ji.py
Last active February 21, 2024 11:46
play just-intonation chord progressions in your terminal
#!/usr/bin/env python
#
# python3.8 ji.py --help
# python3.8 ji.py CEGBb CE-GBbL | aplay -r44 -f S16_LE
# python3.8 ji.py CEGBb CE-GBbL | ffmpeg -f s16le -ar 44.1k -ac 1 -i - ji.mp3
"""
Play chord progressions in just intonation.
Raw PCM audio is written to stdout (signed, 16-bit, LE, mono).
@mouse-reeve
mouse-reeve / fizzbuzz.py
Last active April 22, 2022 06:33
Fizzbuzz via answers.com
''' we're solving fizzbuzz with a little help from the web '''
from html.parser import HTMLParser
from urllib.request import Request, urlopen
import re
import time
base_url = 'https://www.answers.com/Q/'
tag_name = 'div'
class_name = 'answer-body'
delimiter = '_'
@Treeki
Treeki / TurnipPrices.cpp
Last active July 8, 2024 02:08
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{