Skip to content

Instantly share code, notes, and snippets.

View ryz310's full-sized avatar
😁
Fine

Ryosuke Sato ryz310

😁
Fine
View GitHub Profile
@yoshimana
yoshimana / BrewBundleの使い方.md
Created October 29, 2019 07:23
Brew Bundleの使い方

Brew Bundle

インストール

$ brew tap Homebrew/bundle
@Phroneris
Phroneris / howGithubMarkdownDetailsWork.md
Last active June 17, 2024 05:41
GitHubのMarkdownで折りたたみ記法の中身を整形させる方法

どうやら</summary>後の空行以降から整形される。

記述

違いは</summary>後の空行だけ。

<details>
<summary>これは中身が整形されない</summary>
1. 野菜**A**の皮を剥く。
2. 乱切りにする。
@namikingsoft
namikingsoft / waffle_wip_judge.sh
Last active December 4, 2018 02:28
Judge Exceeded WIP Limit on Waffle.io (Experimental)
#!/bin/sh -eu
#
# required env:
# WAFFLE_ACCESS_TOKEN
# WAFFLE_ORG_NAME
# WAFFLE_PROJECT_NAME
#
# required packages:
# base64
# curl
@zakuroishikuro
zakuroishikuro / try_split_address.rb
Last active October 24, 2023 06:12
住所を分ける正規表現をチェックするやつ
require 'csv'
require 'optparse'
#
# なるべく短い正規表現で住所を「都道府県/市区町村/それ以降」に分けるエクストリームスポーツ
# http://qiita.com/zakuroishikuro/items/066421bce820e3c73ce9
#
# 正規表現で住所の「都道府県/市区町村/それ以降」をキャプチャできるか試すスクリプト
# 使い方はとりあえず実行すれば分かると思います
#
@masutaka
masutaka / my-brew-bundle
Last active July 9, 2018 08:04
A smart `brew bundle`
# moved to https://github.com/masutaka/dotfiles-public/blob/master/bin/my-brew-bundle
@ysaotome
ysaotome / installing_ricty_on_MacOSX.sh
Last active December 27, 2015 06:59
プログラミング用フォントRitcyをOS X Mavericks (10.9)でセットアップ。要 homebrew https://github.com/yascentur/Ricty
#!/bin/bash
## install fontforge
brew install fontforge
##mkdir work
mkdir ~/.Trash/ricty
cd ~/.Trash/ricty
## get fontfiles
module RSpec
module Core
class Example
def run_with_retry(example_group_instance, reporter)
@retrying_count = 0
succeeded = run_without_retry(example_group_instance, reporter)
unless succeeded
return finish_without_retry(reporter) unless retry_needed?
@kennyj
kennyj / gist:4966002
Last active March 14, 2022 02:28
ハイフン付き電話番号に分割
# encoding: utf-8
module TelSplitter
MAP = {
# 市外局番 , 市内局番の桁数のマップ
# http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html のデータを利用
# 固定電話以外の桁数は適当です...
'050' => 4, # IP電話
'070' => 4, # 携帯電話/PHS
'080' => 4, # 携帯電話
@ledsun
ledsun / DataTableExtentions.cs
Created December 27, 2012 05:15
DataTableをCSV文字列に変換する拡張メソッド
using System.Data;
using System.Linq;
using System.Text;
namespace Ledsun
{
public static class DataTableExtentions
{
#region 抽出結果データテーブルをCSVテキストに変換する。
/// <summary>