I hereby claim:
- I am dinir on github.
- I am dinir (https://keybase.io/dinir) on keybase.
- I have a public key ASDmJH_bgCWbfng6eot4ROyrXb-iT5iVX_7diA_g31S3fgo
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Format a copy-pasted table data text from Hangul Word Processor as an array. | |
| * | |
| * A pasted text is formatted like this: | |
| * \nA1\nB1\nC1\nA2\nB2\nC2\nA3\nB3\nC3\n | |
| * | |
| * with an appropriate regex used as a delimiter, e.g. '/\R(?!A)/', | |
| * this function can format the text to an array: | |
| * [['A1', 'B1', 'C1'], ['A2', 'B2', 'C2'], ['A3', 'B3', 'C3']] |
| ============================================================================================ | |
| PICO-8 v0.1.8 | |
| http://www.pico-8.com | |
| (c) Copyright 2014-2016 Lexaloffle Games LLP | |
| 만든 이: Joseph White // hey@lexaloffle.com | |
| 옮긴 이: Dinir Nertan // DinirNertan@gmail.com | |
| PICO-8은 아래의 기술로 만들어졌습니다: | |
| SDL2 http://www.libsdl.org |
| const changeClass = (target, firstCl, secondCl) => { | |
| // if first exist = add it | |
| // if both exist = change first to second | |
| // if both exist and first is * = overwrite with second | |
| if(firstCl) { | |
| if(!secondCl) { | |
| target.className += ` ${firstCl}`; | |
| } else { | |
| target.className = firstCl==="*"? | |
| secondCl: |
| const dobj = function(tag, names, inner, children, ...moreProps) { | |
| let newOne = document.createElement(tag); | |
| if(names) { | |
| if(names.constructor===Array) { | |
| names[0]?newOne.className = names[0]:""; | |
| names[1]?newOne.id = names[1]:""; | |
| } else | |
| newOne.className = names; | |
| } |
| #!/bin/bash | |
| # Dinir Nertan, 2016 | |
| # http://dinir.works, https://twitter.com/DinirNertan | |
| # I made this script to conveniently rsync files to my server | |
| # by removing the need of typing all the command every time. | |
| # HOW TO USE | |
| # Put this script on the base directory you want to sync files from, |
| #!/bin/bash | |
| export WINEPREFIX=$HOME/.wine32 WINEARCH=win32 | |
| winetricks xna40 | |
| (cd Application\ Files/kitty*; wine kitty.exe) | |
| set -e WINEPREFIX && set -e WINEARCH | |
| # Copy Kitty is a great game and you can download the demo in https://entanma.itch.io/copy-kitty . | |
| # | |
| # Install winetricks first before executing this script. `sudo pacman -S winetricks` will do in Arch. |
| <body> | |
| <div id="main"></div> | |
| </body> |
| <body> | |
| <div id="main"></div> | |
| </body> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta content="text/html;charset=utf-8" http-equiv="content-type"> | |
| <meta content="utf-8" http-equiv="encoding"> | |
| <meta name="viewport" | |
| content="width=device-width, initial-scale=1.0"/> | |
| <title>Title</title> | |
| <!-- <link rel="shortcut icon" href="/favicon.ico"> |
I hereby claim:
To claim this, I am signing this object: