brew install jenv
brew tap homebrew/cask-versions
brew cask install java11
brew cask install android-studio
FROM debian:sid
RUN apt-get update && apt-get install git build-essential wget libssl-dev libreadline-dev zlib1g-dev vim curl -y
RUN git clone https://github.com/rbenv/ruby-build
RUN git clone https://github.com/rbenv/rbenv
RUN git clone --depth 1 https://github.com/rbenv/rbenv.git ~/.rbenv && \
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
RUN mkdir -p ~/.rbenv/plugins && \
git clone --depth 1 https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
- Raftという分散合意アルゴリズムの紹介
- 論文: In Search of an Understandable Consensus ALgorithm (Extended Version)
- Raft三日目くらいの人が自分の理解をもとに(適当に)書いています
(NOTE: Current and future versions of this and any other Advantage 2-related things I post will be at https://github.com/nicholasknight/adv2keyboard)
I received my Advantage 2 today. There's no full manual yet, even though keyboards are apparently arriving (hint, hint, Kinesis). The quick start guide leaves out the "power user mode", and there are some other quirks.
Update: A manual has been posted at http://www.kinesis-ergo.com/advantage2-resources/
It includes a dictionary for the key maps, but I know it leaves at least one possible key undocumented: it does not list f14
, but I have successfully mapped my scrollock to f14
regardless.
It also mentions a firmware version (1.0.18) that doesn't seem to be available yet, with a new feature (status report playback speed).
Simply put, a keyspace "MISS" means some piece of data you tried to retrieve from Redis was not there. This usually means that one of the following things happened:
- The key expired
- They key was renamed
- The key was deleted
- The key was evicted due to memory pressure
- The entire database was flushed
- The key was never actually inserted
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from ek_settings import AMAZON_ACCESS_KEY_ID, AMAZON_SECRET_ACCESS_KEY | |
from amazon_ses import AmazonSES, EmailMessage | |
from google.appengine.api import urlfetch | |
from google.appengine.runtime import DeadlineExceededError | |
import urllib, logging | |
#=============================================================================================================================== |
sudo: required #is required to use docker service in travis | |
language: php #can be any language, just php for example | |
services: | |
- docker # required, but travis uses older version of docker :( | |
install: | |
- echo "install nothing!" # put your normal pre-testing installs here |
def old_path | |
':rails_root/public/system/:class/:attachment/:id_partition/:style/:filename' | |
end | |
def migrate_old_pdf | |
logger = Logger.new('./migrate.log') | |
Invoice.find_each do |invoice| | |
unless invoice.pdf? | |
logger.warn "#{invoice.id} にPDFを持っていないためskipします" | |
next |