Skip to content

Instantly share code, notes, and snippets.

View 1stMinos's full-sized avatar

1stMinos 1stMinos

View GitHub Profile
@1stMinos
1stMinos / # gcc - 2017-06-30_15-39-09.txt
Created June 30, 2017 06:42
gcc on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for gcc on macOS 10.12.5
Build date: 2017-06-30 15:39:09
@1stMinos
1stMinos / HTML部分
Created March 12, 2017 07:51
JQuery-Validation-Engine使って、特定条件の時だけ入力させるフォームなどを使うときの話 ref: http://qiita.com/rojiuratech/items/4656908e615835a4c57b
<h2>ダンジョンに一人連れて行くとしたら</h2>
<input type=“radio” id=sel_0” class="gp validate[required]" name=“sel” value=“だくねす" >だくねす<br>
<input type=“radio” id=sel_1” class="gp validate[required]" name=“sel” value=“めぐみん” >めぐみん<br>
<input type=“radio” id=sel_2” class="gp validate[required]" name=“sel” value=“ゆんゆん” >ゆんゆん<br>
<input type=“radio” id=sel_3” class="gp validate[required]" name=“sel” value=“そのほか” >そのほか<br>
<input type=“text” id=“sel_free” class="validate[required]" name=“sel_free” style="display:none;" >
@1stMinos
1stMinos / gist:3081ee9b5671943da78902a7d3485c0e
Created January 29, 2017 18:29
川崎の1時間あたり降水量データから、30ミリ以上のデータを抜き出す
require 'spreadsheet'
readName = '26hyo2-15.xls'
writeName = 'result.xls'
#open books
readBook = Spreadsheet.open(readName)
writeBook = Spreadsheet::Workbook.new
readSheet = readBook.worksheet('Ⅱ-15その1')
@1stMinos
1stMinos / Vagrantfile
Last active February 24, 2017 09:23
(試行錯誤中) Vagrant の設定パターン チートシート
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-6.7"
config.vm.provider "virtualbox" do |v|
v.name = "Vagrant CentoOS for PHP7"
v.cpus = 2
v.memory = 1024
v.customize ["modifyvm", :id, "--vram","16"]
v.customize ["setextradata", :id, "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled", 0]
end
@1stMinos
1stMinos / kintone_ckeced_button
Last active March 9, 2016 07:49
キントーンでチェック処理を行う場合の記述
(function () {
//イベントの取得(詳細表示時に行う)
kintone.events.on('app.record.detail.show', function(event){
//スペース要素の取得
var se = kintone.app.record.getSpaceElement('vote');
//ボタンの作成