Skip to content

Instantly share code, notes, and snippets.

Ysnr Kdm ysnrkdm

Block or report user

Report or block ysnrkdm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Makefile
.PHONY: build
build: update
TOOLCHAINS=swift swift build -c release -Xswiftc -Ounchecked
.PHONY: update
update: Package.swift
swift package update
.PHONY: run
run: build
@ysnrkdm
ysnrkdm / vector.rs
Created Jan 14, 2019
vector.rs - レンダリングエンジン用のベクトルデータ構造
View vector.rs
#![feature(trace_macros)]
use std::ops::{Add, Sub, Mul, Div, Neg, AddAssign, MulAssign};
#[derive(Copy, Clone, Debug)]
#[repr(C)]
pub struct Vector3 {
pub x: f64,
pub y: f64,
pub z: f64,
@ysnrkdm
ysnrkdm / try_split_address.rb
Created Apr 12, 2019 — forked from zakuroishikuro/try_split_address.rb
住所を分ける正規表現をチェックするやつ
View try_split_address.rb
require 'csv'
require 'optparse'
#
# なるべく短い正規表現で住所を「都道府県/市区町村/それ以降」に分けるエクストリームスポーツ
# http://qiita.com/zakuroishikuro/items/066421bce820e3c73ce9
#
# 正規表現で住所の「都道府県/市区町村/それ以降」をキャプチャできるか試すスクリプト
# 使い方はとりあえず実行すれば分かると思います
#
You can’t perform that action at this time.