- 当事者意識を持つ
- 議題に集中すること
- 人の発言をさえぎらない
#!/usr/bin/env bash | |
############### USAGE ############### | |
# | |
# 1. Create a new workspace on Cloud9 using the "Blank" template | |
# | |
# 2. Run this command in the console: | |
# bash <(curl -fsSL https://gist.githubusercontent.com/padde/3c6301f15cbd5025e131740dae33aa95/raw/c9-elixir.sh) | |
# | |
# 3. There is no step 3! |
# LVDB - LLOOGG Memory DB | |
# Copyriht (C) 2009 Salvatore Sanfilippo <[email protected]> | |
# All Rights Reserved | |
# TODO | |
# - cron with cleanup of timedout clients, automatic dump | |
# - the dump should use array startsearch to write it line by line | |
# and may just use gets to read element by element and load the whole state. | |
# - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
# - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."
#include "mpc.h" | |
#include <editline/readline.h> | |
enum { LERR_DIV_ZERO, LERR_BAD_OP, LERR_BAD_NUM }; | |
enum { LVAL_NUM, LVAL_ERR }; | |
typedef struct { | |
int type; | |
long num; |
# >> を * | |
# >>= を bind | |
# return を self.new | |
# mplus を + | |
# mzero を self.zero | |
# | |
# に見立てて Maybe モナド書いてみた | |
# bind に渡す block で Maybe と書きたくないので第二引数に型情報を付加してみた。 | |
class Monad | |
def *(m) |
package com.eatify.Eatify.api; | |
public class EatifyApiClient extends VolleyApiClient { | |
private static volatile EatifyApiClient instance; | |
public static EatifyApiClient shared() { | |
if (instance == null) { | |
synchronized (EatifyApiClient.class) { | |
if (instance == null) { |
# -*- coding: utf-8 -*- | |
ARGV.each do |fn| | |
lines = File.readlines(fn) | |
hiki = lines.map { |l| | |
l.sub(/^(#+)\s/){ '!'*($1.length) + ' ' }. | |
sub(/^(-+)\s/){ '*'*($1.length) + ' ' }. | |
gsub(/\!\[([^\]]+)\]\(([^\)]+)\)/){ $2[0..3] == 'http' ? $2 : ('http://goos-lokka.heroku.com' + $2) }. # picture | |
gsub(/\[([^\]]+)\]\(([^\)]+)\)/, '[[\1|\2]]'). # url | |
gsub(/\*\*([^*]*)\*\*/, "'''\\1'''"). | |
sub(/^ /, ' '). |