Skip to content

Instantly share code, notes, and snippets.

@myun2
myun2 / ryzen-vs-intel-core.md
Last active May 18, 2017 07:16
CPU Specification, Passmark score(PM), Market price(JPYen)

Intel i5

  • i5 6500: 4 cores / 4 threads / 6M / 3.2 - 3.6 GHz -> PM: 7216
  • i5 7600K: 4 cores / 4 threads / 6M / 3.8 - 4.2GHz -> PM: 9304

Intel i7

  • i7 6700K (2015): 4 cores / 8 threads / 8M / 4.0 - 4.2 GHz -> PM: 11112, ¥ 37.5K
  • i7 7700K (2017): 4 cores / 8 threads / 8M / 4.2 - 4.5 GHz -> PM: 12196, ¥ 40K
source 'https://rubygems.org'
gem 'sinatra'
gem 'sqlite3'
gem 'activerecord'
gem 'bcrypt'
@myun2
myun2 / sinatra-init.profile
Last active March 21, 2017 08:27
Aliases
function addgem() {
echo Add $1
echo "gem '$1'" >> Gemfile
bundle
}
function sinatra-init() {
bundle init
addgem sinatra
echo "require 'sinatra'" > app.rb
echo "get '/' do 'Hello world.' end" >> app.rb
@myun2
myun2 / Deleted repositories.md
Last active March 9, 2017 08:16
Deleted my repositories

Other

  • Alternative
  • sefl.ragnarok_online
  • rails_emoji (Forked)

Data

  • fat-data
  • waml
  • world.db: fork from openmundi/world.db
  • FizzBuzzEnterpriseEdition
@myun2
myun2 / MCCPU.md
Last active March 10, 2017 22:01
MCCPU

MCCPU

image

  • Word: 16bits
  • 256bit Registers (16 Words)
  • ALU
  • Shift
@myun2
myun2 / Dockerfile
Last active March 3, 2017 12:05
Dockerfile with rails
FROM amazonlinux
MAINTAINER myun2
# This was reference to a Dockerfile
# https://github.com/tcnksm/dockerfile-rbenv/blob/master/Dockerfile
RUN yum update -y && yum upgrade -y
RUN yum install -y gcc gcc-g++ nginx postgresql git
# Install rbenv
@myun2
myun2 / 2bit-micon.md
Last active March 3, 2017 03:58
2bit-micon
  • AND
  • OR
ja:
greeting:
good_morning: おはよう
good_afternoon: こんにちは
good_evening: こんばんは
good_bye: さようなら
class Dependency
end
@myun2
myun2 / English-for-japanese.md
Last active September 1, 2016 04:37
English for japanese

制限

  • limit: 限度/限界
  • limitation: 制限
  • restrict: 制限
  • constraint: 束縛

時間制限

  • time limit: 時間制限/制限時間