@@ -92,8 +92,8 @@ update(add_files(gists(what = "minepublic")[[1]], file))
92
92
``` r
93
93
rate_limit()
94
94
# > Rate limit: 5000
95
- # > Remaining: 4439
96
- # > Resets in: 18 minutes
95
+ # > Remaining: 4942
96
+ # > Resets in: 56 minutes
97
97
```
98
98
99
99
### List gists
@@ -104,21 +104,21 @@ Limiting to a few results here to keep it brief
104
104
``` r
105
105
gists(per_page = 2 )
106
106
# > [[1]]
107
- # > <gist>26a5463cda88b23a3593
108
- # > URL: https://gist.github.com/26a5463cda88b23a3593
109
- # > Description: Encode string for redshift
107
+ # > <gist>09ec19bcff6ec38966f2
108
+ # > URL: https://gist.github.com/09ec19bcff6ec38966f2
109
+ # > Description: Solution to level 18 in Untrusted: http://alex.nisnevich.com/untrusted/
110
110
# > Public: TRUE
111
- # > Created/Edited: 2015-04-28T23:45:02Z / 2015-04-28T23:45:03Z
112
- # > Files: encode_for_redshift.rb, result.txt
113
- # > Truncated?: FALSE, FALSE
111
+ # > Created/Edited: 2015-05-01T03:46:29Z / 2015-05-01T03:46:29Z
112
+ # > Files: untrusted-lvl18-solution.js
113
+ # > Truncated?: FALSE
114
114
# >
115
115
# > [[2]]
116
- # > <gist>6ffc4579929c3b5bb576
117
- # > URL: https://gist.github.com/6ffc4579929c3b5bb576
118
- # > Description:
116
+ # > <gist>87192840960671e47e75
117
+ # > URL: https://gist.github.com/87192840960671e47e75
118
+ # > Description: Virtual Joystick input script for mobile game using Unity3D.
119
119
# > Public: TRUE
120
- # > Created/Edited: 2015-04-28T23:45:00Z / 2015-04-28T23:45:01Z
121
- # > Files: boxstarter
120
+ # > Created/Edited: 2015-05-01T03:46:09Z / 2015-05-01T03:46:10Z
121
+ # > Files: VirtualJoystickInput
122
122
# > Truncated?: FALSE
123
123
```
124
124
@@ -128,21 +128,21 @@ Since a certain date/time
128
128
``` r
129
129
gists(since = ' 2014-05-26T00:00:00Z' , per_page = 2 )
130
130
# > [[1]]
131
- # > <gist>26a5463cda88b23a3593
132
- # > URL: https://gist.github.com/26a5463cda88b23a3593
133
- # > Description: Encode string for redshift
131
+ # > <gist>09ec19bcff6ec38966f2
132
+ # > URL: https://gist.github.com/09ec19bcff6ec38966f2
133
+ # > Description: Solution to level 18 in Untrusted: http://alex.nisnevich.com/untrusted/
134
134
# > Public: TRUE
135
- # > Created/Edited: 2015-04-28T23:45:02Z / 2015-04-28T23:45:03Z
136
- # > Files: encode_for_redshift.rb, result.txt
137
- # > Truncated?: FALSE, FALSE
135
+ # > Created/Edited: 2015-05-01T03:46:29Z / 2015-05-01T03:46:29Z
136
+ # > Files: untrusted-lvl18-solution.js
137
+ # > Truncated?: FALSE
138
138
# >
139
139
# > [[2]]
140
- # > <gist>6ffc4579929c3b5bb576
141
- # > URL: https://gist.github.com/6ffc4579929c3b5bb576
142
- # > Description:
140
+ # > <gist>87192840960671e47e75
141
+ # > URL: https://gist.github.com/87192840960671e47e75
142
+ # > Description: Virtual Joystick input script for mobile game using Unity3D.
143
143
# > Public: TRUE
144
- # > Created/Edited: 2015-04-28T23:45:00Z / 2015-04-28T23:45:01Z
145
- # > Files: boxstarter
144
+ # > Created/Edited: 2015-05-01T03:46:09Z / 2015-05-01T03:46:10Z
145
+ # > Files: VirtualJoystickInput
146
146
# > Truncated?: FALSE
147
147
```
148
148
@@ -152,20 +152,20 @@ Request different types of gists, one of public, minepublic, mineall, or starred
152
152
``` r
153
153
gists(' minepublic' , per_page = 2 )
154
154
# > [[1]]
155
- # > <gist>9ed74d093358a818d237
156
- # > URL: https://gist.github.com/9ed74d093358a818d237
157
- # > Description:
155
+ # > <gist>1d2ae1b55eaf0b3aca1f
156
+ # > URL: https://gist.github.com/1d2ae1b55eaf0b3aca1f
157
+ # > Description: gist gist gist
158
158
# > Public: TRUE
159
- # > Created/Edited: 2015-04-28T23:44:52Z / 2015-04-28T23:44:55Z
160
- # > Files: code.R
161
- # > Truncated?: FALSE
159
+ # > Created/Edited: 2015-05-01T03:43:28Z / 2015-05-01T03:43:29Z
160
+ # > Files: stuff.md, zoo.json
161
+ # > Truncated?: FALSE, FALSE
162
162
# >
163
163
# > [[2]]
164
- # > <gist>9b1ba0e8bb361e8d2447
165
- # > URL: https://gist.github.com/9b1ba0e8bb361e8d2447
166
- # > Description: a new cool gist
164
+ # > <gist>cb3905e302e37cb95bd3
165
+ # > URL: https://gist.github.com/cb3905e302e37cb95bd3
166
+ # > Description: gist gist gist
167
167
# > Public: TRUE
168
- # > Created/Edited: 2015-04-28T23:44:51Z / 2015-04-28T23:44:51Z
168
+ # > Created/Edited: 2015-05-01T03:38:26Z / 2015-05-01T03:38:26Z
169
169
# > Files: stuff.md
170
170
# > Truncated?: FALSE
171
171
```
@@ -193,11 +193,11 @@ You can pass in files
193
193
``` r
194
194
file <- system.file(" examples" , " stuff.md" , package = " gistr" )
195
195
gist_create(file , description = ' a new cool gist' , browse = FALSE )
196
- # > <gist>89d7e5a348bd117cc524
197
- # > URL: https://gist.github.com/89d7e5a348bd117cc524
196
+ # > <gist>8e0e4994623a25890852
197
+ # > URL: https://gist.github.com/8e0e4994623a25890852
198
198
# > Description: a new cool gist
199
199
# > Public: TRUE
200
- # > Created/Edited: 2015-04-28T23:45:13Z / 2015-04-28T23:45:13Z
200
+ # > Created/Edited: 2015-05-01T03:46:39Z / 2015-05-01T03:46:39Z
201
201
# > Files: stuff.md
202
202
# > Truncated?: FALSE
203
203
```
@@ -224,11 +224,11 @@ numbers
224
224
225
225
[1] 0.3229318 0.5933054 0.7778408 0.3898947 0.1309717 0.7501378 0.3206379 0.3379005
226
226
' }, browse = FALSE )
227
- # > <gist>9c0c169c388a0b993b54
228
- # > URL: https://gist.github.com/9c0c169c388a0b993b54
227
+ # > <gist>a92ccdbf9ce75d63ea24
228
+ # > URL: https://gist.github.com/a92ccdbf9ce75d63ea24
229
229
# > Description:
230
230
# > Public: TRUE
231
- # > Created/Edited: 2015-04-28T23:45:13Z / 2015-04-28T23:45:13Z
231
+ # > Created/Edited: 2015-05-01T03:46:39Z / 2015-05-01T03:46:39Z
232
232
# > Files: code.R
233
233
# > Truncated?: FALSE
234
234
```
@@ -273,11 +273,11 @@ knit a local file
273
273
``` r
274
274
file <- system.file(" examples" , " stuff.Rmd" , package = " gistr" )
275
275
run(file , knitopts = list (quiet = TRUE )) %> % gist_create(browse = FALSE )
276
- # > <gist>c4ffaa041c43b2b2c9a4
277
- # > URL: https://gist.github.com/c4ffaa041c43b2b2c9a4
276
+ # > <gist>834d10cae4349169978f
277
+ # > URL: https://gist.github.com/834d10cae4349169978f
278
278
# > Description:
279
279
# > Public: TRUE
280
- # > Created/Edited: 2015-04-28T23:45:13Z / 2015-04-28T23:45:13Z
280
+ # > Created/Edited: 2015-05-01T03:46:40Z / 2015-05-01T03:46:40Z
281
281
# > Files: stuff.md
282
282
# > Truncated?: FALSE
283
283
```
@@ -342,9 +342,9 @@ gist_create(file, knit=TRUE, imgur_inject = TRUE)
342
342
gists()[[1 ]] %> % commits()
343
343
# > [[1]]
344
344
# > <commit>
345
- # > Version: 73e676d24a52ee8cf5c493e0dd604bb2878f4d7b
345
+ # > Version: b14636efd7b6cb89398c3e2f4f5c87cdede8d191
346
346
# > User: sckott
347
- # > Commited: 2015-04-28T23:45:13Z
347
+ # > Commited: 2015-05-01T03:46:39Z
348
348
# > Commits [total, additions, deletions]: [5,5,0]
349
349
```
350
350
@@ -388,11 +388,11 @@ file <- system.file("examples", "alm.md", package = "gistr")
388
388
gists(what = " minepublic" )[[1 ]] %> %
389
389
add_files(file ) %> %
390
390
update()
391
- # > <gist>9c0c169c388a0b993b54
392
- # > URL: https://gist.github.com/9c0c169c388a0b993b54
391
+ # > <gist>a92ccdbf9ce75d63ea24
392
+ # > URL: https://gist.github.com/a92ccdbf9ce75d63ea24
393
393
# > Description:
394
394
# > Public: TRUE
395
- # > Created/Edited: 2015-04-28T23:45:13Z / 2015-04-28T23:45:15Z
395
+ # > Created/Edited: 2015-05-01T03:46:39Z / 2015-05-01T03:46:42Z
396
396
# > Files: alm.md, code.R
397
397
# > Truncated?: FALSE, FALSE
398
398
```
@@ -405,11 +405,11 @@ file <- system.file("examples", "alm.md", package = "gistr")
405
405
gists(what = " minepublic" )[[1 ]] %> %
406
406
delete_files(file ) %> %
407
407
update()
408
- # > <gist>9c0c169c388a0b993b54
409
- # > URL: https://gist.github.com/9c0c169c388a0b993b54
408
+ # > <gist>a92ccdbf9ce75d63ea24
409
+ # > URL: https://gist.github.com/a92ccdbf9ce75d63ea24
410
410
# > Description:
411
411
# > Public: TRUE
412
- # > Created/Edited: 2015-04-28T23:45:13Z / 2015-04-28T23:45:16Z
412
+ # > Created/Edited: 2015-05-01T03:46:39Z / 2015-05-01T03:46:43Z
413
413
# > Files: code.R
414
414
# > Truncated?: FALSE
415
415
```
@@ -428,7 +428,7 @@ gists()[[1]] %>% browse()
428
428
429
429
``` r
430
430
gists()[[1 ]] %> % embed()
431
- # > [1] "<script src=\"https://gist.github.com/openpanzer/539a3546d15d14b65ef5 .js\"></script>"
431
+ # > [1] "<script src=\"https://gist.github.com//b1984e744fc019b2226c .js\"></script>"
432
432
```
433
433
434
434
### List forks
@@ -465,12 +465,12 @@ Returns a `gist` object
465
465
``` r
466
466
g <- gists()
467
467
(forked <- g [[ sample(seq_along(g ), 1 ) ]] %> % fork())
468
- # > <gist>9f487e848e9311dacccf
469
- # > URL: https://gist.github.com/9f487e848e9311dacccf
470
- # > Description: Template for shell script with logging
468
+ # > <gist>98bc1b597b88d90d4e90
469
+ # > URL: https://gist.github.com/98bc1b597b88d90d4e90
470
+ # > Description: Solution to level 14 in Untrusted: http://alex.nisnevich.com/untrusted/
471
471
# > Public: TRUE
472
- # > Created/Edited: 2015-04-28T23:45:17Z / 2015-04-28T23:45:17Z
473
- # > Files: shell_template.sh
472
+ # > Created/Edited: 2015-05-01T03:46:44Z / 2015-05-01T03:46:44Z
473
+ # > Files: untrusted-lvl14-solution.js
474
474
# > Truncated?: FALSE
475
475
```
476
476
0 commit comments