Skip to content

Instantly share code, notes, and snippets.

View linyows's full-sized avatar

Tomohisa Oda linyows

View GitHub Profile
@hikarock
hikarock / gist:818b67c91e98fd74929f
Created August 17, 2014 10:49
rendr-examplesメモ

rendr-examplesを眺めてみたメモ。

00. simple

基本的な構成。npm install & grunt serverhttp://localhost:3030で起動する(以下のexampleも同様)。

01. config

00ではindex.jsに直接書かれていたdataAdapterConfig/configディレクトリ内のファイルに分離。 NODE_ENVの値で本番/開発環境の設定ファイル切り替えを行う

@YungSang
YungSang / 00-README.md
Last active August 29, 2023 21:03
CoreOS とその関連技術に関するここ半年間の私の活動まとめ

CoreOS とその関連技術に関するここ半年間の私の活動まとめ

はじめに

最近、社内で私が「何者で何をしているのか見えないので可視化して欲しい」という案件が出ているらしいので、ヘコヘコと徒然なるままに書いていきたいと思うのであります。

社内向けというだけでなく社外の人にも発信出来る内容に、との仕様も要求され、社外向けには出来るだけ旬なネタで、かつ、社内向けにはそれを理解する上で必要な関連する技術を個々に触れながら基礎知識が無くても理解出来るように、との追加仕様も提示されております。

で、何をネタにしてどのように書けばいいのか迷った訳ですが、自分が実際にやって来た内容である CoreOS であればそこそこ旬であるし、それをおさらいしつつ、関連技術も Docker、Omaha、systemd、BtrFS、Golang、etcd、Kubernetes 等々多岐にわたるので、それらに関して私見も含めてわかりやすく書ければいいかなぁと、とりあえず書き始めようとしている次第であります。

@voluntas
voluntas / eval.rst
Last active November 25, 2024 08:17
評価制度の無い評価制度
@parente
parente / install_latest_docker.sh
Last active February 6, 2022 17:35
Install Docker latest on Ubuntu 14.04 with AUFS as the storage driver
#!/bin/bash
sudo apt-get update
sudo apt-get -y install linux-image-extra-$(uname -r)
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get -y install lxc-docker
@buty4649
buty4649 / gen_rrd_nighttime.sh
Created June 19, 2014 10:41
1年前からの日付からRRDを生成。6~19時は0、それ以外は1を書き込む
#!/bin/sh
rrdtool create nighttime.rrd -b $(date -d "1 years ago" +%s) DS:night:GAUGE:600:0:U RRA:MAX:0.5:1:576 RRA:MAX:0.5:6:432 RRA:MAX:0.5:24:540 RRA:MAX:0.5:288:450
perl -MRRDs -e '
$e=time;
$s=$e-3600*24*365;
while($s<=$e) {
$d=($s + 9 * 3600)%(24 * 3600);
if($d >= (19 * 3600) || $d <= (6 * 3600)) {
@tsahara
tsahara / Dockerfile-nghttp2-alpn
Last active April 20, 2018 02:16
Dockerfile for nghttp2 with ALPN support
FROM ubuntu
RUN apt-get update
RUN apt-get install -y autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libxml2-dev libjansson-dev libjemalloc-dev libev-dev
RUN apt-get install -y make gcc git g++
RUN apt-get install -y curl
#
# OpenSSL 1.0.2a
#
require 'logger'
class RakeExcecuter < Logger::Application
def initialize(tasklist = [])
super
@tasklist = tasklist
end
private
def run
@mizzy
mizzy / Rakefile
Last active August 29, 2015 13:55
require "bundler/gem_tasks"
require "bundler/gem_helper"
require 'rspec/core/rake_task'
require 'octokit'
Octokit.configure do |c|
c.login = `git config --get github.user`.strip
c.access_token = `git config --get github.token`.strip
end

SWIM: スケーラブルな弱一貫性,伝染様式プロセスグループメンバーシッププロトコル[和訳]

update:2014-01-26
Version: 0.1

原題: SWIM: Scalable Weakly-consistent Infection-style Process Group Membership Protocol

Ruby 2.1.0 in Production: known bugs and patches
Last week, we upgraded the github.com rails app to ruby 2.1.0 in production.
While testing the new build for rollout, we ran into a number of bugs. Most of
these have been fixed on trunk already, but I've documented them below to help
anyone else who might be testing ruby 2.1 in production.
@naruse I think we should backport these patches to the ruby_2_1 branch and
release 2.1.1 sooner rather than later, as some of the bugs are quite critical.
I'm happy to offer any assistance I can to expedite this process.