iTerm のデザイン設定まとめ。
フォント: Cica
フォントサイズ: 14.5 pt
itermcolors は ShootingStar ベース(だった気がする)
| require 'twitter' | |
| require 'net/http' | |
| TWITTER_CK = '' | |
| TWITTER_CS = '' | |
| TWITTER_AT = '' | |
| TWITTER_AS = '' | |
| USER = 'tktiau' | |
| Dir.mkdir(USER) unless Dir.exists?(USER) |
iTerm のデザイン設定まとめ。
フォント: Cica
フォントサイズ: 14.5 pt
itermcolors は ShootingStar ベース(だった気がする)
| =begin | |
| ニコニコ大百科と pixiv 百科事典の and をとった感じの IME 辞書を作るスクリプト | |
| およそ https://www.ncaq.net/2017/03/10/ に近い挙動をする。 | |
| 読みはニコニコ大百科からとる。 | |
| ニコニコとピクシブの両方に単語登録されているものだけ選ぶ。 | |
| 次のものは取り除いてある。 | |
| ・ブラックリストに入っているもの | |
| ・カッコを含むのに読みに「かっこ」が含まれないもの | |
| ・読みが 1 文字以下のもの |
| # MariaDB database server configuration file. | |
| # | |
| # You can copy this file to one of: | |
| # - "/etc/mysql/my.cnf" to set global options, | |
| # - "~/.my.cnf" to set user-specific options. | |
| # | |
| # One can use all long options that the program supports. | |
| # Run program with --help to get a list of available options and with | |
| # --print-defaults to see which it would actually understand and use. | |
| # |
| require 'bin_utils' | |
| require 'fileutils' | |
| require 'oily_png' | |
| require 'parallel' | |
| require 'zlib' | |
| class FavBin | |
| attr_reader :entries | |
| def initialize(bin) |
| #!/usr/bin/env zsh | |
| local -A opts | |
| local -a matlab_opts args | |
| zparseopts -D -M -A opts -- h help=h path: -path:=path \ | |
| c: noFigureWindows softwareopengl nosoftwareopengl debug singleCompThread \ | |
| nojvm jdb: sd: useStartupFolderPref logfile: nouserjavapath | |
| usage() { | |
| echo 'MATLAB の関数をスクリプトライクに実行するコマンドです。' 1>&2 | |
| echo "usage: $0 [-path MATLAB path] [-matlab-options] script.m [arg1] [arg2] [...]" 1>&2 |
| TCLSH = tclsh | |
| PREFIX = /usr/local | |
| TMP = /tmp/__wavesurfer_build | |
| ROOT = $(shell pwd) | |
| RUNTIME_win = $(ROOT)/build/kit/tclkit-8.5.8-win32.upx.exe | |
| RUNTIME_linux = $(ROOT)/build/kit/tclkit-8.6.6-linux-i386-xcompile | |
| RUNTIME_linux64 = $(ROOT)/build/kit/tclkit-8.6.6-linux-amd64 | |
| # for 32-bit OSX builds, uncomment these |
| # frozen_string_literal: true | |
| require 'net/http' | |
| require 'uri' | |
| def fetch(target, file) | |
| query = URI.encode_www_form('mode' => 'dl', 'category' => 'character', 'target' => target) | |
| uri = URI.parse('https://cinderella-mercari.idolmaster.jp/?' + query) | |
| request = Net::HTTP::Get.new(uri) | |
| request['Authority'] = 'cinderella-mercari.idolmaster.jp' |
| #!/usr/bin/env ruby | |
| require 'json' | |
| require 'net/http' | |
| require 'shellwords' | |
| require 'uri' | |
| unless ARGV[0] | |
| warn "usage: #{$0} RecordID [TrackNo] [Output]" | |
| exit 1 | |
| end |