Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenta Murata mrkn

View GitHub Profile
View config.log
This file has been truncated, but you can view the full file.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /usr/src/ruby/configure --build=x86_64-linux-gnu --prefix=/usr/local --disable-install-doc --enable-shared optflags=-O3
## --------- ##
View alacritty.log
Process: alacritty [90052]
Path: /Applications/Alacritty.app/Contents/MacOS/alacritty
Identifier: io.alacritty
Version: 0.4.3-rc1 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: alacritty [90052]
User ID: 501
Date/Time: 2020-06-01 12:05:01.009 +0900
View libgr.log
$ brew install --verbose libgr
/usr/bin/sandbox-exec -f /private/tmp/homebrew20200131-84978-1r09280.sb nice ruby -W0 -I $LOAD_PATH -- /opt/brew/Library/Homebrew/build.rb /opt/brew/Library/Taps/homebrew/homebrew-core/Formula/libgr.rb --verbose
==> Downloading https://github.com/sciapp/gr/archive/v0.46.0.tar.gz
Already downloaded: /Users/mrkn/Library/Caches/Homebrew/downloads/4f2bd12846615a5586088e085b5acb3779ef4b768d38626c4011353539be62d6--gr-0.46.0.tar.gz
==> Verifying 4f2bd12846615a5586088e085b5acb3779ef4b768d38626c4011353539be62d6--gr-0.46.0.tar.gz checksum
tar xof /Users/mrkn/Library/Caches/Homebrew/downloads/4f2bd12846615a5586088e085b5acb3779ef4b768d38626c4011353539be62d6--gr-0.46.0.tar.gz -C /private/tmp/d20200131-84979-1egd1kd
cp -pR /private/tmp/d20200131-84979-1egd1kd/gr-0.46.0/. /private/tmp/libgr-20200131-84979-16b2yni/gr-0.46.0
chmod -Rf +w /private/tmp/d20200131-84979-1egd1kd
==> make GRDIR=/opt/brew/Cellar/libgr/0.46.0
/Applications/Xcode_11.3.app/Contents/Developer/usr/bin/make -C lib/gks GRDIR=
View new_api_on_plotly.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View new_box_plot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View charty_new_bar_plot_api.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrkn
mrkn / lambda_function.rb
Created Aug 24, 2019
The lambda function of daily_prime_check
View lambda_function.rb
require 'json'
require 'prime'
require 'net/http'
require 'uri'
SLACK_URL = 'https://hooks.slack.com/services/....'
def post_to_slack(url, message)
uri = URI.parse(url)
response = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http|
View first_commits.sh
git log --pretty=format:'%ct %h %cn' | \
sort -n | \
ruby -e "gets;c={};while line = gets;t, _, n = line.chomp.split(' ');puts %Q(#{c[n] = n} #{Time.at(t.to_i).strftime('%Y%m%dT%H%M%S')}) unless c[n];end"
View iruby_folium_sample_ja.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:8319b4c4b6b8477f519fc9504e7ab90d
===== LIMIT=1000 =====
Calculating -------------------------------------
Mysql2Test.test_pluck_by_arrow(n) 64.717M bytes - 100.000 times
Mysql2Test.test_pluck(n) 154.227M bytes - 100.000 times
Comparison:
Mysql2Test.test_pluck_by_arrow(n): 64716800.0 bytes
Mysql2Test.test_pluck(n): 154226688.0 bytes - 2.38x larger
===== LIMIT=2000 =====
You can’t perform that action at this time.