- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
<?php | |
function custom_search($search, $wp_query) { | |
global $wpdb; | |
//サーチページ以外だったら終了 | |
if (!$wp_query->is_search) | |
return $search; | |
if (!isset($wp_query->query_vars)) | |
return $search; |
function zusaar_count($atts){ | |
extract(shortcode_atts(array( | |
'zid' => null | |
), $atts)); | |
// return $zid; | |
define("ZUSAAR_API_EVENT_URI", "http://www.zusaar.com/api/event/?event_id="); //イベント自体のデータを取得。開催日時の取得用 | |
define("ZUSAAR_API_USER_URI", "http://www.zusaar.com/api/event/user/?event_id="); //イベント出席者のデータを取得 | |
$today = time(); // 現在の日付を確認 |
# encoding: utf-8 | |
# vim: ft=ruby expandtab shiftwidth=2 tabstop=2 | |
VAGRANTFILE_API_VERSION = "2" | |
# | |
# Configuration for the WordPress | |
# | |
WP_VERSION = '3.8-RC2' # latest or 3.4 or later or http(s):// URL to zipfile |
<?php | |
/** | |
* This script is for easily deploying updates to Github repos to your local server. It will automatically git clone or | |
* git pull in your repo directory every time an update is pushed to your $BRANCH (configured below). | |
* | |
* Read more about how to use this script at http://behindcompanies.com/2014/01/a-simple-script-for-deploying-code-with-githubs-webhooks/ | |
* | |
* INSTRUCTIONS: | |
* 1. Edit the variables below | |
* 2. Upload this script to your server somewhere it can be publicly accessed |
gulp.js - the streaming build system
npm install gulp -g
npm install gulp gulp-util gulp-jade --save-dev
#Finder | |
#disable snap to grid animation | |
defaults write com.apple.finder AnimateSnapToGrid -bool false | |
#disable some animations | |
defaults write com.apple.finder DisableAllAnimations -bool true | |
#disable opening files zoom animation | |
defaults write com.apple.finder ZoomRects -bool false |
<?php | |
/** | |
* A template loader which accepts arguments. | |
* | |
* @param string $slug | |
* @param string|array $name | |
* @param array $args Arguments to pass. | |
* @param bool $echo If false, return string. | |
* @param string $glue Default is '-'. You can specify '/' which means directory separator. | |
* |