Skip to content

Instantly share code, notes, and snippets.

javascript:(()=>{const a=new URL(window.location.href);"www.amazon.co.jp"!==a.host||(location.href.match(/\/(?:dp|product|asin)\/([^/?%]+)/i)&&window.open(`https://sakura-checker.jp/search/${RegExp.lastParen}/`))})();
@m-ueno
m-ueno / cargobook.md
Last active March 28, 2022 12:22
14章補足資料

Cargo

リファレンス

The Cargo Book https://doc.rust-lang.org/cargo/

cargoとは (§2.1)

  • package manager
  • パッケージ管理にとどまらず、バイナリを作るための、あらゆる標準コマンドを提供する (-> §4)
  • crates.io : packageリポジトリ
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Logfile created on 2017-11-06 00:05:53 +0900 by logger.rb/v1.2.7
I, [2017-11-06T00:05:53.148203 #9255] INFO -- : #<BuildRuby:0x0055c3298a3558 @REPOSITORY="https://svn.ruby-lang.org/repos/ruby/trunk", @REPOSITORY_TYPE=:svn, @git_branch=nil, @svn_revision=nil, @TARGET_NAME="trunk-test", @SRC_DIR="/home/ko1/ruby/src", @BUILD_DIR="/home/ko1/ruby/build", @INSTALL_DIR="/home/ko1/ruby/install", @TARGET_SRC_DIR="/home/ko1/ruby/src/trunk-test", @TARGET_BUILD_DIR="/home/ko1/ruby/build/trunk-test", @TARGET_INSTALL_DIR="/home/ko1/ruby/install/trunk-test", @configure_opts=["--enable-shared"], @build_opts="-j40", @test_opts="TESTS='-j40'", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=7200, @logfile="/home/ko1/ruby/logs/brlog.trunk-test.20171106-000553", @logger=#<Logger:0x0055c3298b0b68 @progname=nil, @level=0, @default_formatter=#<Logg
This file has been truncated, but you can view the full file.
P3
800 800
255
75 64 53 24 23 21 25 23 21 25 23 21 25 23 21 25 23 21 25 23 21 25 23 21 25 23 22 25 24 22 26 24 22 26 24 22 26 24 22 26 24 22 26 24 22 26 24 22 26 24 22 26 25 23 27 25 23 27 25 23 27 25 23 27 25 23 27 25 23 27 25 23 27 25 24 28 26 24 28 26 24 28 26 24 28 26 24 28 26 24 28 26 24 28 26 24 28 27 25 29 27 25 29 27 25 29 27 25 29 27 25 29 27 25 29 27 25 29 27 26 30 28 26 30 28 26 30 28 26 30 28 26 30 28 26 30 28 26 30 28 27 31 29 27 31 29 27 31 29 27 31 29 27 31 29 27 31 29 27 31 30 28 32 30 28 32 30 28 32 30 28 32 30 28 32 30 28 32 30 28 32 31 29 33 31 29 33 31 29 33 31 29 33 31 29 33 31 29 33 31 30 34 32 30 34 32 30 34 32 30 34 32 30 34 32 30 34 32 30 34 33 31 35 33 31 35 33 31 35 33 31 35 33 31 35 33 31 35 33 32 36 34 32 36 34 32 36 34 32 36 34 32 36 34 32 36 34 32 37 35 33 37 35 33 37 35 33 37 35 33 37 35 33 37 35 33 38 36 34 38 36 34 38 36 34 38 36 34 38 36 34 38 36 34 39 37 35 39 37 35 39 37 35 39 37 35 39 37 35 39 37 35 40 38 36 40 38 36 40 38 36 40 38 36 40 38 36 40 38 36 41 39 37 41 39 37 4
# coding: utf-8
# ### データ分析の目的
#
# * 最高速度を上げたい, 平均速度を上げたい
# * 速度を上げるために、速度と因果関係にある「操作」が何か知りたい
# * IoTセンサーから得られる値を用いたサービス開発/デバッグの課題抽出
#
# ### データから確かめられそうなこと
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/*
// @grant none
// ==/UserScript==
import hug
from hug.api import API
from logging import getLogger, StreamHandler, DEBUG, INFO
from werkzeug.wsgi import DispatcherMiddleware
from flask import Flask
from flask.ext.autoindex import AutoIndex
API(__name__) # __hug_wsgi__ special variable becomes accessible below this line
@m-ueno
m-ueno / tmux_ubuntu14.04.sh
Created February 5, 2017 07:57 — forked from VladSem/tmux_ubuntu14.04.sh
install tmux 2.0 on Ubuntu 14.04
sudo apt-get update
sudo apt-get install -y python-software-properties software-properties-common
sudo add-apt-repository -y ppa:pi-rho/dev
sudo apt-get update
sudo apt-get install -y tmux=2.0-1~ppa1~t