- 血糖値を上昇させる。
- インスリンの追加分泌を促す。
- 血糖値は上昇しない。
postgres=# CREATE TABLE orders ( product_id integer, ordered_at timestamp with time zone, CONSTRAINT pkey PRIMARY KEY (product_id, ordered_at) ) ; | |
CREATE TABLE | |
postgres=# \d orders | |
Table "public.orders" | |
Column | Type | Modifiers | |
------------+--------------------------+----------- | |
product_id | integer | not null | |
ordered_at | timestamp with time zone | not null | |
Indexes: |
class Zzz | |
end | |
module XxxRole | |
def behavior_as_x | |
puts "zzz is xxx." | |
end | |
end | |
module YyyRole |
- hosts: | |
- localhost | |
connection: local | |
vars: | |
- rbenv_root: /home/www/.rbenv | |
- ruby_version: 2.1.5 | |
tasks: |
FactoryGirl.define do | |
factory :model_name do | |
name "Name" | |
description "Description" | |
registered_at Time.zone.now | |
end | |
end |
import java.util.Date | |
class Me(val name: String, val birthday: Date, val hobbies: Array[Hobby], val techniques: Array[Technique]) | |
case class Hobby(val slug: String, val name: String) | |
case class Technique(val slug: String, val name: String) |
#!/bin/sh | |
mkdir $HOME/.terraform-0.4.0 | |
cd $HOME/.terraform-0.4.0 | |
wget https://dl.bintray.com/mitchellh/terraform/terraform_0.4.0_linux_amd64.zip | |
unzip terraform_0.4.0_linux_amd64.zip | |
rm terraform_0.4.0_linux_amd64.zip | |
echo 'export PATH="$HOME/.terraform-0.4.0:$PATH"' >> $HOME/.bash_profile | |
source $HOME/.bash_profile |
package main | |
import ( | |
"fmt" | |
"time" | |
"math/rand" | |
) | |
func main() { | |
n := 1000 |
data = {2, 32, 12, 0, 493, 4, 5, 32} | |
for i = 1, #data do | |
for j = i + 1, #data do | |
if data[i] >= data[j] then | |
tmp = data[i] | |
data[i] = data[j] | |
data[j] = tmp | |
end | |
end | |
end |
print("hello, world!") |