Glide is the easiest way to create useful slide for all of your Gists.
- input key
<-
to go backward. - input key
->
to go forward.
require 'google/api_client' | |
class GcalendarController < ApplicationController | |
before_filter :setup | |
def events | |
# 取得 calendar API的service | |
@calendar = @client.discovered_api('calendar', 'v3') |
public void loop() throws java.io.IOException, | |
java.lang.InterruptedException { | |
ConnectionFactory factory = new ConnectionFactory(); | |
factory.setHost("192.168.11.232"); | |
Connection connection = factory.newConnection(); | |
Channel channel = connection.createChannel(); | |
QueueingConsumer consumer = new QueueingConsumer(channel); | |
channel.basicConsume(QUEUE_NAME, true, consumer); |
<a id="content-menu" class="tiny button secondary radius" href="#remote-content-menu">Show Menu</a> | |
<div id="remote-content-menu" style="display: none; left: 0px;"> | |
<ul> | |
<li style="padding-left: 10px;"><i onclick="em()" id="hide-left-menu-icon" class="icon-arrow_left icon2x"></i></li> | |
<li><a href="#">Sample link 1</a></li> | |
<li> | |
<a href="#">Sample link 2</a> | |
<ul> | |
<li><a href="#">Child link 1</a></li> |
require 'hpricot' | |
require 'open-uri' | |
require 'fileutils' | |
# usage: | |
# ruby ss.rb SLIDESHARE.NET/XXX/YYY/ZZZ | |
folder = ARGV[0].split('/').last | |
FileUtils.mkdir folder |
package main | |
import ( | |
"fmt" | |
"time" | |
"runtime" | |
) | |
func f(left, right chan int) { left <- 1+<-right } |
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."
Cloning https://github.com/ruby/ruby.git... | |
Installing ruby-2.2.0-dev... | |
BUILD FAILED | |
Inspect or clean up the working tree at /var/folders/0n/18bwv5x16t7gy319d5wbn9480000gn/T/ruby-build.20140718233658.48380 | |
Results logged to /var/folders/0n/18bwv5x16t7gy319d5wbn9480000gn/T/ruby-build.20140718233658.48380.log | |
Last 10 log lines: | |
bigdecimal 1.2.5 |
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm |