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
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gisty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 1
|
9
8
|
- 2
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- swdyh
|
@@ -15,40 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-03-
|
18
|
+
date: 2012-03-26 00:00:00 +09:00
|
19
19
|
default_executable: gisty
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 23
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 0
|
33
|
-
- 0
|
34
|
-
version: 1.0.0
|
35
|
-
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: highline
|
39
|
-
prerelease: false
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ">="
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 3
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
version: "0"
|
49
|
-
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
|
-
description: yet another command line client for gist
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: yet another command line client for gist. Gisty uses Github API V3 via OAuth2.
|
52
23
|
email: http://mailhide.recaptcha.net/d?k=01AhB7crgrlHptVaYRD0oPwA==&c=L_iqOZrGmo6hcGpPTFg1QYnjr-WpAStyQ4Y8ShfgOHs=
|
53
24
|
executables:
|
54
25
|
- gisty
|
@@ -60,16 +31,12 @@ files:
|
|
60
31
|
- README.rdoc
|
61
32
|
- Rakefile
|
62
33
|
- bin/gisty
|
63
|
-
- test/fixtures/24835
|
64
|
-
- test/fixtures/30119
|
65
34
|
- test/fixtures/bar.user.js
|
66
35
|
- test/fixtures/foo.user.js
|
67
|
-
- test/fixtures/
|
68
|
-
- test/fixtures/
|
69
|
-
- test/fixtures/
|
70
|
-
- test/fixtures/
|
71
|
-
- test/fixtures/swdyh
|
72
|
-
- test/fixtures/swdyh_page_4
|
36
|
+
- test/fixtures/gists_1
|
37
|
+
- test/fixtures/gists_2
|
38
|
+
- test/fixtures/gists_3
|
39
|
+
- test/fixtures/gists_post
|
73
40
|
- test/gisty_test.rb
|
74
41
|
- test/test_helper.rb
|
75
42
|
- lib/commands/about.rb
|
@@ -124,6 +91,6 @@ rubyforge_project: gisty
|
|
124
91
|
rubygems_version: 1.3.7
|
125
92
|
signing_key:
|
126
93
|
specification_version: 3
|
127
|
-
summary: yet another command line client for gist
|
94
|
+
summary: yet another command line client for gist.
|
128
95
|
test_files:
|
129
96
|
- test/gisty_test.rb
|
data/test/fixtures/24835
DELETED
@@ -1,241 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
7
|
-
|
8
|
-
<title>gist: 24835 — GitHub</title>
|
9
|
-
|
10
|
-
<link href="/stylesheets/facebox.css" media="screen" rel="stylesheet" type="text/css" />
|
11
|
-
<link href="/stylesheets/gist/screen.css" media="screen" rel="stylesheet" type="text/css" />
|
12
|
-
<link href="/stylesheets/pygment_trac.css" media="screen" rel="stylesheet" type="text/css" />
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<div id="main">
|
21
|
-
<div id="header" class="">
|
22
|
-
<div class="site">
|
23
|
-
<div class="logo">
|
24
|
-
<a href="/"><img src="/images/modules/header/logo_gist.png" alt="git-hub" /></a>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div class="actions">
|
28
|
-
<a href="/">New</a>
|
29
|
-
<a href="/gists">All Gists</a>
|
30
|
-
<a href="/login?return_to=gist">Login</a>
|
31
|
-
<a href="http://github.com/signup?return_to=gist">Signup for a GitHub Account</a>
|
32
|
-
</div>
|
33
|
-
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="site">
|
38
|
-
|
39
|
-
<div id="gist_data">
|
40
|
-
<div id="repos">
|
41
|
-
<div class="repo public">
|
42
|
-
<div class="title">
|
43
|
-
<div class="path">
|
44
|
-
gist: 24835
|
45
|
-
|
46
|
-
|
47
|
-
<a href="/gists/24835/download"><img alt="Download_button" border="0" class="button" src="/images/modules/repos/download_button.png?9eb59f95332165fee30c4fdb22748a8fe02eb123" /></a>
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
<a href="http://github.com/signup"><img alt="fork" class="button" src="/images/modules/repos/fork_button.png?9eb59f95332165fee30c4fdb22748a8fe02eb123" /></a>
|
53
|
-
|
54
|
-
</div>
|
55
|
-
|
56
|
-
|
57
|
-
<div class="security public_security" style="">
|
58
|
-
<a href="#public_repo" rel="facebox"><img src="/images/icons/public.png" alt="public" /></a>
|
59
|
-
</div>
|
60
|
-
|
61
|
-
|
62
|
-
<div id="private_repo" class="hidden">
|
63
|
-
This gist is private.
|
64
|
-
All pages are served over SSL and all pushing and pulling is done over SSH.
|
65
|
-
No one may fork, clone, or view it unless they are given this private URL.
|
66
|
-
<br/>
|
67
|
-
<br/>
|
68
|
-
Every gist with this icon (<img src="/images/icons/private.png" alt="private" />) is private.
|
69
|
-
</div>
|
70
|
-
<div class="security public_security" style="display:none">
|
71
|
-
<a href="#public_repo" rel="facebox"><img src="/images/icons/public.png" alt="public" /></a>
|
72
|
-
</div>
|
73
|
-
<div id="public_repo" class="hidden">
|
74
|
-
This gist is public.
|
75
|
-
Anyone may fork, clone, or view it.
|
76
|
-
<br/>
|
77
|
-
<br/>
|
78
|
-
Every repository with this icon (<img src="/images/icons/public.png" alt="public" />) is public.
|
79
|
-
</div>
|
80
|
-
</div>
|
81
|
-
|
82
|
-
<div class="meta">
|
83
|
-
<table>
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
<tr>
|
88
|
-
<td class="label">Public Clone URL:</td>
|
89
|
-
<td>
|
90
|
-
<a rel="#git-clone" class="git_url_facebox" href="git://gist.github.com/24835.git">git://gist.github.com/24835.git</a>
|
91
|
-
<div id="git-clone" style="display:none; min-width:500px">
|
92
|
-
Give this clone URL to anyone.
|
93
|
-
<br/>
|
94
|
-
|
95
|
-
<code>git clone git://gist.github.com/24835.git gist-24835</code>
|
96
|
-
</div>
|
97
|
-
</td>
|
98
|
-
</tr>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
</table>
|
104
|
-
</div>
|
105
|
-
</div>
|
106
|
-
</div>
|
107
|
-
|
108
|
-
<div id="files">
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
<div class="file">
|
115
|
-
<div class="meta">
|
116
|
-
<div class="info">
|
117
|
-
<span>delicious_hide_do_not_share.user.css</span>
|
118
|
-
</div>
|
119
|
-
<div class="actions">
|
120
|
-
|
121
|
-
<div id="gist-embed" style="display:inline;">
|
122
|
-
<a href="#" id="gist-embed-link">embed</a>
|
123
|
-
<input id="gist-embed-box" type="text" size="25" value='<script src="http://gist.github.com/24835.js"></script>' style="display:none;"/>
|
124
|
-
</div>
|
125
|
-
|
126
|
-
<a href="/raw/24835/43a86b56175c85f452af3fca4ce0df0997ff3bc2">raw</a>
|
127
|
-
</div>
|
128
|
-
</div>
|
129
|
-
|
130
|
-
<div class="data syntax">
|
131
|
-
|
132
|
-
<table cellpadding="0" cellspacing="0">
|
133
|
-
<tr>
|
134
|
-
<td>
|
135
|
-
|
136
|
-
<pre class="line_numbers">
|
137
|
-
<span id="LID1" rel="#L1">1</span>
|
138
|
-
<span id="LID2" rel="#L2">2</span>
|
139
|
-
<span id="LID3" rel="#L3">3</span>
|
140
|
-
<span id="LID4" rel="#L4">4</span>
|
141
|
-
<span id="LID5" rel="#L5">5</span>
|
142
|
-
<span id="LID6" rel="#L6">6</span>
|
143
|
-
<span id="LID7" rel="#L7">7</span>
|
144
|
-
</pre>
|
145
|
-
</td>
|
146
|
-
<td width="100%">
|
147
|
-
|
148
|
-
|
149
|
-
<div class="highlight"><pre><div class="line" id="LC1"><span class="k">@namespace</span> <span class="nt">url</span><span class="o">(</span><span class="nt">http</span><span class="o">://</span><span class="nt">www</span><span class="nc">.w3.org</span><span class="o">/</span><span class="nt">1999</span><span class="o">/</span><span class="nt">xhtml</span><span class="o">)</span><span class="p">;</span></div><div class="line" id="LC2"> </div><div class="line" id="LC3"><span class="k">@-moz-document</span> <span class="nt">domain</span><span class="o">(</span><span class="s2">"delicious.com"</span><span class="o">)</span> <span class="p">{</span></div><div class="line" id="LC4"> <span class="nc">.share</span> <span class="p">{</span></div><div class="line" id="LC5"> <span class="k">display</span><span class="o">:</span> <span class="k">none</span> <span class="cp">!important</span><span class="p">;</span></div><div class="line" id="LC6"> <span class="p">}</span></div><div class="line" id="LC7"><span class="p">}</span></div></pre></div>
|
150
|
-
|
151
|
-
</td>
|
152
|
-
</tr>
|
153
|
-
</table>
|
154
|
-
|
155
|
-
</div>
|
156
|
-
|
157
|
-
|
158
|
-
</div>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<!-- cache end -->
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
</div>
|
167
|
-
</div> <!-- gist_data -->
|
168
|
-
|
169
|
-
<div id="gist_meta">
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<div id="owner">
|
174
|
-
<h3>Owner</h3>
|
175
|
-
|
176
|
-
<a href="#"><a href="/swdyh">swdyh</a></a>
|
177
|
-
|
178
|
-
</div>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
<div id="revisions">
|
187
|
-
<h3>Revisions</h3>
|
188
|
-
<ul>
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<li class="current">
|
193
|
-
<img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_gray.png" alt=""/>
|
194
|
-
<a href="http://gist.github.com/24835/a48c0b23c8fe5fe879ba2c21f38deb1f224d43b4" class="id">a48c0b</a>
|
195
|
-
|
196
|
-
|
197
|
-
<a href="/swdyh" class="author">swdyh</a>
|
198
|
-
|
199
|
-
<span class="date"><abbr class="relatize" title="2008-11-14 01:20:54">Fri Nov 14 01:20:54 -0800 2008</abbr></span>
|
200
|
-
</li>
|
201
|
-
|
202
|
-
</ul>
|
203
|
-
</div>
|
204
|
-
|
205
|
-
</div> <!-- gist_meta -->
|
206
|
-
|
207
|
-
</div> <!-- site -->
|
208
|
-
|
209
|
-
<div class="push"></div>
|
210
|
-
|
211
|
-
</div>
|
212
|
-
|
213
|
-
<div id="footer">
|
214
|
-
<div class="site">
|
215
|
-
<div class="info">
|
216
|
-
<div style="float: left; margin-right: 2em; margin-top: -.6em;">
|
217
|
-
<a href="http://github.com/">
|
218
|
-
<img src="/images/modules/header/logo_white.png" alt="GitHub" />
|
219
|
-
</a>
|
220
|
-
</div>
|
221
|
-
<div class="links" style="float: left; width: 18em;">
|
222
|
-
<a href="http://github.com/blog"><strong>The Github Blog</strong></a> |
|
223
|
-
<a href="http://support.github.com/">Support</a> |
|
224
|
-
<a href="http://github.com/contact">Contact Us</a>
|
225
|
-
</div>
|
226
|
-
<div class="company">
|
227
|
-
<span id="_rrt" title="0.07346s from gist.github.com">It's</span>
|
228
|
-
<a href="http://logicalawesome.com/">Logical Awesome</a> | ©2008
|
229
|
-
</div>
|
230
|
-
</div>
|
231
|
-
<div class="sponsor">
|
232
|
-
<a href="http://engineyard.com">Hosting provided by</a>
|
233
|
-
<a href="http://engineyard.com">
|
234
|
-
<img src="/images/modules/footer/engine_yard_logo.gif" alt="Hosted by Engine Yard" />
|
235
|
-
</a>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
</div>
|
239
|
-
</div>
|
240
|
-
</body>
|
241
|
-
</html>
|
data/test/fixtures/30119
DELETED
@@ -1,376 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
7
|
-
|
8
|
-
<title>gist: 30119 — GitHub</title>
|
9
|
-
|
10
|
-
<link href="/stylesheets/facebox.css" media="screen" rel="stylesheet" type="text/css" />
|
11
|
-
<link href="/stylesheets/gist/screen.css" media="screen" rel="stylesheet" type="text/css" />
|
12
|
-
<link href="/stylesheets/pygment_trac.css" media="screen" rel="stylesheet" type="text/css" />
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
</head>
|
17
|
-
|
18
|
-
<body>
|
19
|
-
<div id="main">
|
20
|
-
<div id="header" class="">
|
21
|
-
<div class="site">
|
22
|
-
<div class="logo">
|
23
|
-
<a href="/"><img src="/images/modules/header/logo_gist.png" alt="git-hub" /></a>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<div class="actions">
|
27
|
-
<a href="/">New</a>
|
28
|
-
<a href="/gists">All Gists</a>
|
29
|
-
<a href="/login?return_to=gist">Login</a>
|
30
|
-
<a href="http://github.com/signup?return_to=gist">Signup for a GitHub Account</a>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div class="site">
|
37
|
-
|
38
|
-
<div id="gist_data">
|
39
|
-
<div id="repos">
|
40
|
-
<div class="repo public">
|
41
|
-
<div class="title">
|
42
|
-
<div class="path">
|
43
|
-
gist: 30119
|
44
|
-
|
45
|
-
|
46
|
-
<a href="/gists/30119/download"><img alt="Download_button" border="0" class="button" src="/images/modules/repos/download_button.png?9eb59f95332165fee30c4fdb22748a8fe02eb123" /></a>
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
<a href="http://github.com/signup"><img alt="fork" class="button" src="/images/modules/repos/fork_button.png?9eb59f95332165fee30c4fdb22748a8fe02eb123" /></a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
|
55
|
-
|
56
|
-
<div class="security public_security" style="">
|
57
|
-
<a href="#public_repo" rel="facebox"><img src="/images/icons/public.png" alt="public" /></a>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
|
61
|
-
<div id="private_repo" class="hidden">
|
62
|
-
This gist is private.
|
63
|
-
All pages are served over SSL and all pushing and pulling is done over SSH.
|
64
|
-
No one may fork, clone, or view it unless they are given this private URL.
|
65
|
-
<br/>
|
66
|
-
<br/>
|
67
|
-
Every gist with this icon (<img src="/images/icons/private.png" alt="private" />) is private.
|
68
|
-
</div>
|
69
|
-
<div class="security public_security" style="display:none">
|
70
|
-
<a href="#public_repo" rel="facebox"><img src="/images/icons/public.png" alt="public" /></a>
|
71
|
-
</div>
|
72
|
-
<div id="public_repo" class="hidden">
|
73
|
-
This gist is public.
|
74
|
-
Anyone may fork, clone, or view it.
|
75
|
-
<br/>
|
76
|
-
<br/>
|
77
|
-
Every repository with this icon (<img src="/images/icons/public.png" alt="public" />) is public.
|
78
|
-
</div>
|
79
|
-
</div>
|
80
|
-
|
81
|
-
<div class="meta">
|
82
|
-
<table>
|
83
|
-
|
84
|
-
<tr>
|
85
|
-
<td class="label">Description:</td>
|
86
|
-
<td>
|
87
|
-
<div class="description">
|
88
|
-
<span id="gist-text-description" class="edit">PhoneGap Code Samples</span>
|
89
|
-
|
90
|
-
</div>
|
91
|
-
</td>
|
92
|
-
</tr>
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<tr>
|
97
|
-
<td class="label">Public Clone URL:</td>
|
98
|
-
<td>
|
99
|
-
<a rel="#git-clone" class="git_url_facebox" href="git://gist.github.com/30119.git">git://gist.github.com/30119.git</a>
|
100
|
-
<div id="git-clone" style="display:none; min-width:500px">
|
101
|
-
Give this clone URL to anyone.
|
102
|
-
<br/>
|
103
|
-
|
104
|
-
<code>git clone git://gist.github.com/30119.git gist-30119</code>
|
105
|
-
</div>
|
106
|
-
</td>
|
107
|
-
</tr>
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
</table>
|
113
|
-
</div>
|
114
|
-
</div>
|
115
|
-
</div>
|
116
|
-
|
117
|
-
<div id="files">
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<div class="file">
|
124
|
-
<div class="meta">
|
125
|
-
<div class="info">
|
126
|
-
<span>accelerometer</span>
|
127
|
-
</div>
|
128
|
-
<div class="actions">
|
129
|
-
|
130
|
-
<div id="gist-embed" style="display:inline;">
|
131
|
-
<a href="#" id="gist-embed-link">embed</a>
|
132
|
-
<input id="gist-embed-box" type="text" size="25" value='<script src="http://gist.github.com/30119.js"></script>' style="display:none;"/>
|
133
|
-
</div>
|
134
|
-
|
135
|
-
<a href="/raw/30119/255d517d566423644997d587bc3570737730f097">raw</a>
|
136
|
-
</div>
|
137
|
-
</div>
|
138
|
-
|
139
|
-
<div class="data syntax">
|
140
|
-
|
141
|
-
<table cellpadding="0" cellspacing="0">
|
142
|
-
<tr>
|
143
|
-
<td>
|
144
|
-
|
145
|
-
<pre class="line_numbers">
|
146
|
-
<span id="LID1" rel="#L1">1</span>
|
147
|
-
<span id="LID2" rel="#L2">2</span>
|
148
|
-
<span id="LID3" rel="#L3">3</span>
|
149
|
-
<span id="LID4" rel="#L4">4</span>
|
150
|
-
<span id="LID5" rel="#L5">5</span>
|
151
|
-
</pre>
|
152
|
-
</td>
|
153
|
-
<td width="100%">
|
154
|
-
|
155
|
-
|
156
|
-
<div class="highlight"><pre><div class="line" id="LC1">function accelerometer() {
|
157
|
-
|
158
|
-
</td>
|
159
|
-
</tr>
|
160
|
-
</table>
|
161
|
-
|
162
|
-
</div>
|
163
|
-
|
164
|
-
|
165
|
-
</div><div class="file">
|
166
|
-
<div class="meta">
|
167
|
-
<div class="info">
|
168
|
-
<span>camera</span>
|
169
|
-
</div>
|
170
|
-
<div class="actions">
|
171
|
-
|
172
|
-
<div id="gist-embed" style="display:inline;">
|
173
|
-
<a href="#" id="gist-embed-link">embed</a>
|
174
|
-
<input id="gist-embed-box" type="text" size="25" value='<script src="http://gist.github.com/30119.js"></script>' style="display:none;"/>
|
175
|
-
</div>
|
176
|
-
|
177
|
-
<a href="/raw/30119/ffd192d36c1406424edeec8a36a3644f64bb1542">raw</a>
|
178
|
-
</div>
|
179
|
-
</div>
|
180
|
-
|
181
|
-
<div class="data syntax">
|
182
|
-
|
183
|
-
<table cellpadding="0" cellspacing="0">
|
184
|
-
<tr>
|
185
|
-
<td>
|
186
|
-
|
187
|
-
<pre class="line_numbers">
|
188
|
-
<span id="LID1" rel="#L1">1</span>
|
189
|
-
<span id="LID2" rel="#L2">2</span>
|
190
|
-
<span id="LID3" rel="#L3">3</span>
|
191
|
-
<span id="LID4" rel="#L4">4</span>
|
192
|
-
<span id="LID5" rel="#L5">5</span>
|
193
|
-
</pre>
|
194
|
-
</td>
|
195
|
-
<td width="100%">
|
196
|
-
|
197
|
-
|
198
|
-
<div class="highlight"><pre><div class="line" id="LC1">function takePhoto() {
|
199
|
-
|
200
|
-
</td>
|
201
|
-
</tr>
|
202
|
-
</table>
|
203
|
-
|
204
|
-
</div>
|
205
|
-
|
206
|
-
|
207
|
-
</div><div class="file">
|
208
|
-
<div class="meta">
|
209
|
-
<div class="info">
|
210
|
-
<span>geolocation</span>
|
211
|
-
</div>
|
212
|
-
<div class="actions">
|
213
|
-
|
214
|
-
<div id="gist-embed" style="display:inline;">
|
215
|
-
<a href="#" id="gist-embed-link">embed</a>
|
216
|
-
<input id="gist-embed-box" type="text" size="25" value='<script src="http://gist.github.com/30119.js"></script>' style="display:none;"/>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
<a href="/raw/30119/6ab3e10ebf424707f88d19c540a7c43fe2d98027">raw</a>
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
|
223
|
-
<div class="data syntax">
|
224
|
-
|
225
|
-
<table cellpadding="0" cellspacing="0">
|
226
|
-
<tr>
|
227
|
-
<td>
|
228
|
-
|
229
|
-
<pre class="line_numbers">
|
230
|
-
<span id="LID1" rel="#L1">1</span>
|
231
|
-
<span id="LID2" rel="#L2">2</span>
|
232
|
-
<span id="LID3" rel="#L3">3</span>
|
233
|
-
<span id="LID4" rel="#L4">4</span>
|
234
|
-
<span id="LID5" rel="#L5">5</span>
|
235
|
-
<span id="LID6" rel="#L6">6</span>
|
236
|
-
</pre>
|
237
|
-
</td>
|
238
|
-
<td width="100%">
|
239
|
-
|
240
|
-
|
241
|
-
<div class="highlight"><pre><div class="line" id="LC1"> </div><div class="line" id="LC2">function location(lat, lon) {
|
242
|
-
|
243
|
-
</td>
|
244
|
-
</tr>
|
245
|
-
</table>
|
246
|
-
|
247
|
-
</div>
|
248
|
-
|
249
|
-
|
250
|
-
</div><div class="file">
|
251
|
-
<div class="meta">
|
252
|
-
<div class="info">
|
253
|
-
<span>vibrate</span>
|
254
|
-
</div>
|
255
|
-
<div class="actions">
|
256
|
-
|
257
|
-
<div id="gist-embed" style="display:inline;">
|
258
|
-
<a href="#" id="gist-embed-link">embed</a>
|
259
|
-
<input id="gist-embed-box" type="text" size="25" value='<script src="http://gist.github.com/30119.js"></script>' style="display:none;"/>
|
260
|
-
</div>
|
261
|
-
|
262
|
-
<a href="/raw/30119/22946a5619db19270d772a49c4b558b4d4f15a8d">raw</a>
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
|
266
|
-
<div class="data syntax">
|
267
|
-
|
268
|
-
<table cellpadding="0" cellspacing="0">
|
269
|
-
<tr>
|
270
|
-
<td>
|
271
|
-
|
272
|
-
<pre class="line_numbers">
|
273
|
-
<span id="LID1" rel="#L1">1</span>
|
274
|
-
<span id="LID2" rel="#L2">2</span>
|
275
|
-
<span id="LID3" rel="#L3">3</span>
|
276
|
-
<span id="LID4" rel="#L4">4</span>
|
277
|
-
<span id="LID5" rel="#L5">5</span>
|
278
|
-
</pre>
|
279
|
-
</td>
|
280
|
-
<td width="100%">
|
281
|
-
|
282
|
-
|
283
|
-
<div class="highlight"><pre><div class="line" id="LC1">function vibrate() {
|
284
|
-
|
285
|
-
</td>
|
286
|
-
</tr>
|
287
|
-
</table>
|
288
|
-
|
289
|
-
</div>
|
290
|
-
|
291
|
-
|
292
|
-
</div>
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
<!-- cache end -->
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
</div>
|
301
|
-
</div> <!-- gist_data -->
|
302
|
-
|
303
|
-
<div id="gist_meta">
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
<div id="owner">
|
308
|
-
<h3>Owner</h3>
|
309
|
-
|
310
|
-
<a href="#"><a href="/brianleroux">brianleroux</a></a>
|
311
|
-
|
312
|
-
</div>
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
<div id="revisions">
|
321
|
-
<h3>Revisions</h3>
|
322
|
-
<ul>
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
<li class="current">
|
327
|
-
<img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_green.png" alt=""/><img src="/images/modules/gist/dot_gray.png" alt=""/>
|
328
|
-
<a href="http://gist.github.com/30119/6f46ef7a6905258ff829cccc00a773ae24ab13e0" class="id">6f46ef</a>
|
329
|
-
|
330
|
-
|
331
|
-
<a href="/brianleroux" class="author">brianle...</a>
|
332
|
-
|
333
|
-
<span class="date"><abbr class="relatize" title="2008-11-28 14:28:15">Fri Nov 28 14:28:15 -0800 2008</abbr></span>
|
334
|
-
</li>
|
335
|
-
|
336
|
-
</ul>
|
337
|
-
</div>
|
338
|
-
|
339
|
-
</div> <!-- gist_meta -->
|
340
|
-
|
341
|
-
</div> <!-- site -->
|
342
|
-
|
343
|
-
<div class="push"></div>
|
344
|
-
|
345
|
-
</div>
|
346
|
-
|
347
|
-
<div id="footer">
|
348
|
-
<div class="site">
|
349
|
-
<div class="info">
|
350
|
-
<div style="float: left; margin-right: 2em; margin-top: -.6em;">
|
351
|
-
<a href="http://github.com/">
|
352
|
-
<img src="/images/modules/header/logo_white.png" alt="GitHub" />
|
353
|
-
</a>
|
354
|
-
</div>
|
355
|
-
<div class="links" style="float: left; width: 18em;">
|
356
|
-
<a href="http://github.com/blog"><strong>The Github Blog</strong></a> |
|
357
|
-
<a href="http://support.github.com/">Support</a> |
|
358
|
-
<a href="http://github.com/contact">Contact Us</a>
|
359
|
-
</div>
|
360
|
-
<div class="company">
|
361
|
-
<span id="_rrt" title="0.06594s from gist.github.com">It's</span>
|
362
|
-
<a href="http://logicalawesome.com/">Logical Awesome</a> | ©2008
|
363
|
-
</div>
|
364
|
-
</div>
|
365
|
-
<div class="sponsor">
|
366
|
-
<a href="http://engineyard.com">Hosting provided by</a>
|
367
|
-
<a href="http://engineyard.com">
|
368
|
-
<img src="/images/modules/footer/engine_yard_logo.gif" alt="Hosted by Engine Yard" />
|
369
|
-
</a>
|
370
|
-
</div>
|
371
|
-
|
372
|
-
</div>
|
373
|
-
</div>
|
374
|
-
|
375
|
-
</body>
|
376
|
-
</html>
|