tr3buchet / gister Goto Github PK
View Code? Open in Web Editor NEWmakes gists!
License: Apache License 2.0
makes gists!
License: Apache License 2.0
apparently it's possible to put images into a gist? http://stackoverflow.com/questions/16425770/how-do-you-upload-images-to-a-gist has some more details. it would be cool to be able to use this. right now I just get a UTF-8 decode error when I try.
Should only happen on public github
I think should work for secret and anonymous gists as well since nbviewer.ipython.org does not store the data (asides from a 10 minute cache), it only parses the data in the gist for viewing when you visit the link. I can't find that it indexes or makes them available to the public in any way. But most importantly, unless you visit the nbviewer.org link, nbviewer.ipython.org will never know your gist exists. gister will only craft the nbviewer.ipython.org link for display.
So gister should output both the gist.github.com link and the nbviewer.ipython.org link
cat foo | gister
is helpful, but it would be nice to be able to specify a filename, like gister foo
as well, for other situations. For one thing, that would allow for preserving the file's name, which would preserve its syntax highlighting type. For another, it would allow you to create a multi-file gist, if you had a bunch of files in a directory you wanted to group together, gister *.txt
would be handy.
Hello sir,
I install gister from pypi but is not found. The remediation is requested.
Thanks before,
7-11
Hi,
i have the following problem when trying to post with the -p
option to our internal Github Enterprise instance
Traceback (most recent call last):
File "C:\Homeware\Python27\Scripts\gister-script.py", line 9, in <module>
load_entry_point('gister==1.0.15', 'console_scripts', 'gister')()
File "C:\Homeware\Python27\lib\site-packages\gister\gister.py", line 180, in create_gist
headers=headers)
File "C:\Homeware\Python27\lib\site-packages\requests\api.py", line 99, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Homeware\Python27\lib\site-packages\requests\api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "C:\Homeware\Python27\lib\site-packages\requests\sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "C:\Homeware\Python27\lib\site-packages\requests\sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "C:\Homeware\Python27\lib\site-packages\requests\adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Any idea what could be the problem ?
$ echo hi | gister -a
โฉ Sun Feb 6 22:48:17 PST 2022
Traceback (most recent call last):
File "/Users/glyph/.local/bin/gister", line 8, in <module>
sys.exit(print_gist_url())
File "/Users/glyph/.local/pipx/venvs/gister/lib/python3.10/site-packages/gister/gister.py", line 182, in print_gist_url
print(create_gist(args.anonymous, args.command, args.description,
File "/Users/glyph/.local/pipx/venvs/gister/lib/python3.10/site-packages/gister/gister.py", line 174, in create_gist
r.raise_for_status()
File "/Users/glyph/.local/pipx/venvs/gister/lib/python3.10/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.github.com/gists
Noob question but i'm not having any luck here.
๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.