This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Android Simulator for building a project and launching | |
# the Android Emulator or on the device | |
# | |
import os, sys, subprocess, shutil, time, signal, string, platform, re, glob, hashlib, imp | |
import run, avd, prereq, zipfile, tempfile, fnmatch, codecs, traceback, simplejson | |
from os.path import splitext | |
from compiler import Compiler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} | |
#lightbox img{ width: auto; height: auto;} | |
#lightbox a img{ border: none; } | |
#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; } | |
#imageContainer{ padding: 10px; } | |
#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; } | |
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; } | |
#imageContainer>#hoverNav{ left: 0;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
仕事も遊びも楽しく共有できる空間を作りたい! | |
そんな思いから名古屋大須に誕生したのが「Art Factory」です。 | |
Art Factoryの特徴としては、学校みたいな楽しげな雰囲気の中 | |
コワーキングしていただける空間になっています。 | |
システムとして学校の時間割のようなものを採用しています。 | |
授業中(仕事や勉強をする時間) | |
昼休憩(一緒に食事をしたり、交流する時間) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)saveMessageAsImg: (NSString *)comment fileName:(NSString *) filePath | |
{ | |
UIFont *font = [UIFont fontWithName:@"HiraKakuProN-W3" size:60]; | |
CGSize size = [comment sizeWithFont: font]; | |
UIGraphicsBeginImageContextWithOptions(CGSizeMake(size.width, size.height), NO, [[UIScreen mainScreen] scale]); | |
CGContextRef ctx = UIGraphicsGetCurrentContext(); | |
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Guardfile | |
# livereload and compile .jsx | |
guard :shell do | |
watch(/(.+)\.jsx/) {|m| `./node_modules/jsx/bin/jsx --output #{m[1]}.js #{m[0]}` } | |
end | |
guard 'livereload' do | |
watch(/.jsx/) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# path to phpcs "binary" | |
PHPCS_BIN=/usr/bin/phpcs | |
# the coding standard, you can also specify a path to your own standard here | |
# e. g. /path/to/my/standard/dir/ | |
PHPCS_CODING_STANDARD=PSR | |
# comma-separated list of file patterns being ignored | |
PHPCS_IGNORE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: MT Style Post Name | |
* Description: タイトルから英数字、ダッシュ、アンダーバーのみ抜き取ってスラッグに。日本語しか使われてないエントリはPost_IDを使う。 | |
* Author: 449 | |
* Plugin URI: http://pc10.2ch.net/test/read.cgi/blog/1163599919 | |
* Version: 0.1 | |
* */ | |
add_filter('sanitize_title','sanitize_title_numalpha_only',9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var p4, p9; | |
p4 = new OpenLayers.Projection('EPSG:4326'); | |
p9 = new OpenLayers.Projection('EPSG:900913'); | |
var v, p4_lat,p4_lon, p9_lat, p9_lon; | |
v = new OpenLayers.LonLat( 135, 35); | |
p4_lat = v.lat; | |
p4_lon = v.lon; | |
// 値を確認 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new-window -d -n log -t :2 | |
split-window -t log -h | |
split-window -t log -v -t server.0 | |
split-window -t log -v -t server.1 | |
send-keys -t server.1 'tail -f `find ./workspace/proj/app/logs/ -type f -print | tail -1`' C-m | |
send-keys -t server.3 'tail -f /var/log/apache2/error_log' C-m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. --> | |
<!-- It contains information about your site's posts, pages, comments, categories, and other content. --> | |
<!-- You may use this file to transfer that content from one site to another. --> | |
<!-- This file is not intended to serve as a complete backup of your site. --> | |
<!-- To import this information into a WordPress site follow these steps: --> | |
<!-- 1. Log in to that site as an administrator. --> | |
<!-- 2. Go to Tools: Import in the WordPress admin panel. --> | |
<!-- 3. Install the "WordPress" importer from the list. --> |
OlderNewer