ryanj / gist-reveal Goto Github PK
View Code? Open in Web Editor NEWGist-powered Revealjs slides
Home Page: http://gist-reveal.it
License: MIT License
Gist-powered Revealjs slides
Home Page: http://gist-reveal.it
License: MIT License
Document template installation in the README
Auto-include paper.css / pdf.css when rendering for printers (when generating PDF output)
make a module that will first check for available assets within a repo folder.
If the asset is not found check a local disk cache folder and then request a cache refresh for the remote asset (update in the background, only update when fresh data is found).
publish
Allow admins to populate a BANNED_USERS env var with a CSV list of gh_usernames.
Automatically block requests for gists where the owner has been blacklisted.
$ rhc app create gistreveal nodejs-0.10 --from-code=http://github.com/ryanj/gis
t-reveal.it
Application Options
-------------------
Domain: ttvvoo
Cartridges: nodejs-0.10
Source Code: http://github.com/ryanj/gist-reveal.it
Gear Size: default
Scaling: no
Creating application 'gistreveal' ... Server returned an unexpected error code: 504
Create new themes:
Then:
Need to consider the security implications for iframes.
Best use-cases:
include notes on how to set env vars in your Docker containers
Include detailed notes on how to host, fork, edit, contribute, and promote
Include Docker and GearD deployment notes
Update to show live production demo urls
ideas:
For now, we'll be matching module versions with the upstream reveal source - https://github.com/hakimel/reveal.js/blob/master/package.json
In the future, I hope to include all of our reveal sources via npm.
needs an implementation plan.
requirements:
Generated ONBUILD containers seem to have trouble writing gist-based CSS themes to disk.
potential fixes?:
According to the github doc's, I should have a higher rate-limit when using my credentials. UNfortunaltly that does not appear to be the case. Do you know what I may be missing?
HTTP/1.1 200 OK
Server: GitHub.com
Date: Sun, 02 Nov 2014 06:26:18 GMT
Content-Type: application/json; charset=utf-8
Status: 200 OK
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1414913136
Cache-Control: public, max-age=60, s-maxage=60
Last-Modified: Fri, 06 Dec 2013 20:31:11 GMT
ETag: "3deddbf2b4e3fa8465a4b2f0f9e7d895"
Vary: Accept
X-GitHub-Media-Type: github.v3
X-XSS-Protection: 1; mode=block
X-Frame-Options: deny
Content-Security-Policy: default-src 'none'
Content-Length: 1096
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
Access-Control-Allow-Origin: *
X-GitHub-Request-Id: 806BFCB4:527F:2BADAF0:5455CE8A
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Content-Type-Options: nosniff
Vary: Accept-Encoding
X-Served-By: 76d9828c7e4f1d910f7ba069e90ce976
{
"login": "whatever",
"id": 43933,
"avatar_url": "https://avatars.githubusercontent.com/u/43933?v=2",
"gravatar_id": "",
"url": "https://api.github.com/users/whatever",
"html_url": "https://github.com/whatever",
"followers_url": "https://api.github.com/users/whatever/followers",
"following_url": "https://api.github.com/users/whatever/following{/other_user}",
"gists_url": "https://api.github.com/users/whatever/gists{/gist_id}",
"starred_url": "https://api.github.com/users/whatever/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/whatever/subscriptions",
"organizations_url": "https://api.github.com/users/whatever/orgs",
"repos_url": "https://api.github.com/users/whatever/repos",
"events_url": "https://api.github.com/users/whatever/events{/privacy}",
"received_events_url": "https://api.github.com/users/whatever/received_events",
"type": "User",
"site_admin": false,
"public_repos": 1,
"public_gists": 0,
"followers": 0,
"following": 0,
"created_at": "2009-01-03T13:12:29Z",
"updated_at": "2013-12-06T20:31:11Z"
}
Introduce Docker, Revealjs, benefits, usage info
Record a quick introductory video to help get people started
Add support for content located at the following url: gist-reveal.it/username/reponame
should be super easy
display a concurrency indicator, show how many people are currently viewing the presentation
return the full (long path) gist-reveal url result
Update launch button, link to kubectl steps in the README instructions
Need a new error page: API threshold limit hit
Or, do the templating on the client-side - have them make the API requests (distrubuting the API requests out to different IPs)
Allow multiple presenters, match gist_id and channel_id.
Only broadcast after github auth???
site admins could possibly use kubectl attach
or kubectl exec
to connect to the server directly. Characters could be streamed down to client browsers.
I'm sure the JS end of this solution is already solved somewhere.
Here is one potential option:
Move gist code into a module, and open source it.
Add ConfSays?
Leah says I may need to add a marketo tracking token to the layout in order to identify ref traffic from this source.
Integrate short link url generation and tracking? Use stats for leaderboard?
I created a tiny markdown file using both #
and ------
based headers but it doesn't seem to work?
If the path starts with github.com, fetch from github instead of from gist.github.com
graphic logo, and text
set up a public demo that includes a nice DockerConf theme
document how to use img tags. Set up a proxy to make src urls look simpler?
Include a better error page to let folks know when they've entered an invalid gist id
Why does kubernetes keep restarting the service?!?
It appear gist-reveal is not rendering table style and td style correctly. In GIST https://gist.github.com/danehans/b78ab8bd7511610f29c1:
<table style="margin-left: auto; margin-right: auto; width: 593px">
<tr>
<td style="font-size: smaller; font-style: italic; text-align: center; width: 20%;">Code</td>
<td style="font-size: smaller; font-style: italic; text-align: center; width: 15%;"> </td>
<td style="font-size: smaller; font-style: italic; text-align: center; width: 30%;">Deploy</td>
<td style="font-size: smaller; font-style: italic; text-align: center; width: 15%;"> </td>
<td style="font-size: smaller; font-style: italic; text-align: center; width: 20%;">Enjoy</td>
</tr>
</table>
In index.html:
<table>
<tr>
<td>Code</td>
<td> </td>
<td>Deploy</td>
<td> </td>
<td>Enjoy</td>
</tr>
</table>
Find an easy way to embed Soundcloud audio content
I build a clone site.The dmain.com/gist_id is working but the domain.com/?set_Tocken isn't.
Is this a new feature(evrey body could use it) or bug(i cannot set a secret tocken)?
Strip all javascript from the gist files? Javascript should be implemented as a site-wide feature, but users can add onclick events and special tags that enable system js functions to trigger certain operations.
Allow the attachment of custom CSS?
in order to steal all of the tickets and buy a judge
Set the related CSS rules higher in the page, allowing the theme to override the styling rules if needed.
Provide an overlay with "Login" and "Fork" buttons
use HTML5 offline blah blah if it helps
Display error messages like: "Sorry, your not connected to the internet"
for paas autoconfiguration
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.