gisty 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -8
- data/Rakefile +3 -26
- data/bin/gisty +2 -2
- data/lib/gisty.rb +79 -119
- data/test/fixtures/gists_1 +877 -0
- data/test/fixtures/gists_2 +863 -0
- data/test/fixtures/gists_3 +346 -0
- data/test/fixtures/gists_post +65 -0
- data/test/gisty_test.rb +123 -115
- metadata +12 -45
- data/test/fixtures/24835 +0 -241
- data/test/fixtures/30119 +0 -376
- data/test/fixtures/mine_login_foo_token_bar +0 -494
- data/test/fixtures/mine_page_1_login_foo_token_bar +0 -518
- data/test/fixtures/mine_page_2_login_foo_token_bar +0 -511
- data/test/fixtures/mine_page_3_login_foo_token_bar +0 -190
- data/test/fixtures/swdyh +0 -302
- data/test/fixtures/swdyh_page_4 +0 -178
data/README.rdoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
== Description
|
6
6
|
|
7
|
-
yet another command line client for gist
|
7
|
+
yet another command line client for gist supported API V3.
|
8
8
|
|
9
9
|
== Installation
|
10
10
|
|
@@ -13,18 +13,14 @@ yet another command line client for gist
|
|
13
13
|
sudo gem install gisty
|
14
14
|
|
15
15
|
set environment variable GISTY_DIR.
|
16
|
-
example .zshrc
|
17
16
|
|
18
17
|
export GISTY_DIR="$HOME/dev/gists"
|
19
18
|
|
20
|
-
|
19
|
+
get OAuth access token here. https://swdyh-gisty.heroku.com/
|
20
|
+
set environment variable GISTY_ACCESS_TOKEN
|
21
21
|
|
22
22
|
export GISTY_ACCESS_TOKEN=your_access_key
|
23
23
|
|
24
|
-
set global git config. see "Global Git Config" at https://github.com/account
|
25
|
-
|
26
|
-
git config --global github.user your_id
|
27
|
-
|
28
24
|
if you use zsh command completion, download this file to $fpath directory.
|
29
25
|
http://github.com/swdyh/gisty/raw/master/_gisty
|
30
26
|
|
@@ -32,7 +28,6 @@ http://github.com/swdyh/gisty/raw/master/_gisty
|
|
32
28
|
== Features/Problems
|
33
29
|
|
34
30
|
if "certificate verify failed" is occurred, set environment variable GISTY_SSL_CA.
|
35
|
-
example .zshrc
|
36
31
|
|
37
32
|
export GISTY_SSL_CA="/your_ca_file_path/cert.pem"
|
38
33
|
|
data/Rakefile
CHANGED
@@ -3,8 +3,6 @@ require 'rake'
|
|
3
3
|
require 'rake/clean'
|
4
4
|
require 'rake/testtask'
|
5
5
|
require 'rake/packagetask'
|
6
|
-
require 'rake/gempackagetask'
|
7
|
-
require 'rake/rdoctask'
|
8
6
|
require 'rake/contrib/rubyforgepublisher'
|
9
7
|
require 'rake/contrib/sshpublisher'
|
10
8
|
require 'fileutils'
|
@@ -14,7 +12,8 @@ include FileUtils
|
|
14
12
|
NAME = "gisty"
|
15
13
|
AUTHOR = "swdyh"
|
16
14
|
EMAIL = "http://mailhide.recaptcha.net/d?k=01AhB7crgrlHptVaYRD0oPwA==&c=L_iqOZrGmo6hcGpPTFg1QYnjr-WpAStyQ4Y8ShfgOHs="
|
17
|
-
|
15
|
+
SUMMARY = "yet another command line client for gist."
|
16
|
+
DESCRIPTION = SUMMARY + " Gisty uses Github API V3 via OAuth2."
|
18
17
|
RUBYFORGE_PROJECT = "gisty"
|
19
18
|
HOMEPATH = "http://github.com/swdyh/gisty/tree/master"
|
20
19
|
BIN_FILES = %w( gisty )
|
@@ -46,7 +45,7 @@ spec = Gem::Specification.new do |s|
|
|
46
45
|
# s.has_rdoc = true
|
47
46
|
s.extra_rdoc_files = ["README.rdoc"]
|
48
47
|
s.rdoc_options += RDOC_OPTS + ['--exclude', '^(examples|extras)/']
|
49
|
-
s.summary =
|
48
|
+
s.summary = SUMMARY
|
50
49
|
s.description = DESCRIPTION
|
51
50
|
s.author = AUTHOR
|
52
51
|
s.email = EMAIL
|
@@ -59,8 +58,6 @@ spec = Gem::Specification.new do |s|
|
|
59
58
|
s.test_files = Dir["test/*_test.rb"]
|
60
59
|
|
61
60
|
#s.add_dependency('activesupport', '>=1.3.1')
|
62
|
-
s.add_dependency('nokogiri', '>=1.0.0')
|
63
|
-
s.add_dependency('highline')
|
64
61
|
#s.required_ruby_version = '>= 1.8.2'
|
65
62
|
|
66
63
|
s.files = %w(README.rdoc Rakefile) +
|
@@ -73,26 +70,6 @@ spec = Gem::Specification.new do |s|
|
|
73
70
|
s.extensions = FileList["ext/**/extconf.rb"].to_a
|
74
71
|
end
|
75
72
|
|
76
|
-
|
77
|
-
Rake::GemPackageTask.new(spec) do |p|
|
78
|
-
p.need_tar = true
|
79
|
-
p.gem_spec = spec
|
80
|
-
end
|
81
|
-
|
82
|
-
Rake::RDocTask.new do |rdoc|
|
83
|
-
rdoc.rdoc_dir = 'html'
|
84
|
-
rdoc.options += RDOC_OPTS
|
85
|
-
rdoc.template = "resh"
|
86
|
-
#rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
87
|
-
if ENV['DOC_FILES']
|
88
|
-
rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
|
89
|
-
else
|
90
|
-
rdoc.rdoc_files.include('README.rdoc')
|
91
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
92
|
-
rdoc.rdoc_files.include('ext/**/*.c')
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
73
|
desc 'Update gem spec'
|
97
74
|
task :gemspec do
|
98
75
|
open("#{NAME}.gemspec", 'w') { |f| f.puts spec.to_ruby }
|
data/bin/gisty
CHANGED
@@ -31,8 +31,8 @@ if ENV['GISTY_DIR']
|
|
31
31
|
@g = Gisty.new ENV['GISTY_DIR'], nil, nil, :ssl_ca => ENV['GISTY_SSL_CA'],
|
32
32
|
:ssl_verify => ENV['GISTY_SSL_VERIFY'], :access_token => ENV['GISTY_ACCESS_TOKEN']
|
33
33
|
rescue Gisty::UnsetAuthInfoException => e
|
34
|
-
puts 'Error:
|
35
|
-
puts '
|
34
|
+
puts 'Error: OAuth access token is missing.'
|
35
|
+
puts 'Please get here. https://swdyh-gisty.heroku.com/'
|
36
36
|
exit
|
37
37
|
end
|
38
38
|
else
|
data/lib/gisty.rb
CHANGED
@@ -4,14 +4,12 @@ require 'net/https'
|
|
4
4
|
require 'open-uri'
|
5
5
|
require 'fileutils'
|
6
6
|
require 'rubygems'
|
7
|
-
require 'nokogiri'
|
8
7
|
require 'json'
|
9
|
-
require 'highline/import'
|
10
8
|
|
11
9
|
class Gisty
|
12
|
-
VERSION = '0.
|
10
|
+
VERSION = '0.2.0'
|
13
11
|
GIST_URL = 'https://gist.github.com/'
|
14
|
-
GISTY_URL = '
|
12
|
+
GISTY_URL = 'https://github.com/swdyh/gisty'
|
15
13
|
COMMAND_PATH = Pathname.new(File.join(File.dirname(__FILE__), 'commands')).realpath.to_s
|
16
14
|
|
17
15
|
class UnsetAuthInfoException < Exception
|
@@ -23,60 +21,71 @@ class Gisty
|
|
23
21
|
class PostFailureException < Exception
|
24
22
|
end
|
25
23
|
|
26
|
-
def self.extract_ids str
|
27
|
-
doc = Nokogiri::HTML str
|
28
|
-
doc.css('.file .info a').map { |i| i['href'].sub('/', '') }
|
29
|
-
end
|
30
|
-
|
31
|
-
def extract url
|
32
|
-
doc = Nokogiri::HTML read_by_url(url)
|
33
|
-
{
|
34
|
-
:id => url.split('/').last,
|
35
|
-
:author => doc.css('#owner a').inner_text,
|
36
|
-
:files => doc.css('.meta .info').map { |i| i.inner_text.strip },
|
37
|
-
:clone => doc.css('a[rel="#git-clone"]').inner_text,
|
38
|
-
}
|
39
|
-
end
|
40
|
-
|
41
24
|
def initialize path, login = nil, token = nil, opt = {}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
25
|
+
if login.class == Hash
|
26
|
+
opt = login
|
27
|
+
end
|
28
|
+
if opt[:access_token] && opt[:access_token].size > 0
|
29
|
+
@access_token = opt[:access_token].strip
|
30
|
+
else
|
31
|
+
raise UnsetAuthInfoException
|
32
|
+
end
|
33
|
+
@dir = Pathname.pwd.realpath.join path
|
46
34
|
FileUtils.mkdir_p @dir unless @dir.exist?
|
47
35
|
@ssl_ca = opt[:ssl_ca]
|
48
36
|
@ssl_verify = case opt[:ssl_verify]
|
49
|
-
when /none/i
|
37
|
+
when :none, /none/i, OpenSSL::SSL::VERIFY_NONE
|
50
38
|
OpenSSL::SSL::VERIFY_NONE
|
51
39
|
else
|
52
40
|
OpenSSL::SSL::VERIFY_PEER
|
53
41
|
end
|
54
|
-
@access_token = (opt[:access_token] && opt[:access_token].size > 0) ?
|
55
|
-
opt[:access_token] : nil
|
56
42
|
end
|
57
43
|
|
58
|
-
def
|
59
|
-
|
60
|
-
|
61
|
-
|
44
|
+
def all_mygists &block
|
45
|
+
r = []
|
46
|
+
opt = {}
|
47
|
+
limit = 30
|
48
|
+
limit.times do
|
49
|
+
tmp = mygists opt
|
50
|
+
r << tmp[:content]
|
51
|
+
|
52
|
+
if block
|
53
|
+
tmp[:content].each {|i| block.call i }
|
54
|
+
end
|
55
|
+
|
56
|
+
if tmp[:link][:next]
|
57
|
+
opt[:url] = tmp[:link][:next]
|
58
|
+
else
|
59
|
+
break
|
60
|
+
end
|
61
|
+
end
|
62
|
+
r.flatten
|
62
63
|
end
|
63
64
|
|
64
|
-
def
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
65
|
+
def mygists opt = {}
|
66
|
+
url = opt[:url] || ('https://api.github.com/gists?access_token=%s' % @access_token)
|
67
|
+
open_uri_opt = {}
|
68
|
+
if @ssl_ca && OpenURI::Options.key?(:ssl_ca_cer)
|
69
|
+
open_uri_opt[:ssl_ca_cert] = @ssl_ca
|
70
|
+
end
|
71
|
+
if @ssl_verify && OpenURI::Options.key?(:ssl_verify_mode)
|
72
|
+
open_uri_opt[:ssl_verify_mode] = @ssl_verify
|
73
|
+
end
|
74
|
+
OpenURI.open_uri(url, open_uri_opt) do |f|
|
75
|
+
{ :content => JSON.parse(f.read), :link => Gisty.parse_link(f.meta['link']) }
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
def self.parse_link link
|
80
|
+
link.split(', ').inject({}) do |r, i|
|
81
|
+
url, rel = i.split '; '
|
82
|
+
r[rel.gsub(/^rel=/, '').gsub('"', '').to_sym] = url.gsub(/[<>]/, '').strip
|
83
|
+
r
|
74
84
|
end
|
75
|
-
result
|
76
85
|
end
|
77
86
|
|
78
87
|
def remote_ids
|
79
|
-
|
88
|
+
all_mygists.map { |i| i['id'] }.sort
|
80
89
|
end
|
81
90
|
|
82
91
|
def clone id
|
@@ -87,9 +96,8 @@ class Gisty
|
|
87
96
|
end
|
88
97
|
|
89
98
|
def list
|
90
|
-
dirs =
|
91
|
-
[i.basename.to_s,
|
92
|
-
Pathname.glob(i.to_s + '/*').map { |i| i.basename.to_s }]
|
99
|
+
dirs = local_gist_directories.map do |i|
|
100
|
+
[i.basename.to_s, Pathname.glob(i.to_s + '/*').map { |i| i.basename.to_s }]
|
93
101
|
end
|
94
102
|
re_pub = /^\d+$/
|
95
103
|
pub = dirs.select { |i| re_pub.match(i.first) }.sort_by { |i| i.first.to_i }.reverse
|
@@ -98,8 +106,13 @@ class Gisty
|
|
98
106
|
end
|
99
107
|
|
100
108
|
def local_ids
|
101
|
-
|
102
|
-
|
109
|
+
local_gist_directories.map {|i| i.basename.to_s }
|
110
|
+
end
|
111
|
+
|
112
|
+
def local_gist_directories
|
113
|
+
Pathname.glob(@dir.to_s + '/*').select do |i|
|
114
|
+
i.directory? && !i.to_s.match(/^_/) && i.basename.to_s != 'commands'
|
115
|
+
end
|
103
116
|
end
|
104
117
|
|
105
118
|
def delete id
|
@@ -107,37 +120,29 @@ class Gisty
|
|
107
120
|
end
|
108
121
|
|
109
122
|
def sync delete = false
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
confirm = $stdin.gets.strip
|
117
|
-
if confirm == 'y' || confirm == 'yes'
|
118
|
-
puts "delete #{id}"
|
119
|
-
delete id
|
120
|
-
else
|
121
|
-
puts "skip #{id}"
|
123
|
+
local = local_ids
|
124
|
+
FileUtils.cd @dir do
|
125
|
+
r = all_mygists do |gist|
|
126
|
+
unless File.exists? gist['id']
|
127
|
+
c = "git clone git@gist.github.com:#{gist['id']}.git"
|
128
|
+
Kernel.system c
|
122
129
|
end
|
130
|
+
local -= [gist['id']]
|
123
131
|
end
|
124
|
-
ids = remote
|
125
|
-
else
|
126
|
-
ids = (remote + local).uniq
|
127
|
-
end
|
128
132
|
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
#
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
133
|
+
if local.size > 0 && delete
|
134
|
+
local.each do |id|
|
135
|
+
print "delete #{id}? [y/n]"
|
136
|
+
confirm = $stdin.gets.strip
|
137
|
+
if confirm == 'y' || confirm == 'yes'
|
138
|
+
puts "delete #{id}"
|
139
|
+
delete id
|
140
|
+
else
|
141
|
+
puts "skip #{id}"
|
142
|
+
end
|
139
143
|
end
|
140
144
|
end
|
145
|
+
open('meta.json', 'w') { |f| f.write JSON.pretty_generate(r) }
|
141
146
|
end
|
142
147
|
end
|
143
148
|
|
@@ -155,31 +160,9 @@ class Gisty
|
|
155
160
|
end
|
156
161
|
end
|
157
162
|
|
158
|
-
def auth
|
159
|
-
user = `git config --global github.user`.strip
|
160
|
-
token = `git config --global github.token`.strip
|
161
|
-
user.empty? ? {} : { 'login' => user, 'token' => token }
|
162
|
-
end
|
163
|
-
|
164
|
-
def get_password
|
165
|
-
pw = `git config --global github.password`.strip
|
166
|
-
if pw.size == 0
|
167
|
-
ask("Enter your password: ") { |q| q.echo = false }.strip
|
168
|
-
else
|
169
|
-
pw
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
163
|
def post params
|
174
164
|
url = URI.parse('https://api.github.com/gists')
|
175
|
-
|
176
|
-
if @access_token
|
177
|
-
req = Net::HTTP::Post.new url.path + '?access_token=' + @access_token
|
178
|
-
else
|
179
|
-
req = Net::HTTP::Post.new url.path
|
180
|
-
req.basic_auth @auth['login'], get_password
|
181
|
-
end
|
182
|
-
|
165
|
+
req = Net::HTTP::Post.new url.path + '?access_token=' + @access_token
|
183
166
|
req.body = params.to_json
|
184
167
|
https = Net::HTTP.new(url.host, url.port)
|
185
168
|
https.use_ssl = true
|
@@ -219,29 +202,6 @@ class Gisty
|
|
219
202
|
post params
|
220
203
|
end
|
221
204
|
|
222
|
-
def read_by_url url
|
223
|
-
if @ssl_ca
|
224
|
-
url = URI.parse(url)
|
225
|
-
req = Net::HTTP::Get.new url.request_uri
|
226
|
-
https = Net::HTTP.new(url.host, url.port)
|
227
|
-
https.use_ssl = true
|
228
|
-
https.verify_mode = @ssl_verify
|
229
|
-
https.verify_depth = 5
|
230
|
-
https.ca_file = @ssl_ca
|
231
|
-
res = https.start {|http| http.request(req) }
|
232
|
-
case res
|
233
|
-
when Net::HTTPSuccess
|
234
|
-
res.body
|
235
|
-
when Net::HTTPRedirection
|
236
|
-
read_by_url res['Location']
|
237
|
-
else
|
238
|
-
raise 'get failure'
|
239
|
-
end
|
240
|
-
else
|
241
|
-
open(url).read
|
242
|
-
end
|
243
|
-
end
|
244
|
-
|
245
205
|
# `figlet -f contributed/bdffonts/clb8x8.flf gisty`.gsub('#', 'm')
|
246
206
|
AA = <<-EOS
|
247
207
|
mm mm
|
@@ -0,0 +1,877 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/1.0.13
|
3
|
+
Date: Wed, 21 Mar 2012 12:26:26 GMT
|
4
|
+
Content-Type: application/json; charset=utf-8
|
5
|
+
Connection: keep-alive
|
6
|
+
Status: 200 OK
|
7
|
+
X-RateLimit-Limit: 5000
|
8
|
+
ETag: "2feff610fcc111c636cc1035d3bd5c77"
|
9
|
+
X-OAuth-Scopes: gist
|
10
|
+
Link: <https://api.github.com/gists?access_token=testaccesstoken&page=2>; rel="next", <https://api.github.com/gists?access_token=testaccesstoken&page=3>; rel="last"
|
11
|
+
X-RateLimit-Remaining: 4991
|
12
|
+
Content-Length: 31544
|
13
|
+
X-Accepted-OAuth-Scopes: gist
|
14
|
+
|
15
|
+
[
|
16
|
+
{
|
17
|
+
"url": "https://api.github.com/gists/2146374",
|
18
|
+
"user": {
|
19
|
+
"url": "https://api.github.com/users/swdyh",
|
20
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
21
|
+
"login": "swdyh",
|
22
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
23
|
+
"id": 9168
|
24
|
+
},
|
25
|
+
"created_at": "2012-03-21T11:45:16Z",
|
26
|
+
"public": true,
|
27
|
+
"description": null,
|
28
|
+
"html_url": "https://gist.github.com/2146374",
|
29
|
+
"git_pull_url": "git://gist.github.com/2146374.git",
|
30
|
+
"files": {
|
31
|
+
"test.txt": {
|
32
|
+
"type": "text/plain",
|
33
|
+
"language": "Text",
|
34
|
+
"raw_url": "https://gist.github.com/raw/2146374/b33c5606734ea563dac93e08bbaae96c811b05b8/test.txt",
|
35
|
+
"size": 10,
|
36
|
+
"filename": "test.txt"
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"git_push_url": "git@gist.github.com:2146374.git",
|
40
|
+
"id": "2146374",
|
41
|
+
"comments": 0,
|
42
|
+
"updated_at": "2012-03-21T11:45:16Z"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"url": "https://api.github.com/gists/2116130",
|
46
|
+
"user": {
|
47
|
+
"url": "https://api.github.com/users/swdyh",
|
48
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
49
|
+
"login": "swdyh",
|
50
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
51
|
+
"id": 9168
|
52
|
+
},
|
53
|
+
"created_at": "2012-03-19T15:24:34Z",
|
54
|
+
"public": true,
|
55
|
+
"description": null,
|
56
|
+
"html_url": "https://gist.github.com/2116130",
|
57
|
+
"git_pull_url": "git://gist.github.com/2116130.git",
|
58
|
+
"files": {
|
59
|
+
"gisty-web.rb": {
|
60
|
+
"type": "application/ruby",
|
61
|
+
"language": "Ruby",
|
62
|
+
"raw_url": "https://gist.github.com/raw/2116130/b37d5f7665d608d0ecd318434f8b6bcdeb8c10db/gisty-web.rb",
|
63
|
+
"size": 1347,
|
64
|
+
"filename": "gisty-web.rb"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"git_push_url": "git@gist.github.com:2116130.git",
|
68
|
+
"id": "2116130",
|
69
|
+
"comments": 0,
|
70
|
+
"updated_at": "2012-03-19T15:24:34Z"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"url": "https://api.github.com/gists/2114461",
|
74
|
+
"user": {
|
75
|
+
"url": "https://api.github.com/users/swdyh",
|
76
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
77
|
+
"login": "swdyh",
|
78
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
79
|
+
"id": 9168
|
80
|
+
},
|
81
|
+
"created_at": "2012-03-19T14:34:21Z",
|
82
|
+
"public": true,
|
83
|
+
"description": null,
|
84
|
+
"html_url": "https://gist.github.com/2114461",
|
85
|
+
"git_pull_url": "git://gist.github.com/2114461.git",
|
86
|
+
"files": {
|
87
|
+
"test.txt": {
|
88
|
+
"type": "text/plain",
|
89
|
+
"language": "Text",
|
90
|
+
"raw_url": "https://gist.github.com/raw/2114461/b29dc95ae5962a394101b51cc5b739b562532e7c/test.txt",
|
91
|
+
"size": 27,
|
92
|
+
"filename": "test.txt"
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"git_push_url": "git@gist.github.com:2114461.git",
|
96
|
+
"id": "2114461",
|
97
|
+
"comments": 0,
|
98
|
+
"updated_at": "2012-03-19T14:34:21Z"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"url": "https://api.github.com/gists/1203094",
|
102
|
+
"user": {
|
103
|
+
"url": "https://api.github.com/users/swdyh",
|
104
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
105
|
+
"login": "swdyh",
|
106
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
107
|
+
"id": 9168
|
108
|
+
},
|
109
|
+
"created_at": "2011-09-08T10:24:24Z",
|
110
|
+
"public": true,
|
111
|
+
"description": null,
|
112
|
+
"html_url": "https://gist.github.com/1203094",
|
113
|
+
"git_pull_url": "git://gist.github.com/1203094.git",
|
114
|
+
"files": {
|
115
|
+
"dict.m": {
|
116
|
+
"type": "text/plain",
|
117
|
+
"language": "Objective-C",
|
118
|
+
"raw_url": "https://gist.github.com/raw/1203094/194d07af6285e9807c7d0d1a8ad2ee81ef110566/dict.m",
|
119
|
+
"size": 486,
|
120
|
+
"filename": "dict.m"
|
121
|
+
},
|
122
|
+
"Makefile": {
|
123
|
+
"type": "text/plain",
|
124
|
+
"language": "Makefile",
|
125
|
+
"raw_url": "https://gist.github.com/raw/1203094/16e002389b9dcca250e0c6661681dec25315593d/Makefile",
|
126
|
+
"size": 89,
|
127
|
+
"filename": "Makefile"
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"git_push_url": "git@gist.github.com:1203094.git",
|
131
|
+
"id": "1203094",
|
132
|
+
"comments": 0,
|
133
|
+
"updated_at": "2011-09-08T10:24:24Z"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"url": "https://api.github.com/gists/1144830",
|
137
|
+
"user": {
|
138
|
+
"url": "https://api.github.com/users/swdyh",
|
139
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
140
|
+
"login": "swdyh",
|
141
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
142
|
+
"id": 9168
|
143
|
+
},
|
144
|
+
"created_at": "2011-08-14T12:03:08Z",
|
145
|
+
"public": true,
|
146
|
+
"description": null,
|
147
|
+
"html_url": "https://gist.github.com/1144830",
|
148
|
+
"git_pull_url": "git://gist.github.com/1144830.git",
|
149
|
+
"files": {
|
150
|
+
"refe.patch": {
|
151
|
+
"type": "text/plain",
|
152
|
+
"language": "Diff",
|
153
|
+
"raw_url": "https://gist.github.com/raw/1144830/3ffd31aed62a92002dbcb5c247eeeedc8eef45a2/refe.patch",
|
154
|
+
"size": 1498,
|
155
|
+
"filename": "refe.patch"
|
156
|
+
}
|
157
|
+
},
|
158
|
+
"git_push_url": "git@gist.github.com:1144830.git",
|
159
|
+
"id": "1144830",
|
160
|
+
"comments": 0,
|
161
|
+
"updated_at": "2011-08-14T12:03:08Z"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"url": "https://api.github.com/gists/1009134",
|
165
|
+
"user": {
|
166
|
+
"url": "https://api.github.com/users/swdyh",
|
167
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
168
|
+
"login": "swdyh",
|
169
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
170
|
+
"id": 9168
|
171
|
+
},
|
172
|
+
"created_at": "2011-06-05T16:35:25Z",
|
173
|
+
"public": true,
|
174
|
+
"description": null,
|
175
|
+
"html_url": "https://gist.github.com/1009134",
|
176
|
+
"git_pull_url": "git://gist.github.com/1009134.git",
|
177
|
+
"files": {
|
178
|
+
"uniq.js": {
|
179
|
+
"type": "application/javascript",
|
180
|
+
"language": "JavaScript",
|
181
|
+
"raw_url": "https://gist.github.com/raw/1009134/8f42e67ad7b8fb71c4d23c8d09002360db39309b/uniq.js",
|
182
|
+
"size": 250,
|
183
|
+
"filename": "uniq.js"
|
184
|
+
}
|
185
|
+
},
|
186
|
+
"git_push_url": "git@gist.github.com:1009134.git",
|
187
|
+
"id": "1009134",
|
188
|
+
"comments": 0,
|
189
|
+
"updated_at": "2011-06-05T16:36:15Z"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"url": "https://api.github.com/gists/948199",
|
193
|
+
"user": {
|
194
|
+
"url": "https://api.github.com/users/swdyh",
|
195
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
196
|
+
"login": "swdyh",
|
197
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
198
|
+
"id": 9168
|
199
|
+
},
|
200
|
+
"created_at": "2011-04-29T11:48:24Z",
|
201
|
+
"public": true,
|
202
|
+
"description": null,
|
203
|
+
"html_url": "https://gist.github.com/948199",
|
204
|
+
"git_pull_url": "git://gist.github.com/948199.git",
|
205
|
+
"files": {
|
206
|
+
"ggyast.rb": {
|
207
|
+
"type": "application/ruby",
|
208
|
+
"language": "Ruby",
|
209
|
+
"raw_url": "https://gist.github.com/raw/948199/26d84f036b2de6694f6a1bca1701c80ccdcd616b/ggyast.rb",
|
210
|
+
"size": 767,
|
211
|
+
"filename": "ggyast.rb"
|
212
|
+
}
|
213
|
+
},
|
214
|
+
"git_push_url": "git@gist.github.com:948199.git",
|
215
|
+
"id": "948199",
|
216
|
+
"comments": 0,
|
217
|
+
"updated_at": "2011-04-29T11:49:17Z"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"url": "https://api.github.com/gists/948170",
|
221
|
+
"user": {
|
222
|
+
"url": "https://api.github.com/users/swdyh",
|
223
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
224
|
+
"login": "swdyh",
|
225
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
226
|
+
"id": 9168
|
227
|
+
},
|
228
|
+
"created_at": "2011-04-29T11:05:09Z",
|
229
|
+
"public": true,
|
230
|
+
"description": null,
|
231
|
+
"html_url": "https://gist.github.com/948170",
|
232
|
+
"git_pull_url": "git://gist.github.com/948170.git",
|
233
|
+
"files": {
|
234
|
+
"1304075100.jpg": {
|
235
|
+
"type": "image/jpeg",
|
236
|
+
"language": null,
|
237
|
+
"raw_url": "https://gist.github.com/raw/948170/c443ff01aceef3ef18142a4be1c75f181e3d6aa2/1304075100.jpg",
|
238
|
+
"size": 51620,
|
239
|
+
"filename": "1304075100.jpg"
|
240
|
+
}
|
241
|
+
},
|
242
|
+
"git_push_url": "git@gist.github.com:948170.git",
|
243
|
+
"id": "948170",
|
244
|
+
"comments": 0,
|
245
|
+
"updated_at": "2011-04-29T11:05:53Z"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"url": "https://api.github.com/gists/948164",
|
249
|
+
"user": {
|
250
|
+
"url": "https://api.github.com/users/swdyh",
|
251
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
252
|
+
"login": "swdyh",
|
253
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
254
|
+
"id": 9168
|
255
|
+
},
|
256
|
+
"created_at": "2011-04-29T10:49:37Z",
|
257
|
+
"public": true,
|
258
|
+
"description": null,
|
259
|
+
"html_url": "https://gist.github.com/948164",
|
260
|
+
"git_pull_url": "git://gist.github.com/948164.git",
|
261
|
+
"files": {
|
262
|
+
"1304074164.jpg": {
|
263
|
+
"type": "image/jpeg",
|
264
|
+
"language": null,
|
265
|
+
"raw_url": "https://gist.github.com/raw/948164/cfef9b2090247d616291c97b6d5ec83563da4d9d/1304074164.jpg",
|
266
|
+
"size": 47075,
|
267
|
+
"filename": "1304074164.jpg"
|
268
|
+
}
|
269
|
+
},
|
270
|
+
"git_push_url": "git@gist.github.com:948164.git",
|
271
|
+
"id": "948164",
|
272
|
+
"comments": 0,
|
273
|
+
"updated_at": "2011-04-29T10:49:45Z"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"url": "https://api.github.com/gists/943874",
|
277
|
+
"user": {
|
278
|
+
"url": "https://api.github.com/users/swdyh",
|
279
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
280
|
+
"login": "swdyh",
|
281
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
282
|
+
"id": 9168
|
283
|
+
},
|
284
|
+
"created_at": "2011-04-27T07:49:03Z",
|
285
|
+
"public": true,
|
286
|
+
"description": null,
|
287
|
+
"html_url": "https://gist.github.com/943874",
|
288
|
+
"git_pull_url": "git://gist.github.com/943874.git",
|
289
|
+
"files": {
|
290
|
+
"1303890528.jpg": {
|
291
|
+
"type": "image/jpeg",
|
292
|
+
"language": null,
|
293
|
+
"raw_url": "https://gist.github.com/raw/943874/450cbc4b5edaa0c774ce128611f4f7f591df3fa5/1303890528.jpg",
|
294
|
+
"size": 7808,
|
295
|
+
"filename": "1303890528.jpg"
|
296
|
+
}
|
297
|
+
},
|
298
|
+
"git_push_url": "git@gist.github.com:943874.git",
|
299
|
+
"id": "943874",
|
300
|
+
"comments": 0,
|
301
|
+
"updated_at": "2011-04-27T07:49:43Z"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"url": "https://api.github.com/gists/933702",
|
305
|
+
"user": {
|
306
|
+
"url": "https://api.github.com/users/swdyh",
|
307
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
308
|
+
"login": "swdyh",
|
309
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
310
|
+
"id": 9168
|
311
|
+
},
|
312
|
+
"created_at": "2011-04-21T04:13:44Z",
|
313
|
+
"public": true,
|
314
|
+
"description": null,
|
315
|
+
"html_url": "https://gist.github.com/933702",
|
316
|
+
"git_pull_url": "git://gist.github.com/933702.git",
|
317
|
+
"files": {
|
318
|
+
"1303359219.jpg": {
|
319
|
+
"type": "image/jpeg",
|
320
|
+
"language": null,
|
321
|
+
"raw_url": "https://gist.github.com/raw/933702/6ed8e9f7e2aefeb5f0bc60b42ab262afc28b2485/1303359219.jpg",
|
322
|
+
"size": 7908,
|
323
|
+
"filename": "1303359219.jpg"
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"git_push_url": "git@gist.github.com:933702.git",
|
327
|
+
"id": "933702",
|
328
|
+
"comments": 0,
|
329
|
+
"updated_at": "2011-04-21T04:14:11Z"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"url": "https://api.github.com/gists/933701",
|
333
|
+
"user": {
|
334
|
+
"url": "https://api.github.com/users/swdyh",
|
335
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
336
|
+
"login": "swdyh",
|
337
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
338
|
+
"id": 9168
|
339
|
+
},
|
340
|
+
"created_at": "2011-04-21T04:12:48Z",
|
341
|
+
"public": true,
|
342
|
+
"description": null,
|
343
|
+
"html_url": "https://gist.github.com/933701",
|
344
|
+
"git_pull_url": "git://gist.github.com/933701.git",
|
345
|
+
"files": {
|
346
|
+
"1303359157.jpg": {
|
347
|
+
"type": "image/jpeg",
|
348
|
+
"language": null,
|
349
|
+
"raw_url": "https://gist.github.com/raw/933701/76de596835476daf1ee2aa29a3b6a8d34af7c859/1303359157.jpg",
|
350
|
+
"size": 8119,
|
351
|
+
"filename": "1303359157.jpg"
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"git_push_url": "git@gist.github.com:933701.git",
|
355
|
+
"id": "933701",
|
356
|
+
"comments": 0,
|
357
|
+
"updated_at": "2011-04-21T04:13:05Z"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"url": "https://api.github.com/gists/933656",
|
361
|
+
"user": {
|
362
|
+
"url": "https://api.github.com/users/swdyh",
|
363
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
364
|
+
"login": "swdyh",
|
365
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
366
|
+
"id": 9168
|
367
|
+
},
|
368
|
+
"created_at": "2011-04-21T03:28:57Z",
|
369
|
+
"public": true,
|
370
|
+
"description": null,
|
371
|
+
"html_url": "https://gist.github.com/933656",
|
372
|
+
"git_pull_url": "git://gist.github.com/933656.git",
|
373
|
+
"files": {
|
374
|
+
"gyast.rb": {
|
375
|
+
"type": "application/ruby",
|
376
|
+
"language": "Ruby",
|
377
|
+
"raw_url": "https://gist.github.com/raw/933656/811cd112783158416c2f69988b7a81fab24a9af7/gyast.rb",
|
378
|
+
"size": 511,
|
379
|
+
"filename": "gyast.rb"
|
380
|
+
}
|
381
|
+
},
|
382
|
+
"git_push_url": "git@gist.github.com:933656.git",
|
383
|
+
"id": "933656",
|
384
|
+
"comments": 0,
|
385
|
+
"updated_at": "2011-04-21T03:28:59Z"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"url": "https://api.github.com/gists/933645",
|
389
|
+
"user": {
|
390
|
+
"url": "https://api.github.com/users/swdyh",
|
391
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
392
|
+
"login": "swdyh",
|
393
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
394
|
+
"id": 9168
|
395
|
+
},
|
396
|
+
"created_at": "2011-04-21T03:20:49Z",
|
397
|
+
"public": true,
|
398
|
+
"description": null,
|
399
|
+
"html_url": "https://gist.github.com/933645",
|
400
|
+
"git_pull_url": "git://gist.github.com/933645.git",
|
401
|
+
"files": {
|
402
|
+
"1303356040.jpg": {
|
403
|
+
"type": "image/jpeg",
|
404
|
+
"language": null,
|
405
|
+
"raw_url": "https://gist.github.com/raw/933645/c6694c692fa5772c5ce2eca86cd3668847e93463/1303356040.jpg",
|
406
|
+
"size": 12212,
|
407
|
+
"filename": "1303356040.jpg"
|
408
|
+
}
|
409
|
+
},
|
410
|
+
"git_push_url": "git@gist.github.com:933645.git",
|
411
|
+
"id": "933645",
|
412
|
+
"comments": 0,
|
413
|
+
"updated_at": "2011-04-21T03:20:55Z"
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"url": "https://api.github.com/gists/899444",
|
417
|
+
"user": {
|
418
|
+
"url": "https://api.github.com/users/swdyh",
|
419
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
420
|
+
"login": "swdyh",
|
421
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
422
|
+
"id": 9168
|
423
|
+
},
|
424
|
+
"created_at": "2011-04-02T12:07:01Z",
|
425
|
+
"public": true,
|
426
|
+
"description": null,
|
427
|
+
"html_url": "https://gist.github.com/899444",
|
428
|
+
"git_pull_url": "git://gist.github.com/899444.git",
|
429
|
+
"files": {
|
430
|
+
"ppj": {
|
431
|
+
"type": "text/plain",
|
432
|
+
"language": null,
|
433
|
+
"raw_url": "https://gist.github.com/raw/899444/9171d183acabddb69e36c5125cb869c72159b45d/ppj",
|
434
|
+
"size": 156,
|
435
|
+
"filename": "ppj"
|
436
|
+
}
|
437
|
+
},
|
438
|
+
"git_push_url": "git@gist.github.com:899444.git",
|
439
|
+
"id": "899444",
|
440
|
+
"comments": 0,
|
441
|
+
"updated_at": "2011-04-02T12:07:01Z"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"url": "https://api.github.com/gists/849044",
|
445
|
+
"user": {
|
446
|
+
"url": "https://api.github.com/users/swdyh",
|
447
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
448
|
+
"login": "swdyh",
|
449
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
450
|
+
"id": 9168
|
451
|
+
},
|
452
|
+
"created_at": "2011-03-01T12:11:28Z",
|
453
|
+
"public": true,
|
454
|
+
"description": null,
|
455
|
+
"html_url": "https://gist.github.com/849044",
|
456
|
+
"git_pull_url": "git://gist.github.com/849044.git",
|
457
|
+
"files": {
|
458
|
+
"test.txt": {
|
459
|
+
"type": "text/plain",
|
460
|
+
"language": "Text",
|
461
|
+
"raw_url": "https://gist.github.com/raw/849044/9daeafb9864cf43055ae93beb0afd6c7d144bfa4/test.txt",
|
462
|
+
"size": 5,
|
463
|
+
"filename": "test.txt"
|
464
|
+
}
|
465
|
+
},
|
466
|
+
"git_push_url": "git@gist.github.com:849044.git",
|
467
|
+
"id": "849044",
|
468
|
+
"comments": 0,
|
469
|
+
"updated_at": "2011-03-01T12:11:28Z"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"url": "https://api.github.com/gists/849042",
|
473
|
+
"user": {
|
474
|
+
"url": "https://api.github.com/users/swdyh",
|
475
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
476
|
+
"login": "swdyh",
|
477
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
478
|
+
"id": 9168
|
479
|
+
},
|
480
|
+
"created_at": "2011-03-01T12:10:26Z",
|
481
|
+
"public": true,
|
482
|
+
"description": null,
|
483
|
+
"html_url": "https://gist.github.com/849042",
|
484
|
+
"git_pull_url": "git://gist.github.com/849042.git",
|
485
|
+
"files": {
|
486
|
+
"test.txt": {
|
487
|
+
"type": "text/plain",
|
488
|
+
"language": "Text",
|
489
|
+
"raw_url": "https://gist.github.com/raw/849042/9daeafb9864cf43055ae93beb0afd6c7d144bfa4/test.txt",
|
490
|
+
"size": 5,
|
491
|
+
"filename": "test.txt"
|
492
|
+
}
|
493
|
+
},
|
494
|
+
"git_push_url": "git@gist.github.com:849042.git",
|
495
|
+
"id": "849042",
|
496
|
+
"comments": 0,
|
497
|
+
"updated_at": "2011-03-01T12:10:27Z"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"url": "https://api.github.com/gists/842127",
|
501
|
+
"user": {
|
502
|
+
"url": "https://api.github.com/users/swdyh",
|
503
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
504
|
+
"login": "swdyh",
|
505
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
506
|
+
"id": 9168
|
507
|
+
},
|
508
|
+
"created_at": "2011-02-24T12:54:23Z",
|
509
|
+
"public": true,
|
510
|
+
"description": null,
|
511
|
+
"html_url": "https://gist.github.com/842127",
|
512
|
+
"git_pull_url": "git://gist.github.com/842127.git",
|
513
|
+
"files": {
|
514
|
+
"kt-cli": {
|
515
|
+
"type": "text/plain",
|
516
|
+
"language": null,
|
517
|
+
"raw_url": "https://gist.github.com/raw/842127/dc6cc0f8ad22d46743aa4e074e39ff979b60ab23/kt-cli",
|
518
|
+
"size": 1250,
|
519
|
+
"filename": "kt-cli"
|
520
|
+
}
|
521
|
+
},
|
522
|
+
"git_push_url": "git@gist.github.com:842127.git",
|
523
|
+
"id": "842127",
|
524
|
+
"comments": 0,
|
525
|
+
"updated_at": "2011-02-24T12:54:24Z"
|
526
|
+
},
|
527
|
+
{
|
528
|
+
"url": "https://api.github.com/gists/836299",
|
529
|
+
"user": {
|
530
|
+
"url": "https://api.github.com/users/swdyh",
|
531
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
532
|
+
"login": "swdyh",
|
533
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
534
|
+
"id": 9168
|
535
|
+
},
|
536
|
+
"created_at": "2011-02-20T20:56:48Z",
|
537
|
+
"public": true,
|
538
|
+
"description": null,
|
539
|
+
"html_url": "https://gist.github.com/836299",
|
540
|
+
"git_pull_url": "git://gist.github.com/836299.git",
|
541
|
+
"files": {
|
542
|
+
"app.js": {
|
543
|
+
"type": "application/javascript",
|
544
|
+
"language": "JavaScript",
|
545
|
+
"raw_url": "https://gist.github.com/raw/836299/9ee5aefdd9ec332cb68102993731c4e64db54f1a/app.js",
|
546
|
+
"size": 2005,
|
547
|
+
"filename": "app.js"
|
548
|
+
},
|
549
|
+
"worker.js": {
|
550
|
+
"type": "application/javascript",
|
551
|
+
"language": "JavaScript",
|
552
|
+
"raw_url": "https://gist.github.com/raw/836299/edb1b40f2f85f3d9d27b8873f06ed5087f92e94f/worker.js",
|
553
|
+
"size": 816,
|
554
|
+
"filename": "worker.js"
|
555
|
+
},
|
556
|
+
"access.js": {
|
557
|
+
"type": "application/javascript",
|
558
|
+
"language": "JavaScript",
|
559
|
+
"raw_url": "https://gist.github.com/raw/836299/73acc0976f36578de0b23ba79c8ad5afb2e5fef6/access.js",
|
560
|
+
"size": 404,
|
561
|
+
"filename": "access.js"
|
562
|
+
}
|
563
|
+
},
|
564
|
+
"git_push_url": "git@gist.github.com:836299.git",
|
565
|
+
"id": "836299",
|
566
|
+
"comments": 0,
|
567
|
+
"updated_at": "2011-02-20T20:56:48Z"
|
568
|
+
},
|
569
|
+
{
|
570
|
+
"url": "https://api.github.com/gists/672914",
|
571
|
+
"user": {
|
572
|
+
"url": "https://api.github.com/users/swdyh",
|
573
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
574
|
+
"login": "swdyh",
|
575
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
576
|
+
"id": 9168
|
577
|
+
},
|
578
|
+
"created_at": "2010-11-11T18:05:37Z",
|
579
|
+
"public": true,
|
580
|
+
"description": null,
|
581
|
+
"html_url": "https://gist.github.com/672914",
|
582
|
+
"git_pull_url": "git://gist.github.com/672914.git",
|
583
|
+
"files": {
|
584
|
+
"ust_rec.rb": {
|
585
|
+
"type": "application/ruby",
|
586
|
+
"language": "Ruby",
|
587
|
+
"raw_url": "https://gist.github.com/raw/672914/8ef70df878ded3141899f6fd20b6c3598b6b5bc9/ust_rec.rb",
|
588
|
+
"size": 1034,
|
589
|
+
"filename": "ust_rec.rb"
|
590
|
+
}
|
591
|
+
},
|
592
|
+
"git_push_url": "git@gist.github.com:672914.git",
|
593
|
+
"id": "672914",
|
594
|
+
"comments": 0,
|
595
|
+
"updated_at": "2010-11-11T18:05:37Z"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"url": "https://api.github.com/gists/639452",
|
599
|
+
"user": {
|
600
|
+
"url": "https://api.github.com/users/swdyh",
|
601
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
602
|
+
"login": "swdyh",
|
603
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
604
|
+
"id": 9168
|
605
|
+
},
|
606
|
+
"created_at": "2010-10-21T22:02:09Z",
|
607
|
+
"public": true,
|
608
|
+
"description": null,
|
609
|
+
"html_url": "https://gist.github.com/639452",
|
610
|
+
"git_pull_url": "git://gist.github.com/639452.git",
|
611
|
+
"files": {
|
612
|
+
"extension.js": {
|
613
|
+
"type": "application/javascript",
|
614
|
+
"language": "JavaScript",
|
615
|
+
"raw_url": "https://gist.github.com/raw/639452/b7fddc248dd18da578eae5bfbefb3ef7aa5d6b27/extension.js",
|
616
|
+
"size": 1996,
|
617
|
+
"filename": "extension.js"
|
618
|
+
}
|
619
|
+
},
|
620
|
+
"git_push_url": "git@gist.github.com:639452.git",
|
621
|
+
"id": "639452",
|
622
|
+
"comments": 0,
|
623
|
+
"updated_at": "2010-10-21T22:02:09Z"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"url": "https://api.github.com/gists/635006",
|
627
|
+
"user": {
|
628
|
+
"url": "https://api.github.com/users/swdyh",
|
629
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
630
|
+
"login": "swdyh",
|
631
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
632
|
+
"id": 9168
|
633
|
+
},
|
634
|
+
"created_at": "2010-10-19T20:14:52Z",
|
635
|
+
"public": true,
|
636
|
+
"description": null,
|
637
|
+
"html_url": "https://gist.github.com/635006",
|
638
|
+
"git_pull_url": "git://gist.github.com/635006.git",
|
639
|
+
"files": {
|
640
|
+
"twitter_embed_image.user.js": {
|
641
|
+
"type": "application/javascript",
|
642
|
+
"language": "JavaScript",
|
643
|
+
"raw_url": "https://gist.github.com/raw/635006/a5e5f799532c5b4c413bca4ca31693cafa79e269/twitter_embed_image.user.js",
|
644
|
+
"size": 1284,
|
645
|
+
"filename": "twitter_embed_image.user.js"
|
646
|
+
}
|
647
|
+
},
|
648
|
+
"git_push_url": "git@gist.github.com:635006.git",
|
649
|
+
"id": "635006",
|
650
|
+
"comments": 0,
|
651
|
+
"updated_at": "2010-10-19T20:14:52Z"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"url": "https://api.github.com/gists/576030",
|
655
|
+
"user": {
|
656
|
+
"url": "https://api.github.com/users/swdyh",
|
657
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
658
|
+
"login": "swdyh",
|
659
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
660
|
+
"id": 9168
|
661
|
+
},
|
662
|
+
"created_at": "2010-09-12T12:13:27Z",
|
663
|
+
"public": true,
|
664
|
+
"description": null,
|
665
|
+
"html_url": "https://gist.github.com/576030",
|
666
|
+
"git_pull_url": "git://gist.github.com/576030.git",
|
667
|
+
"files": {
|
668
|
+
"hide_share.user.css": {
|
669
|
+
"type": "text/css",
|
670
|
+
"language": "CSS",
|
671
|
+
"raw_url": "https://gist.github.com/raw/576030/ed470a61026b8221f1731678f5e31f39fa3a01dc/hide_share.user.css",
|
672
|
+
"size": 141,
|
673
|
+
"filename": "hide_share.user.css"
|
674
|
+
}
|
675
|
+
},
|
676
|
+
"git_push_url": "git@gist.github.com:576030.git",
|
677
|
+
"id": "576030",
|
678
|
+
"comments": 0,
|
679
|
+
"updated_at": "2010-09-12T12:13:27Z"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"url": "https://api.github.com/gists/337627",
|
683
|
+
"user": {
|
684
|
+
"url": "https://api.github.com/users/swdyh",
|
685
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
686
|
+
"login": "swdyh",
|
687
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
688
|
+
"id": 9168
|
689
|
+
},
|
690
|
+
"created_at": "2010-03-19T15:38:26Z",
|
691
|
+
"public": true,
|
692
|
+
"description": null,
|
693
|
+
"html_url": "https://gist.github.com/337627",
|
694
|
+
"git_pull_url": "git://gist.github.com/337627.git",
|
695
|
+
"files": {
|
696
|
+
"tweets_filter.user.js": {
|
697
|
+
"type": "application/javascript",
|
698
|
+
"language": "JavaScript",
|
699
|
+
"raw_url": "https://gist.github.com/raw/337627/1a6e803aa6aa593ac592f557471b98dd60d22bba/tweets_filter.user.js",
|
700
|
+
"size": 631,
|
701
|
+
"filename": "tweets_filter.user.js"
|
702
|
+
}
|
703
|
+
},
|
704
|
+
"git_push_url": "git@gist.github.com:337627.git",
|
705
|
+
"id": "337627",
|
706
|
+
"comments": 0,
|
707
|
+
"updated_at": "2010-03-19T15:38:26Z"
|
708
|
+
},
|
709
|
+
{
|
710
|
+
"url": "https://api.github.com/gists/316613",
|
711
|
+
"user": {
|
712
|
+
"url": "https://api.github.com/users/swdyh",
|
713
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
714
|
+
"login": "swdyh",
|
715
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
716
|
+
"id": 9168
|
717
|
+
},
|
718
|
+
"created_at": "2010-02-27T10:08:53Z",
|
719
|
+
"public": true,
|
720
|
+
"description": null,
|
721
|
+
"html_url": "https://gist.github.com/316613",
|
722
|
+
"git_pull_url": "git://gist.github.com/316613.git",
|
723
|
+
"files": {
|
724
|
+
"open_uri_with_ssl.rb": {
|
725
|
+
"type": "application/ruby",
|
726
|
+
"language": "Ruby",
|
727
|
+
"raw_url": "https://gist.github.com/raw/316613/2218acabd55fe041753215815a9dedc1ceb42201/open_uri_with_ssl.rb",
|
728
|
+
"size": 500,
|
729
|
+
"filename": "open_uri_with_ssl.rb"
|
730
|
+
}
|
731
|
+
},
|
732
|
+
"git_push_url": "git@gist.github.com:316613.git",
|
733
|
+
"id": "316613",
|
734
|
+
"comments": 0,
|
735
|
+
"updated_at": "2010-02-27T10:08:54Z"
|
736
|
+
},
|
737
|
+
{
|
738
|
+
"url": "https://api.github.com/gists/2760736664d7c551c4c0",
|
739
|
+
"user": {
|
740
|
+
"url": "https://api.github.com/users/swdyh",
|
741
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
742
|
+
"login": "swdyh",
|
743
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
744
|
+
"id": 9168
|
745
|
+
},
|
746
|
+
"created_at": "2009-12-08T10:33:38Z",
|
747
|
+
"public": false,
|
748
|
+
"description": null,
|
749
|
+
"html_url": "https://gist.github.com/2760736664d7c551c4c0",
|
750
|
+
"git_pull_url": "git://gist.github.com/2760736664d7c551c4c0.git",
|
751
|
+
"files": {
|
752
|
+
"private.txt": {
|
753
|
+
"type": "text/plain",
|
754
|
+
"language": "Text",
|
755
|
+
"raw_url": "https://gist.github.com/raw/2760736664d7c551c4c0/257cc5642cb1a054f08cc83f2d943e56fd3ebe99/private.txt",
|
756
|
+
"size": 4,
|
757
|
+
"filename": "private.txt"
|
758
|
+
}
|
759
|
+
},
|
760
|
+
"git_push_url": "git@gist.github.com:2760736664d7c551c4c0.git",
|
761
|
+
"id": "2760736664d7c551c4c0",
|
762
|
+
"comments": 0,
|
763
|
+
"updated_at": "2009-12-08T10:33:38Z"
|
764
|
+
},
|
765
|
+
{
|
766
|
+
"url": "https://api.github.com/gists/be9ff6cfee422dce7b4a",
|
767
|
+
"user": {
|
768
|
+
"url": "https://api.github.com/users/swdyh",
|
769
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
770
|
+
"login": "swdyh",
|
771
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
772
|
+
"id": 9168
|
773
|
+
},
|
774
|
+
"created_at": "2009-12-08T10:29:17Z",
|
775
|
+
"public": false,
|
776
|
+
"description": null,
|
777
|
+
"html_url": "https://gist.github.com/be9ff6cfee422dce7b4a",
|
778
|
+
"git_pull_url": "git://gist.github.com/be9ff6cfee422dce7b4a.git",
|
779
|
+
"files": {
|
780
|
+
"gistfile1.txt": {
|
781
|
+
"type": "text/plain",
|
782
|
+
"language": "Text",
|
783
|
+
"raw_url": "https://gist.github.com/raw/be9ff6cfee422dce7b4a/7c4a013e52c76442ab80ee5572399a30373600a2/gistfile1.txt",
|
784
|
+
"size": 3,
|
785
|
+
"filename": "gistfile1.txt"
|
786
|
+
}
|
787
|
+
},
|
788
|
+
"git_push_url": "git@gist.github.com:be9ff6cfee422dce7b4a.git",
|
789
|
+
"id": "be9ff6cfee422dce7b4a",
|
790
|
+
"comments": 0,
|
791
|
+
"updated_at": "2009-12-08T10:29:17Z"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"url": "https://api.github.com/gists/a4907f927192fd8933e7",
|
795
|
+
"user": {
|
796
|
+
"url": "https://api.github.com/users/swdyh",
|
797
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
798
|
+
"login": "swdyh",
|
799
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
800
|
+
"id": 9168
|
801
|
+
},
|
802
|
+
"created_at": "2009-12-08T10:26:07Z",
|
803
|
+
"public": false,
|
804
|
+
"description": null,
|
805
|
+
"html_url": "https://gist.github.com/a4907f927192fd8933e7",
|
806
|
+
"git_pull_url": "git://gist.github.com/a4907f927192fd8933e7.git",
|
807
|
+
"files": {
|
808
|
+
"private.txt": {
|
809
|
+
"type": "text/plain",
|
810
|
+
"language": "Text",
|
811
|
+
"raw_url": "https://gist.github.com/raw/a4907f927192fd8933e7/257cc5642cb1a054f08cc83f2d943e56fd3ebe99/private.txt",
|
812
|
+
"size": 4,
|
813
|
+
"filename": "private.txt"
|
814
|
+
}
|
815
|
+
},
|
816
|
+
"git_push_url": "git@gist.github.com:a4907f927192fd8933e7.git",
|
817
|
+
"id": "a4907f927192fd8933e7",
|
818
|
+
"comments": 0,
|
819
|
+
"updated_at": "2009-12-08T10:26:08Z"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"url": "https://api.github.com/gists/246500",
|
823
|
+
"user": {
|
824
|
+
"url": "https://api.github.com/users/swdyh",
|
825
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
826
|
+
"login": "swdyh",
|
827
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
828
|
+
"id": 9168
|
829
|
+
},
|
830
|
+
"created_at": "2009-12-01T18:12:21Z",
|
831
|
+
"public": true,
|
832
|
+
"description": null,
|
833
|
+
"html_url": "https://gist.github.com/246500",
|
834
|
+
"git_pull_url": "git://gist.github.com/246500.git",
|
835
|
+
"files": {
|
836
|
+
"bccks_remove_bg_image.css": {
|
837
|
+
"type": "text/css",
|
838
|
+
"language": "CSS",
|
839
|
+
"raw_url": "https://gist.github.com/raw/246500/be32ebaffba8be894f6b154c730568d873bebe3c/bccks_remove_bg_image.css",
|
840
|
+
"size": 130,
|
841
|
+
"filename": "bccks_remove_bg_image.css"
|
842
|
+
}
|
843
|
+
},
|
844
|
+
"git_push_url": "git@gist.github.com:246500.git",
|
845
|
+
"id": "246500",
|
846
|
+
"comments": 0,
|
847
|
+
"updated_at": "2009-12-01T18:12:25Z"
|
848
|
+
},
|
849
|
+
{
|
850
|
+
"url": "https://api.github.com/gists/221465",
|
851
|
+
"user": {
|
852
|
+
"url": "https://api.github.com/users/swdyh",
|
853
|
+
"gravatar_id": "465e43442fc3604b4a7ad9c55bc52066",
|
854
|
+
"login": "swdyh",
|
855
|
+
"avatar_url": "https://secure.gravatar.com/avatar/465e43442fc3604b4a7ad9c55bc52066?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
856
|
+
"id": 9168
|
857
|
+
},
|
858
|
+
"created_at": "2009-10-29T14:06:06Z",
|
859
|
+
"public": true,
|
860
|
+
"description": null,
|
861
|
+
"html_url": "https://gist.github.com/221465",
|
862
|
+
"git_pull_url": "git://gist.github.com/221465.git",
|
863
|
+
"files": {
|
864
|
+
"pay.txt": {
|
865
|
+
"type": "text/plain",
|
866
|
+
"language": "Text",
|
867
|
+
"raw_url": "https://gist.github.com/raw/221465/8ed290c1d9bd1239b6777aa01431e9ebee1fc15f/pay.txt",
|
868
|
+
"size": 400,
|
869
|
+
"filename": "pay.txt"
|
870
|
+
}
|
871
|
+
},
|
872
|
+
"git_push_url": "git@gist.github.com:221465.git",
|
873
|
+
"id": "221465",
|
874
|
+
"comments": 0,
|
875
|
+
"updated_at": "2009-10-29T14:06:06Z"
|
876
|
+
}
|
877
|
+
]
|