Skip to content

Instantly share code, notes, and snippets.

View yuya's full-sized avatar

Yuya Hashimoto yuya

View GitHub Profile
@timkelty
timkelty / config.rb
Created January 11, 2012 15:28
Compass config.rb
# Note that while this file is in our config folder, it is
# symlinked to our site folders, so paths are relative from there
# Require gems and Compass plugins
# require 'rgbapng'
# require 'compass-fancybox-plugin'
require 'compass-growl'
# General
output_style = :expanded
@katahirado
katahirado / TsubunomiScript.gs
Created July 12, 2012 03:20
つぶのみ Google Apps Script版
var Tsubunomi = {
userSheetName:"user",
mentionsSheetName:"mentions",
searchSheetName:"search",
dmSheetName:"directMessage",
userDataKey:"currentUser",
apiConfigKey:"apiConfiguration",
apiUrl:"https://api.twitter.com/",
defaultCount:140,
getOptions:{
@gaspanik
gaspanik / st2pkgs-for-webdev.markdown
Last active June 27, 2025 19:42
ST2: Sublime Text 2 Packages for Web Developers.

Recommended Sublime Text 2 Packages for Web Developers.

Update

  • 「Browser Support」を追加しました。

2013 Spring & Summer

こもりが使っているモノやそうでないものも含め、なんとなくWebデザイナーやWebデベロッパーな人たちに便利そうなのを集めてみました。

@monsat
monsat / README.md
Last active December 11, 2015 08:08

neu.Node

概要

neu.Node(ノイノード)は、iOS デバイス用に Node.js 互換の API を実装したもので、これにより、アプリケーション開発者はさまざまな小さなサーバ(httpサーバ、チャットサーバ、プロキシサーバ、ゲームサーバ等)を自分の iOS アプリケーションの中に埋め込むことができるようになります。

neu.Node を使えば、iOS デバイスは単なる『クライアント』デバイスではなくなります。 デバイスはそれぞれネットワークの『ノード』となり、 分散コンピューティングのサービス の提供や、ユーザ・エクスペリエンスの向上に大きく貢献することになるのです。

neu.Node は今までに無いタイプのアプリケーションを可能にします。たとえば:

cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git://github.com/wbond/sublime_package_control.git Package\ Control
cd Package\ Control
git checkout python3
# restart Sublime Text 3 and you should have Package Control working
@anchan828
anchan828 / gist:4697447
Created February 2, 2013 13:47
.assetファイル作成/保存ときのコード
public class Asset
{
public static void Save <T> (T asset) where T : ScriptableObject
{
Directory.CreateDirectory (DeployGateUtility.settingsFolderPath);
string assetPath = DeployGateUtility.settingsFolderPath + typeof(T).Name + ".asset";
T _asset = (T)AssetDatabase.LoadAssetAtPath (assetPath, typeof(T));
if (_asset == null)
AssetDatabase.CreateAsset (asset, assetPath);
AssetDatabase.SaveAssets ();
@STAR-ZERO
STAR-ZERO / gist:5335577
Last active December 15, 2015 22:49
HomebrewでMySQLのバージョンを指定して入れる

HomebrewでMySQLのバージョンを指定して入れる

$ cd /usr/local
$ brew versions mysql
5.6.10   git checkout aa3db07 Library/Formula/mysql.rb
5.5.29   git checkout 336c976 Library/Formula/mysql.rb
5.5.28   git checkout 5825f62 Library/Formula/mysql.rb
5.5.27   git checkout 93aecfa Library/Formula/mysql.rb
5.5.25a git checkout faaa6c1 Library/Formula/mysql.rb
@froop
froop / index.html
Created April 12, 2013 07:21
Web ブラウザのポップアップブロック問題
<body>
<script>
function popupNonBlock() {
var win = window.open("", "child", "width=400, height=300");
win.document.body.innerHTML = "loading...";
location.href = 'opener.html';
}
</script>
<a href="opener.html">block</a>
@skauk
skauk / UploadWithMedia.gs
Created July 27, 2013 18:04
Update Twitter status with an image with a single request in Apps Script
function oAuthConfig() {
var oAuthConfig = UrlFetchApp.addOAuthService("twitter");
oAuthConfig.setAccessTokenUrl("http://api.twitter.com/oauth/access_token");
oAuthConfig.setRequestTokenUrl("http://api.twitter.com/oauth/request_token");
oAuthConfig.setAuthorizationUrl("http://api.twitter.com/oauth/authorize");
// Register an app at https://dev.twitter.com/apps/new to get the following key and secret
oAuthConfig.setConsumerKey("key");
oAuthConfig.setConsumerSecret("secret");
}
@uupaa
uupaa / MobileSafari.ChangeLog.md
Last active August 29, 2015 14:01
Mobile Safari ChangeLog

iOS 5 MobileSafari

  • Web Workers が実装されました
  • XMLHttpRequest Lv2 が実装されました
  • CSS Position: fixed が実装されました
  • Appnize(Homeに追加)したページでもJITが有効になりました
  • <meter>, <detail>, <summary> が実装されました
  • <input type="..."> が range, date, time, datetime, month, datetime-local をサポートしました
  • Inline SVG をサポートしました
  • Token List API を実装しました。 body.classList.add("CSS-CLASS-NAME") が可能になりました