|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": null, |
| 5 | + "execution_count": 1, |
6 | 6 | "metadata": {}, |
7 | 7 | "outputs": [], |
8 | 8 | "source": [ |
|
19 | 19 | }, |
20 | 20 | { |
21 | 21 | "cell_type": "code", |
22 | | - "execution_count": null, |
| 22 | + "execution_count": 2, |
23 | 23 | "metadata": {}, |
24 | 24 | "outputs": [], |
25 | 25 | "source": [ |
26 | 26 | "#export\n", |
27 | | - "from fastcore.utils import *\n", |
28 | | - "from fastcore.foundation import *\n", |
| 27 | + "from fastcore.all import *\n", |
29 | 28 | "from ghapi.core import *\n", |
30 | 29 | "\n", |
31 | 30 | "import webbrowser,time\n", |
|
41 | 40 | }, |
42 | 41 | { |
43 | 42 | "cell_type": "code", |
44 | | - "execution_count": null, |
| 43 | + "execution_count": 3, |
45 | 44 | "metadata": {}, |
46 | 45 | "outputs": [], |
47 | 46 | "source": [ |
|
56 | 55 | }, |
57 | 56 | { |
58 | 57 | "cell_type": "code", |
59 | | - "execution_count": null, |
| 58 | + "execution_count": 4, |
60 | 59 | "metadata": {}, |
61 | 60 | "outputs": [], |
62 | 61 | "source": [ |
|
66 | 65 | }, |
67 | 66 | { |
68 | 67 | "cell_type": "code", |
69 | | - "execution_count": null, |
| 68 | + "execution_count": 5, |
70 | 69 | "metadata": {}, |
71 | 70 | "outputs": [], |
72 | 71 | "source": [ |
|
78 | 77 | }, |
79 | 78 | { |
80 | 79 | "cell_type": "code", |
81 | | - "execution_count": null, |
| 80 | + "execution_count": 6, |
82 | 81 | "metadata": {}, |
83 | 82 | "outputs": [ |
84 | 83 | { |
|
87 | 86 | "'repo,admin:public_key,public_repo'" |
88 | 87 | ] |
89 | 88 | }, |
90 | | - "execution_count": null, |
| 89 | + "execution_count": 6, |
91 | 90 | "metadata": {}, |
92 | 91 | "output_type": "execute_result" |
93 | 92 | } |
|
105 | 104 | }, |
106 | 105 | { |
107 | 106 | "cell_type": "code", |
108 | | - "execution_count": null, |
| 107 | + "execution_count": 10, |
109 | 108 | "metadata": {}, |
110 | 109 | "outputs": [], |
111 | 110 | "source": [ |
112 | 111 | "#export\n", |
113 | | - "_def_clientid = '771f3c3af93face45f52'" |
| 112 | + "_def_clientid = '71604a89b882ab8c8634'" |
114 | 113 | ] |
115 | 114 | }, |
116 | 115 | { |
117 | 116 | "cell_type": "code", |
118 | | - "execution_count": null, |
| 117 | + "execution_count": 11, |
119 | 118 | "metadata": {}, |
120 | 119 | "outputs": [], |
121 | 120 | "source": [ |
|
140 | 139 | }, |
141 | 140 | { |
142 | 141 | "cell_type": "code", |
143 | | - "execution_count": null, |
| 142 | + "execution_count": 13, |
144 | 143 | "metadata": {}, |
145 | 144 | "outputs": [ |
146 | 145 | { |
147 | 146 | "data": { |
148 | 147 | "text/plain": [ |
149 | | - "('466da70dae0a30102cd6df6436b57a6a5c58701a', 'CA0C-C4AE')" |
| 148 | + "('62956bc850018fb2e5c4b62501df72bbe5583a5a', '247D-B1A6')" |
150 | 149 | ] |
151 | 150 | }, |
152 | | - "execution_count": null, |
| 151 | + "execution_count": 13, |
153 | 152 | "metadata": {}, |
154 | 153 | "output_type": "execute_result" |
155 | 154 | } |
|
161 | 160 | }, |
162 | 161 | { |
163 | 162 | "cell_type": "code", |
164 | | - "execution_count": null, |
| 163 | + "execution_count": 14, |
165 | 164 | "metadata": {}, |
166 | 165 | "outputs": [], |
167 | 166 | "source": [ |
|
182 | 181 | }, |
183 | 182 | { |
184 | 183 | "cell_type": "code", |
185 | | - "execution_count": null, |
| 184 | + "execution_count": 15, |
186 | 185 | "metadata": {}, |
187 | 186 | "outputs": [ |
188 | 187 | { |
189 | 188 | "name": "stdout", |
190 | 189 | "output_type": "stream", |
191 | 190 | "text": [ |
192 | | - "First copy your one-time code: CA0C-C4AE\n", |
| 191 | + "First copy your one-time code: 247D-B1A6\n", |
193 | 192 | "Then visit https://github.com/login/device in your browser, and paste the code when prompted.\n" |
194 | 193 | ] |
195 | 194 | } |
|
200 | 199 | }, |
201 | 200 | { |
202 | 201 | "cell_type": "code", |
203 | | - "execution_count": null, |
| 202 | + "execution_count": 16, |
204 | 203 | "metadata": {}, |
205 | 204 | "outputs": [], |
206 | 205 | "source": [ |
|
220 | 219 | }, |
221 | 220 | { |
222 | 221 | "cell_type": "code", |
223 | | - "execution_count": null, |
| 222 | + "execution_count": 17, |
224 | 223 | "metadata": {}, |
225 | 224 | "outputs": [], |
226 | 225 | "source": [ |
|
247 | 246 | }, |
248 | 247 | { |
249 | 248 | "cell_type": "code", |
250 | | - "execution_count": null, |
| 249 | + "execution_count": 18, |
251 | 250 | "metadata": {}, |
252 | 251 | "outputs": [ |
253 | 252 | { |
|
264 | 263 | }, |
265 | 264 | { |
266 | 265 | "cell_type": "code", |
267 | | - "execution_count": null, |
| 266 | + "execution_count": 19, |
268 | 267 | "metadata": {}, |
269 | 268 | "outputs": [], |
270 | 269 | "source": [ |
|
294 | 293 | }, |
295 | 294 | { |
296 | 295 | "cell_type": "code", |
297 | | - "execution_count": null, |
| 296 | + "execution_count": 20, |
298 | 297 | "metadata": {}, |
299 | 298 | "outputs": [], |
300 | 299 | "source": [ |
|
304 | 303 | }, |
305 | 304 | { |
306 | 305 | "cell_type": "code", |
307 | | - "execution_count": null, |
| 306 | + "execution_count": 21, |
308 | 307 | "metadata": {}, |
309 | 308 | "outputs": [], |
310 | 309 | "source": [ |
|
333 | 332 | }, |
334 | 333 | { |
335 | 334 | "cell_type": "code", |
336 | | - "execution_count": null, |
| 335 | + "execution_count": 22, |
337 | 336 | "metadata": {}, |
338 | 337 | "outputs": [ |
339 | 338 | { |
340 | 339 | "name": "stdout", |
341 | 340 | "output_type": "stream", |
342 | 341 | "text": [ |
343 | | - "First copy your one-time code: \u001b[33mDD47-0B67\u001b[m\n", |
| 342 | + "First copy your one-time code: \u001b[33m4ACE-3C18\u001b[m\n", |
344 | 343 | "Then visit https://github.com/login/device in your browser, and paste the code when prompted.\n", |
345 | 344 | "Waiting for authorization...Authentication not complete!\n" |
346 | 345 | ] |
|
359 | 358 | }, |
360 | 359 | { |
361 | 360 | "cell_type": "code", |
362 | | - "execution_count": null, |
| 361 | + "execution_count": 23, |
363 | 362 | "metadata": {}, |
364 | 363 | "outputs": [ |
365 | 364 | { |
|
375 | 374 | "Converted 50_fullapi.ipynb.\n", |
376 | 375 | "Converted 80_tutorial_actions.ipynb.\n", |
377 | 376 | "Converted 90_build_lib.ipynb.\n", |
378 | | - "Converted Untitled.ipynb.\n", |
379 | | - "Converted ghapi demo.ipynb.\n", |
| 377 | + "Converted ghapi_demo.ipynb.\n", |
380 | 378 | "Converted index.ipynb.\n" |
381 | 379 | ] |
382 | 380 | } |
|
397 | 395 | ], |
398 | 396 | "metadata": { |
399 | 397 | "kernelspec": { |
400 | | - "display_name": "Python 3", |
| 398 | + "display_name": "Python 3 (ipykernel)", |
401 | 399 | "language": "python", |
402 | 400 | "name": "python3" |
| 401 | + }, |
| 402 | + "language_info": { |
| 403 | + "codemirror_mode": { |
| 404 | + "name": "ipython", |
| 405 | + "version": 3 |
| 406 | + }, |
| 407 | + "file_extension": ".py", |
| 408 | + "mimetype": "text/x-python", |
| 409 | + "name": "python", |
| 410 | + "nbconvert_exporter": "python", |
| 411 | + "pygments_lexer": "ipython3", |
| 412 | + "version": "3.9.10" |
| 413 | + }, |
| 414 | + "toc": { |
| 415 | + "base_numbering": 1, |
| 416 | + "nav_menu": {}, |
| 417 | + "number_sections": false, |
| 418 | + "sideBar": true, |
| 419 | + "skip_h1_title": false, |
| 420 | + "title_cell": "Table of Contents", |
| 421 | + "title_sidebar": "Contents", |
| 422 | + "toc_cell": false, |
| 423 | + "toc_position": {}, |
| 424 | + "toc_section_display": true, |
| 425 | + "toc_window_display": false |
403 | 426 | } |
404 | 427 | }, |
405 | 428 | "nbformat": 4, |
|
0 commit comments