Skip to content

Instantly share code, notes, and snippets.

View neetsdkasu's full-sized avatar
🔰
take it easy

Leonardone @ NEETSDKASU neetsdkasu

🔰
take it easy
View GitHub Profile
@neetsdkasu
neetsdkasu / Flag.fs
Last active July 22, 2020 12:55
JSONの構造解析 (JsonAnalyzer.fs)
//
// JsonAnalyzer
// - Flag module
//
// parse Command-line Arguments
//
module Flag
let showUsage() =
@neetsdkasu
neetsdkasu / Heap.vb
Last active September 22, 2017 06:36
VB.NET Array Heap
Option Explicit On
Option Strict On
Option Compare Binary
Option Infer On
Class HItem(Of T)
Public Index As Integer
Public Value As T
End Class
@neetsdkasu
neetsdkasu / allcheck.js
Created May 12, 2017 19:55
checked all checkboxes in a page of website with development console of browser.
var a=document.getElementsByTagName('input');for(i in a){if(a[i].type=='checkbox'){a[i].checked='checked';}}
@neetsdkasu
neetsdkasu / FSharpWithMSBuild.md
Last active March 1, 2017 22:31
MSBuildを使ってF#をコンパイル
@neetsdkasu
neetsdkasu / consolelike.html
Last active September 15, 2016 11:16
コンソール風(風なだけ)
<!DOCTYPE html>
<html>
<head><meta charset="utf8" />
<title>Console Like</title>
<style type="text/css">
body { background-color: gray; }
h1 { text-align: center; color: yellow; }
pre.myconsole { text-align: left; margin: auto; background-color: black; color: white; width: 480px; height: 320px; overflow: auto; }
input.myinput { width: 410px; }
div.formouter { text-align: center; }
@neetsdkasu
neetsdkasu / permutation.js
Last active September 13, 2016 18:01
[JavaScript] Permutationsとかいう順列(?)の総並べ替えをイテレーションする感じ?(ショボくて使えましぇんよ) ※ https://git.io/vi2Rx が必須
// permutation
// author : Leonardone @ NEETSDKASU
// license: MIT
createPermutationIter = (function() {
var funcName = "createPermutationIter";
function errmsg(s) { return "[" + funcName + "] Error! " + s; }
var defaultMethod_getNext = "getNext";
var defaultMethod_hasNext = "hasNext";
@neetsdkasu
neetsdkasu / parsearguments.js
Last active September 14, 2016 10:43
[JavaScript] 関数の引数をパース(?)する?(すごくショボくて使えないじょ) (この引数パースを使ってみたやつ→ https://git.io/vi20U
// parse arguments
// author : Leonardone @ NEETSDKASU
// license: MIT
// 他の関数の引数を仕分ける
////////////////////////////////////////////////////////////////////////////////
// parseArguments(args, xpnd)
// args ... 仕分け対象の関数の引数 (自動変数 arguments を渡す)
// xpnd ... 仕分け方の配列
////////////////////////////////////////////////////////////////////////////////
@neetsdkasu
neetsdkasu / FSharpAssembleInfomation.md
Last active August 31, 2016 18:22
F#でアセンブリにアプリケーションタイトルやバージョン情報などを付加する

Practice Markdown

Practice Markdown

Practice Markdown

Practice Markdown

@neetsdkasu
neetsdkasu / FSharpSepCompile.md
Last active March 21, 2017 01:21
F#でファイル分けてコンパイル

概要

ファイルを

  • module1.fs
  • module2.fs
  • test.fs

の3つに分けてコンパイルする。
これらの結果がおま環なのかは不明。
検証不十分。