This file contains hidden or 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
| `___MAXOSX`, `.DS_Store`がzipファイル中に入っていると | |
| `ERROR | [iOS] The `source_files` pattern did not match any file.` | |
| `ERROR | [iOS] The `preserve_paths` pattern did not match any file.` | |
| とか怒られるので注意 |
This file contains hidden or 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
| # coding: utf-8 | |
| # Fetch remember the milk API info | |
| require 'pp' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'erb' | |
| require 'active_support/dependencies' | |
| class String |
This file contains hidden or 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
| /* | |
| # Save this file to /Applications/Sqwiggle.app/Contents/Resources/app.nw/assets/js/toggle.js | |
| # And Add | |
| <script src="assets/js/toggle.js" type="text/javascript"></script> | |
| to /Applications/Sqwiggle.app/Contents/Resources/app.nw/index.html | |
| */ |
This file contains hidden or 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
| --- | |
| BUNDLE_BUILD__NOKOGIRI: "--with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.9.1/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.28/ --with-iconv-include=/usr/local/Cellar/libiconv/1.14/include --with-iconv-lib=/usr/local/Cellar/libiconv/1.14/lib" |
This file contains hidden or 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)viewDidAppear:(BOOL)animated { | |
| [super viewDidAppear:animated]; | |
| [NSObject cancelPreviousPerformRequestsWithTarget:[SomeClass sharedInstance]]; | |
| [[SomeClass sharedInstance] performSelector:@selector(someMethod:) withObject:someObject afterDelay:5.0]; | |
| } |
This file contains hidden or 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
| # baseイメージからスタート | |
| FROM ka2n/base | |
| ###### アプリケーションをセットアップ ##### | |
| # アプリケーションのコードをコンテナの/appに追加 | |
| ADD /src /app | |
| # インストール(`bundle install`とか`npm install`とか) | |
| RUN pip install /app |
This file contains hidden or 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
| #!/bin/bash | |
| checkPHP=1 | |
| checkCoffee=1 | |
| checkSass=1 | |
| PHP=`which php` | |
| COFFEE=`which coffee` | |
| SASS=`which sass` |
This file contains hidden or 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. --> |
This file contains hidden or 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 hidden or 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; | |
| // 値を確認 |