Skip to content

Instantly share code, notes, and snippets.

View NotFounds's full-sized avatar
🦕

Iori IKEDA NotFounds

🦕
View GitHub Profile
@yu59
yu59 / canvas.ex
Created November 11, 2018 09:56
RTG
defmodule RtgWeb.Js.Canvas do
@moduledoc """
HTMLCanvasElement context.
"""
alias ElixirScript.Core.Store
alias ElixirScript.JS
alias ElixirScript.Web
@dialyzer [:no_fail_call, :no_return, :no_unused]

パフェのための基礎理論

テトリス Advent Calendar 2017 3日目の記事になります。

こんにちは。newjade と申します。普段はパフェ用のツールを作りつつ、理論値を調べているパフェ屋さんです。だいたい twitter に出没しています。

今回の記事は、連パフェについてです。ワールドルールを基準に書いています。 パフェ自体、これまではまとまった資料がほとんどありませんでした(テト界隈だとあまり人気がなさげ)。

ただ最近になり、harddropのwikiに開幕パフェの記事が掲載されました。

@NotFounds
NotFounds / csr.sh
Last active May 7, 2017 15:50
Usage: $csr foo.cs in in1 ...
#!/bin/sh
mcs -r:System.Numerics $1 -out:out.exe
if [ "$?" -eq 1 ]; then
exit 1
fi
shift
if [ "$1" == "" ]; then
{ time mono out.exe ; }
if [ "$?" -eq 1 ]; then
rm out.exe
@ksasao
ksasao / ImageVector.cs
Last active January 17, 2022 02:41
C#による高速画像一致検索クラス。フル版は https://github.com/ksasao/Gochiusearch にあります。
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
@NotFounds
NotFounds / Template.cs
Last active June 4, 2017 06:19
for Competition Programing in C# 6.0
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
using static NotFounds.MyMath;
using static NotFounds.MyUtility;
namespace NotFounds
@matsuhisa
matsuhisa / json_import.js
Created September 27, 2015 08:57
node.js でのjsonファイルの読み込み
var fs = require('fs');
var json = JSON.parse(fs.readFileSync('./test.json', 'utf8'));
console.log(json.marker[0].name);
@draftcode
draftcode / gist:1357281
Created November 11, 2011 05:35
構文解析 Howto

構文解析 Howto

Author

draftcode

Date

2011-11-11T13:18:07+09:00

ID

289a0136-0c1c-11e1-a06b-040ccee352e6

こうぶん、かいせきー