rendr-examplesを眺めてみたメモ。
基本的な構成。npm install
& grunt server
でhttp://localhost:3030
で起動する(以下のexampleも同様)。
00
ではindex.js
に直接書かれていたdataAdapterConfig
を/config
ディレクトリ内のファイルに分離。
NODE_ENV
の値で本番/開発環境の設定ファイル切り替えを行う
rendr-examplesを眺めてみたメモ。
基本的な構成。npm install
& grunt server
でhttp://localhost:3030
で起動する(以下のexampleも同様)。
00
ではindex.js
に直接書かれていたdataAdapterConfig
を/config
ディレクトリ内のファイルに分離。
NODE_ENV
の値で本番/開発環境の設定ファイル切り替えを行う
最近、社内で私が「何者で何をしているのか見えないので可視化して欲しい」という案件が出ているらしいので、ヘコヘコと徒然なるままに書いていきたいと思うのであります。
社内向けというだけでなく社外の人にも発信出来る内容に、との仕様も要求され、社外向けには出来るだけ旬なネタで、かつ、社内向けにはそれを理解する上で必要な関連する技術を個々に触れながら基礎知識が無くても理解出来るように、との追加仕様も提示されております。
で、何をネタにしてどのように書けばいいのか迷った訳ですが、自分が実際にやって来た内容である CoreOS であればそこそこ旬であるし、それをおさらいしつつ、関連技術も Docker、Omaha、systemd、BtrFS、Golang、etcd、Kubernetes 等々多岐にわたるので、それらに関して私見も含めてわかりやすく書ければいいかなぁと、とりあえず書き始めようとしている次第であります。
更新: | 2024-10-08 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
概要
#!/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 |
#!/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)) { |
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 |
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 |
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. |