<%= toctree :from => '/' %>
<%= toctree %>
(function() { | |
if (! jasmine) { | |
throw new Exception("jasmine library does not exist in global namespace!"); | |
} | |
var TitaniumReporter = function() {}; | |
TitaniumReporter.prototype = { | |
reportRunnerStarting: function(runner) { |
# -*- coding: utf-8 -*- | |
require 'amazon/ecs' | |
require 'dalli' | |
require 'active_support/core_ext' | |
module Amazon | |
class Ecs | |
class << self | |
def send_request_with_memcache(opts) |
source 'http://rubygems.org' | |
gem 'bundler' | |
gem 'rack' | |
gem 'rack-rewrite' | |
gem 'mime-types' | |
gem 'nanoc', '3.4' | |
gem 'adsf' | |
gem 'haml' | |
gem 'sass' |
p "HOGE!" |
# -*- encoding : utf-8 -*- | |
# | |
# for thread safe | |
# | |
class ThreadValueStore | |
@@value_store = {} | |
@@store_types = {} | |
def self.reserve(name, store_type = :value) |
# | |
# Cookbook Name:: sensu-mailer-sample | |
# Recipe:: default | |
# | |
sensu_gem "mail" | |
mailer_rb_path = "#{node.sensu.directory}/handlers/mailer.rb" | |
cookbook_file mailer_rb_path do | |
source "mailer.rb" |
TEST |
#!/bin/bash | |
# Download dcpTool | |
# https://sourceforge.net/projects/dcptool/files/latest/download | |
# 作業フォルダを作成してその中に移動 | |
cd ~ | |
mkdir setup-k-1-mk2-profile-tmp | |
cd setup-k-1-mk2-profile-tmp |
<?php | |
// 管理画面にCSSとJSの読み込みを追加 | |
function enqueue_modal_files() { | |
wp_enqueue_style('modal-style' , get_stylesheet_directory_uri() . '/css/modal.css'); | |
wp_enqueue_script('modal-js' , get_stylesheet_directory_uri() . '/js/modal.js'); | |
} | |
add_action('admin_enqueue_scripts', 'enqueue_modal_files'); | |
// AJAXリクエストに対してJSONを返す | |
function ajax_modal() { |