This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
selectNode: (id, items)-> | |
for i,item of items | |
item.selected = false | |
if item.id == id | |
item.selected = true | |
this.selectNode(id, item.children) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rh1039:composetest kazuhisa$ docker-compose up | |
Creating network "composetest_default" with the default driver | |
Building web | |
Step 1 : FROM python:3.4-alpine | |
3.4-alpine: Pulling from library/python | |
3690ec4760f9: Already exists | |
8cf4eb2be1b3: Pull complete | |
a196ebb46a8b: Pull complete | |
c72b1f1aa3a4: Pull complete | |
Digest: sha256:4a422a07aa1b6393c1ab2cf23ff79a5c16356016350019ebf8f1d31093329bab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener 'turbolinks:load', -> | |
$('.datepicker').flatpickr | |
locale: 'ja' | |
$('.datetimepicker').flatpickr | |
enableTime: true | |
time_24hr: true | |
locale: 'ja' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaa: | |
bbb: 123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'csv' | |
require 'securerandom' | |
require 'benchmark' | |
writer = CSV.open('/tmp/out.csv', 'w') | |
Benchmark.bm 10 do |r| | |
r.report "ベンチマーク" do | |
1_000_000.times.each do | |
writer << [SecureRandom.hex(10), rand(1_000)] | |
end |
OlderNewer