getbox 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -14
- data/lib/getbox/version.rb +1 -1
- data/mygists.json +408 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd05a6b68616f43842b501ab668799f05391590b
|
4
|
+
data.tar.gz: 9533d6d6e80b895725a0e83620b1bb9d1f74e13b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9ec0f91feeaa8485928997805a6fbb4931e579c59235b0a46070dada6bbb8cfac50947327f0da1da292d37a6897f097b934969f499eab9f0192f10ce4df9a45
|
7
|
+
data.tar.gz: 431b8ac7f2cabcbed2da4515d9fad4bda1a864332809e18bb47dc9ed6e8b185e508ba2bfad7e92f5020eb8b420445b93ad3a422f57825f69bda8d7b68b76f5b2
|
data/README.md
CHANGED
@@ -1,25 +1,43 @@
|
|
1
1
|
# Getbox
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
gem
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
The `getbox` gem installs a global executable, which will guide you through exporting your gists.
|
4
|
+
|
5
|
+
$ gem install getbox
|
6
|
+
Successfully installed getbox-1.0.3
|
7
|
+
1 gem installed
|
8
|
+
$ getbox
|
9
|
+
I'm about to ask for your github password.
|
10
|
+
You should probably read my source code
|
11
|
+
before you go through with this...
|
12
|
+
https://github.com/amonks/getbox/blob/master/lib/getbox.rb
|
13
|
+
|
14
|
+
are you sure you want to continue?
|
15
|
+
$ I sure am!
|
16
|
+
What's your github username?
|
17
|
+
$ amonks
|
18
|
+
How about your password, eh??
|
19
|
+
$ [secret]
|
20
|
+
Where should I save your gists? [gists.json]
|
21
|
+
$ mygists.json
|
22
|
+
visiting app.gistboxapp.com
|
23
|
+
filling out github login form
|
24
|
+
gathering gists
|
25
|
+
Saving 46 gists to /Users/amonks/Desktop/mygists.json
|
12
26
|
|
13
27
|
## API
|
14
28
|
|
29
|
+
You can even use the getbox gem from your own scripts, if you want.
|
30
|
+
|
15
31
|
### method to enter an interactive prompt and save gists to a file as JSON:
|
16
32
|
|
17
|
-
Getbox::prompt
|
33
|
+
Getbox::prompt
|
18
34
|
|
19
35
|
### methods to return an array of gists:
|
20
36
|
|
21
|
-
Getbox::getGistsFromSite(username, password)
|
22
|
-
|
23
|
-
Getbox::getGistsFromFile(location_of_html_file)
|
37
|
+
Getbox::getGistsFromSite(username, password)
|
38
|
+
|
39
|
+
Getbox::getGistsFromFile(location_of_html_file)
|
40
|
+
|
41
|
+
Getbox::getGistsFromHtml(html_string)
|
24
42
|
|
25
|
-
|
43
|
+
The html should be from `https://app.gistboxapp.com/library/my-gists`
|
data/lib/getbox/version.rb
CHANGED
data/mygists.json
ADDED
@@ -0,0 +1,408 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"url": "https://gist.github.com/b67f333408c0b3b586ff",
|
4
|
+
"title": "rot13.rb",
|
5
|
+
"timestamp": "Created 9 days ago",
|
6
|
+
"description": "\"hello\".rot(13)",
|
7
|
+
"labels": [
|
8
|
+
"scripts",
|
9
|
+
"ruby"
|
10
|
+
]
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"url": "https://gist.github.com/15eb6acdf950f5faf494",
|
14
|
+
"title": "docker-notes.md",
|
15
|
+
"timestamp": "Created 9 days ago",
|
16
|
+
"description": "notes from laura frank's presentation on Docker at chicagoruby",
|
17
|
+
"labels": [
|
18
|
+
"howto",
|
19
|
+
"web"
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"url": "https://gist.github.com/82a269cf9862e1bceb89",
|
24
|
+
"title": "bioart-proposal.md",
|
25
|
+
"timestamp": "Created 9 days ago",
|
26
|
+
"labels": [
|
27
|
+
"homework"
|
28
|
+
]
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"url": "https://gist.github.com/a5ccf42adff24bc05ff1",
|
32
|
+
"title": "artic.md",
|
33
|
+
"timestamp": "Created about a month ago",
|
34
|
+
"labels": [
|
35
|
+
"homework"
|
36
|
+
]
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"url": "https://gist.github.com/654927d87a370239e5cb",
|
40
|
+
"title": "polish-museum.md",
|
41
|
+
"timestamp": "Created about a month ago",
|
42
|
+
"labels": [
|
43
|
+
"homework"
|
44
|
+
]
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"url": "https://gist.github.com/0da5953d8c49f2aa0026",
|
48
|
+
"title": ".editorconfig",
|
49
|
+
"timestamp": "Created 2 months ago",
|
50
|
+
"description": "my .editorconfig",
|
51
|
+
"labels": [
|
52
|
+
"dotfiles"
|
53
|
+
]
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"url": "https://gist.github.com/74f4b34a051d9b367353",
|
57
|
+
"title": "vim get sudo and save read only file.md",
|
58
|
+
"timestamp": "Created 2 months ago",
|
59
|
+
"labels": [
|
60
|
+
"howto",
|
61
|
+
"vi"
|
62
|
+
]
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"url": "https://gist.github.com/9e1227c79a40cd474a6b",
|
66
|
+
"title": "change to non standard default shell.md",
|
67
|
+
"timestamp": "Created 2 months ago",
|
68
|
+
"description": "change your default shell",
|
69
|
+
"labels": [
|
70
|
+
"howto",
|
71
|
+
"linux",
|
72
|
+
"osx"
|
73
|
+
]
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"url": "https://gist.github.com/b2e228f817fb7b74233b",
|
77
|
+
"title": "vi-paste-mode.md",
|
78
|
+
"timestamp": "Created 2 months ago",
|
79
|
+
"description": "vi paste mode: turning off auto indentation when pasting",
|
80
|
+
"labels": [
|
81
|
+
"howto",
|
82
|
+
"vi"
|
83
|
+
]
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"url": "https://gist.github.com/95fe76e4f843c2355736",
|
87
|
+
"title": ".vimrc",
|
88
|
+
"timestamp": "Created 2 months ago",
|
89
|
+
"description": "vimrc, using vundle.",
|
90
|
+
"labels": [
|
91
|
+
"dotfiles",
|
92
|
+
"vi"
|
93
|
+
]
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"url": "https://gist.github.com/aee54d8dbf1facbbdbc1",
|
97
|
+
"title": "omidyar.md",
|
98
|
+
"timestamp": "Created 4 months ago",
|
99
|
+
"labels": [
|
100
|
+
"homework"
|
101
|
+
]
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"url": "https://gist.github.com/881094a36912bf2b0d65",
|
105
|
+
"title": "proposal.md",
|
106
|
+
"timestamp": "Created 4 months ago",
|
107
|
+
"description": "media and social action project proposal",
|
108
|
+
"labels": [
|
109
|
+
"homework"
|
110
|
+
]
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"url": "https://gist.github.com/08010d21033005deb8f7",
|
114
|
+
"title": "random from array.pde",
|
115
|
+
"timestamp": "Created 4 months ago",
|
116
|
+
"labels": [
|
117
|
+
"howto",
|
118
|
+
"processing"
|
119
|
+
]
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"url": "https://gist.github.com/5e0ba8b093cb37a925d5",
|
123
|
+
"title": "molly_soda.md",
|
124
|
+
"timestamp": "Created 5 months ago",
|
125
|
+
"labels": [
|
126
|
+
"homework"
|
127
|
+
]
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"url": "https://gist.github.com/113a39c09e5bee64017b",
|
131
|
+
"title": "shirky.md",
|
132
|
+
"timestamp": "Created 5 months ago",
|
133
|
+
"labels": [
|
134
|
+
"homework"
|
135
|
+
]
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"url": "https://gist.github.com/e60d511747ce701d73a6",
|
139
|
+
"title": "portfolio.html",
|
140
|
+
"timestamp": "Created 7 months ago",
|
141
|
+
"labels": [
|
142
|
+
"javascript",
|
143
|
+
"publish",
|
144
|
+
"web"
|
145
|
+
]
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"url": "https://gist.github.com/5561acb4233519c7ecd5",
|
149
|
+
"title": "concept.md",
|
150
|
+
"timestamp": "Created 7 months ago",
|
151
|
+
"labels": [
|
152
|
+
"homework"
|
153
|
+
]
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"url": "https://gist.github.com/2583cc2d8f3d759cf463",
|
157
|
+
"title": "fantomas.md",
|
158
|
+
"timestamp": "Created 7 months ago",
|
159
|
+
"labels": [
|
160
|
+
"homework"
|
161
|
+
]
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"url": "https://gist.github.com/d99106a62a925ebccea0",
|
165
|
+
"title": "of.sublime-build",
|
166
|
+
"timestamp": "Created 7 months ago",
|
167
|
+
"labels": [
|
168
|
+
"howto",
|
169
|
+
"ofx"
|
170
|
+
]
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"url": "https://gist.github.com/882649195679fc9dd6bb",
|
174
|
+
"title": "interest.md",
|
175
|
+
"timestamp": "Created 7 months ago",
|
176
|
+
"labels": [
|
177
|
+
"homework"
|
178
|
+
]
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"url": "https://gist.github.com/092fb1178ad76e25adb5",
|
182
|
+
"title": "saic ip policy questions.md",
|
183
|
+
"timestamp": "Created 8 months ago",
|
184
|
+
"labels": [
|
185
|
+
"homework",
|
186
|
+
"personal"
|
187
|
+
]
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"url": "https://gist.github.com/61f188df09dd53cefa5c",
|
191
|
+
"title": "packery-pjax.rb",
|
192
|
+
"timestamp": "Created 8 months ago",
|
193
|
+
"labels": [
|
194
|
+
"bugreport",
|
195
|
+
"ruby",
|
196
|
+
"javascript",
|
197
|
+
"web"
|
198
|
+
]
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"url": "https://gist.github.com/dae82819aaa8dc3633a8",
|
202
|
+
"title": "longer-than.rkt",
|
203
|
+
"timestamp": "Created 9 months ago",
|
204
|
+
"labels": [
|
205
|
+
"racket"
|
206
|
+
]
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"url": "https://gist.github.com/0b979c093d349411059a",
|
210
|
+
"title": "make-cirlces.rkt",
|
211
|
+
"timestamp": "Created 9 months ago",
|
212
|
+
"labels": [
|
213
|
+
"racket"
|
214
|
+
]
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"url": "https://gist.github.com/dfde97946f4607393a3a",
|
218
|
+
"title": "contract.md",
|
219
|
+
"timestamp": "Created 10 months ago",
|
220
|
+
"labels": [
|
221
|
+
"personal"
|
222
|
+
]
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"url": "https://gist.github.com/bdb2663069fdeaecc86d",
|
226
|
+
"title": "collage-list.md",
|
227
|
+
"timestamp": "Created 11 months ago",
|
228
|
+
"labels": [
|
229
|
+
"personal"
|
230
|
+
]
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"url": "https://gist.github.com/db8d9b25b9dc36678b0c",
|
234
|
+
"title": "gestures.md",
|
235
|
+
"timestamp": "Created 11 months ago",
|
236
|
+
"description": "final paper",
|
237
|
+
"labels": [
|
238
|
+
"homework"
|
239
|
+
]
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"url": "https://gist.github.com/7ac1c9143ed3714c3056",
|
243
|
+
"title": "presentation-notes-day-1.md",
|
244
|
+
"timestamp": "Created 12 months ago",
|
245
|
+
"labels": [
|
246
|
+
"homework"
|
247
|
+
]
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"url": "https://gist.github.com/11068213",
|
251
|
+
"title": "homework3.md",
|
252
|
+
"timestamp": "Created 12 months ago",
|
253
|
+
"labels": [
|
254
|
+
"homework"
|
255
|
+
]
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"url": "https://gist.github.com/9652607",
|
259
|
+
"title": "human machine interaction homework 2.md",
|
260
|
+
"timestamp": "Created about a year ago",
|
261
|
+
"labels": [
|
262
|
+
"homework"
|
263
|
+
]
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"url": "https://gist.github.com/9631436",
|
267
|
+
"title": "batch convert xls to csv",
|
268
|
+
"timestamp": "Created about a year ago",
|
269
|
+
"labels": [
|
270
|
+
"scripts",
|
271
|
+
"ruby"
|
272
|
+
]
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"url": "https://gist.github.com/9629622",
|
276
|
+
"title": "DARPA-active-authentication-review.md",
|
277
|
+
"timestamp": "Created about a year ago",
|
278
|
+
"labels": [
|
279
|
+
"homework"
|
280
|
+
]
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"url": "https://gist.github.com/9363267",
|
284
|
+
"title": "bookmarklet.js",
|
285
|
+
"timestamp": "Created about a year ago",
|
286
|
+
"labels": [
|
287
|
+
"howto",
|
288
|
+
"javascript",
|
289
|
+
"web"
|
290
|
+
]
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"url": "https://gist.github.com/9241650",
|
294
|
+
"title": "wackamole.md",
|
295
|
+
"timestamp": "Created about a year ago",
|
296
|
+
"labels": [
|
297
|
+
"homework"
|
298
|
+
]
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"url": "https://gist.github.com/9231121",
|
302
|
+
"title": "db-based-permalinks-in-gh-pages.md",
|
303
|
+
"timestamp": "Created about a year ago",
|
304
|
+
"labels": [
|
305
|
+
"howto",
|
306
|
+
"ideas",
|
307
|
+
"web"
|
308
|
+
]
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"url": "https://gist.github.com/9104920",
|
312
|
+
"title": "HMI-assignment1.md",
|
313
|
+
"timestamp": "Created about a year ago",
|
314
|
+
"labels": [
|
315
|
+
"homework"
|
316
|
+
]
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"url": "https://gist.github.com/8698653",
|
320
|
+
"title": "respiration.md",
|
321
|
+
"timestamp": "Created about a year ago",
|
322
|
+
"description": "Some thoughts on Black Star's *Respiration*, thought by Andrew Monks",
|
323
|
+
"labels": [
|
324
|
+
"homework"
|
325
|
+
]
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"url": "https://gist.github.com/8573369",
|
329
|
+
"title": "my-dream-tattoo.md",
|
330
|
+
"timestamp": "Created about a year ago",
|
331
|
+
"labels": [
|
332
|
+
"publish"
|
333
|
+
]
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"url": "https://gist.github.com/8553781",
|
337
|
+
"title": "xxxboxxx.md",
|
338
|
+
"timestamp": "Created about a year ago",
|
339
|
+
"labels": [
|
340
|
+
"scripts",
|
341
|
+
"publish"
|
342
|
+
]
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"url": "https://gist.github.com/24a1002ede533feb3a88",
|
346
|
+
"title": "screener-crash-report",
|
347
|
+
"timestamp": "Created about a year ago",
|
348
|
+
"description": "screener crash report; see also https://vimeo.com/84714314",
|
349
|
+
"labels": [
|
350
|
+
"bugreport"
|
351
|
+
]
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"url": "https://gist.github.com/8543044",
|
355
|
+
"title": "launch script",
|
356
|
+
"timestamp": "Created about a year ago",
|
357
|
+
"description": "Put this file in /etc/init.d/ and edit {THING-TO-LAUNCH} as appropriate.\n\nYou can run `sudo update-rc.d {THIS-FILE'S-NAME} defaults` to `start` at boot and `stop` at shutdown.",
|
358
|
+
"labels": [
|
359
|
+
"howto",
|
360
|
+
"linux"
|
361
|
+
]
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"url": "https://gist.github.com/7590247",
|
365
|
+
"title": "a_generate.py",
|
366
|
+
"timestamp": "Created about a year ago",
|
367
|
+
"description": "super simple trigram markov jawn in nltk\nassumes you've installed nltk (http://nltk.org/install.html)\nand that ./data.txt is your corpus (mine is from http://www.gutenberg.org/cache/epub/76/pg76.txt)",
|
368
|
+
"labels": [
|
369
|
+
"scripts",
|
370
|
+
"python"
|
371
|
+
]
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"url": "https://gist.github.com/6872987",
|
375
|
+
"title": "Belgian Man Contract v0.1.0.md",
|
376
|
+
"timestamp": "Created 2 years ago",
|
377
|
+
"labels": [
|
378
|
+
"belgian man"
|
379
|
+
]
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"url": "https://gist.github.com/5615678",
|
383
|
+
"title": "sw_interview.rb",
|
384
|
+
"timestamp": "Created 2 years ago",
|
385
|
+
"labels": [
|
386
|
+
"personal"
|
387
|
+
]
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"url": "https://gist.github.com/3013792",
|
391
|
+
"title": "iphone.ck",
|
392
|
+
"timestamp": "Created 3 years ago",
|
393
|
+
"description": "iphone alert sounds",
|
394
|
+
"labels": [
|
395
|
+
"scripts",
|
396
|
+
"chuck"
|
397
|
+
]
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"url": "https://gist.github.com/962994",
|
401
|
+
"title": "cloud_my_library.rb",
|
402
|
+
"timestamp": "Created 4 years ago",
|
403
|
+
"description": "upload an index of your iTunes library to the cloud whenever you add new music",
|
404
|
+
"labels": [
|
405
|
+
"scripts"
|
406
|
+
]
|
407
|
+
}
|
408
|
+
]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: getbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Monks
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- getbox.gemspec
|
98
98
|
- lib/getbox.rb
|
99
99
|
- lib/getbox/version.rb
|
100
|
+
- mygists.json
|
100
101
|
homepage: http://github.com/amonks/getbox
|
101
102
|
licenses: []
|
102
103
|
metadata: {}
|