D3.jsの勉強がてらにSTARWARS風な六甲おろしをSVGで作成してみました。
サンプル → bl.ocks.org
解説 → Qiita
Array.prototype.forEach.call(document.querySelectorAll('.ob.Jk > img'),function(img) {img.src="http://amd.c.yimg.jp/im_siggWFU_j_ytRMs2os1h31FF.Q---x387-y600-q90/amd/20150828-00000015-famitsuapp_g-016-10-view.jpg";}); |
package main | |
import ( | |
"github.com/zenazn/goji" | |
"github.com/zenazn/goji/web" | |
"github.com/google/go-github/github" | |
"net/http" | |
"fmt" | |
"regexp" | |
"io/ioutil" |
module['exports'] = function echoHttp (hook) { | |
hook.debug("Debug messages are sent to the debug console"); | |
hook.debug(hook.params); | |
hook.debug(hook.req.path); | |
hook.debug(hook.req.method); | |
D3.jsの勉強がてらにSTARWARS風な六甲おろしをSVGで作成してみました。
サンプル → bl.ocks.org
解説 → Qiita
--- OAuth2Invoker.gs.org 2014-12-12 15:45:41 +0900 | |
+++ OAuth2Invoker.gs 2014-12-12 15:46:04 +0900 | |
@@ -1,7 +1,7 @@ | |
/** | |
* Used for invoked Google App Engine services from Google Apps Script. | |
*/ | |
-function OAuth2Invoker(email, pemBase64, scope){ | |
+function OAuth2Invoker(email, pemBase64, scope, target){ | |
this.post = function(url, payload){ | |
var params = { |
> diff -u sensu-0.14.0/lib/sensu/client.rb.org sensu-0.14.0/lib/sensu/client.rb | |
--- sensu-0.14.0/lib/sensu\clien.rb.org 2014-10-16 20:40:50 +0900 | |
+++ sensu-0.14.0/lib/sensu\clien.rb 2014-12-08 19:34:36 +0900 | |
@@ -1,5 +1,6 @@ | |
require 'sensu/daemon' | |
require 'sensu/socket' | |
+require 'rufus/scheduler' | |
module Sensu | |
class Client |
root@sensu:~# diff -u /tmp/graphite.rb /etc/sensu/mutators/graphite.rb | |
--- /tmp/graphite.rb 2014-10-09 10:45:00.774510474 +0900 | |
+++ /etc/sensu/mutators/graphite.rb 2014-10-07 13:21:55.672353581 +0900 | |
@@ -31,8 +31,10 @@ | |
# parse event | |
event = JSON.parse(STDIN.read, :symbolize_names => true) | |
-if ARGV[0] == "-r" || ARGV[0] == "--reverse" | |
- puts event[:check][:output].gsub(event[:client][:name], event[:client][:name].split('.').reverse.join(".")) | |
-else |
#!perl | |
use strict; | |
use warnings; | |
use FindBIn; | |
use lib "$FindBin::Bin/../../"; | |
use JSON::PP; | |
use Time::Local; |
process.on('uncaughtException', function (err) { | |
log.error('uncaughtException : ' + err); | |
}); |