Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View mrkn's full-sized avatar
:octocat:

Kenta Murata mrkn

:octocat:
View GitHub Profile
@unak
unak / ruby-mswin64-202204.md
Last active November 11, 2023 06:45
RubyをVisual C++でビルドする 2022.04版(+2022.12・2023.06追記)

Visual C++をインストールする

というか、Visual Studioになるわけだが。 普通はCommunity Editionで問題ないと思うが、用途に応じてライセンスを選ぶこと。 インストールする際には、Windowsデスクトップ開発とかいうのを選ぶ。他はお好みで。 あー、確認してないけど、英語の言語パックは入れた方が多分いいです。入れないとだめかもしれない(thx hsbtさん)。

vcpkgをインストールする

GitHubにあるので、READMEの手順に従えばいい。 この過程でgitも入ることになる。

@znz
znz / RubyPrize.md
Last active January 29, 2020 01:32
Ruby Prize 候補者(敬称略)
@tadd
tadd / ruby23.log
Created November 13, 2016 14:55
rational benchmark, Ruby 2.3 vs 2.4
Warming up --------------------------------------
rat + fix 134.525k i/100ms
rat + big 72.034k i/100ms
rat + flt 186.444k i/100ms
rat + rat 116.875k i/100ms
rat - fix 134.165k i/100ms
rat - big 65.282k i/100ms
rat - flt 182.951k i/100ms
rat - rat 153.479k i/100ms
rat * big 80.963k i/100ms
@z80oolong
z80oolong / 00_TMUX_FIX.md
Last active October 4, 2021 22:50
tmux 2.5 以降において East Asian Ambiguous Character を全角文字の幅で表示する

tmux 2.5 以降において East Asian Ambiguous Character を全角文字の幅で表示する

告知 (2019/03/15, 2020/04/29)

これまで、本稿の Gist にて公開しておりました [tmux 2.5][TMUX] 以降において [East Asian Ambiguous Character][EAWA] を全角文字の幅で表示する為の差分ファイルについて、差分ファイルの分量が多くなったことに伴い、今後は以下の [Github][GITH] のリポジトリにて [tmux][TMUX] の [East Asian Ambiguous Character][EAWA] 対応差分ファイルを公開することと致します。

また、今後 [East Asian Ambiguous Character][EAWA] 対応の [tmux][TMUX] の導入を御考えの方は、後述する [Linuxbrew][BREW] を用いた差分ファイルの適用及びインストール若しくは、 [AppImage パッケージ][APPR]を用いたインストールを御勧め致します。

@saitoha
saitoha / README.txt
Last active June 19, 2022 09:51
Install mlterm-cocoa via Homebrew
# install
$ brew install https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/mlterm-cocoa.rb
# settings
$ mkdir $HOME/.mlterm
$ curl https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/color > $HOME/.mlterm/color
$ curl https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/font > $HOME/.mlterm/font
$ curl https://gist.githubusercontent.com/saitoha/3377f59b0bf87882f319/raw/main > $HOME/.mlterm/main
@7shi
7shi / text.md
Last active March 15, 2017 06:38
アスキードワンゴ編集部 編集長 鈴木嘉平氏 『技術書を出版するには』
@studio3104
studio3104 / WeeChat を入れてやったことまとめ.md
Last active January 19, 2019 04:19
都度追記型 WeeChat メモ

基本設定

  • nick

    weechat: /set irc.server_default.nicks "studio3104,studio3104_,studio3104__"
    
  • higlight

@MattSurabian
MattSurabian / PackerPolicy.json
Last active May 27, 2022 21:46
Minimum IAM policy required by AWS for Packer to do its thing. https://github.com/mitchellh/packer Permissions are broken out by API functionality and a resource array has been defined with a wild card for each group. For tighter security resource level permissions can be applied per this documentation: http://aws.typepad.com/aws/2013/07/resourc…
{
"Statement": [
{
"Sid": "PackerSecurityGroupAccess",
"Action": [
"ec2:CreateSecurityGroup",
"ec2:DeleteSecurityGroup",
"ec2:DescribeSecurityGroups",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:RevokeSecurityGroupIngress"
@nobu
nobu / ltsv.rb
Last active December 12, 2015 07:28
LTSV viewer in Ruby
# -*- coding: us-ascii -*-
require 'csv'
require 'yaml'
class LTSV < CSV
attr_accessor :ordered
alias ordered? ordered
def self.def_options(opt, options = {})