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
;; http://taiyaki.org/elisp/urlencode/ | |
;; にある urlencode.el のデフォルトをutf-8にして、Emacs3 用に関数を修正 | |
(defvar urlencode-default-coding-system 'utf-8) | |
;(defvar urlencode-default-coding-system 'sjis) | |
(defvar urlencode-exceptional-chars "[a-zA-Z0-9]") | |
(global-set-key "\C-x\C-me" 'urlencode-region) | |
(global-set-key "\C-x\C-md" 'urldecode-region) |
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 ruby | |
# -*- coding: utf-8 -*- | |
# 使い方 | |
# | |
# 1.CONSUMER_KEY と CONSUMER_SECRET を設定する | |
# CONSUMER_KEY と CONSUMER_SECRET は http://twitter.com/apps/new で新規アプリケーションを登録すると作れます | |
# | |
# 2. OAuth用のユーザトークン、シークレットを取得する。 | |
# get_usertokens.rb(http://gist.github.com/553012) で取得できます | |
# |
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 ruby | |
# -*- coding: utf-8 -*- | |
require 'rubygems' | |
require 'twitter' | |
CONSUMER_KEY = 'your consumer key' | |
CONSUMER_SECRET = 'your consumer secret' | |
APP_TOKEN = [CONSUMER_KEY, CONSUMER_SECRET] | |
oauth = Twitter::OAuth.new(*APP_TOKEN) | |
request_token = oauth.consumer.get_request_token |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0nxW60xhlKwxA9PylG/1x8C7bEr1tRZKX73oUkzJ3Kto40zVJGUARpJ8fEH7joobMKedDPhWg/w2dLVraB5qFU9jK0UWfauxQPfd5QzwQtsrpB+eI+kn3jsCIkA928ybbRzxfmiSAANv451Cj1qK2dqqSgrMFbGL7XwJbWE3n83nN/YvpOskTSiolr3kAICpdGYzki/cqUYiAoaGO+6NpmBeFQXNXKXanuPQiMTnfMJgZdXZiwNnza75AMmNKjXx6Zs67cLSQz1iaBI+fgiMPZ79dwmlSSsrIpdNI4B+n7zTQJMLgnq/hZlR09s831jXKqGeO0N9YJlnqrAGCXdZ7Q== |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title> | |
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script> | |
<script type="text/javascript" charset="utf-8"> | |
$(function () { | |
var extractToken = function(hash) { |
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
id myTilesource = [[[RMCloudMadeMapSource alloc] | |
initWithAccessKey:@"YOUR_API_KEY" styleNumber:999] autorelease]; |
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
"Couldn't register com.yourcompany.yourapp with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger." |
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
// | |
// MMPropertyUtil.h | |
// MoyaMap | |
// | |
// Created by Haruyuki Seki on 2/16/13. | |
// Copyright (c) 2013 Hacker's Cafe. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
{ | |
"meta": { | |
"limit": 20, | |
"next": null, | |
"offset": 0, | |
"previous": null, | |
"total_count": 3 | |
}, | |
"objects": [ | |
{ |
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
% git clone [email protected]:{ACCOUNT_NAME}/{ACCOUNT_NAME}.github.com.git | |
Cloning into '{ACCOUNT_NAME}.github.com'... | |
remote: Counting objects: 895, done. | |
remote: Compressing objects: 100% (366/366), done. | |
remote: Total 895 (delta 500), reused 880 (delta 486) | |
Receiving objects: 100% (895/895), 1.02 MiB | 368 KiB/s, done. | |
Resolving deltas: 100% (500/500), done. |
OlderNewer