Live data from Hacker News

5 minute fork

5minfork.com

21–30 of 36 posts

Re: 5 minute fork

#21
post #17

Unfortunately, I found that 5 minute fork doesn't initialize git submodules for https://github.com/Khan/khan-exercises . :(

File an issue, and I'll add that - and yeah, even better, if you can do a pull request it saves me writing it :)

Re: 5 minute fork

#23
post #19

Earlier quoted context omitted.

I understand users' need for this, but as a this is your code, why don't you also push it to the gh-pages branch? That would make the exact same thing available at http://reidrac.github.com/canvas-raycasting (and then add a link to your README)

I used to try to do that with my projects, but I found keeping the gh-pages branch in sync with my master just enough of a pain that it quickly got neglected. I'm not saying you shouldn't, and personally, I'd rather there be a hosted example of the repo - I just made 5minfork for those ones that (I often found) didn't have the live example.

I never bother with an orphan branch, just create a gh-pages branch from master and fast-forward it when you want to "deploy".

Re: 5 minute fork

#24
post #19
post #3

Tried it with the only repo I have with plain html/js* and works like a charm. Pretty neat! * http://5minfork.com/reidrac/canvas-raycasting

I understand users' need for this, but as a this is your code, why don't you also push it to the gh-pages branch? That would make the exact same thing available at http://reidrac.github.com/canvas-raycasting (and then add a link to your README)

I actually hosted a demo for that repo in a different server.

I'm not saying it's useful to host your own demo (although it could be a temporarily demo deployed on demand). I think 5minfork is cool if you want to try a project and the repo owner didn't put a demo website, that's the problem the author wants to solve and I think it's a great idea specially if you can't get the code and try it locally (mobile browsing?).

Re: 5 minute fork

#25
post #14

Obligatory bookmarklet: javascript:void(document.location='http://5minfork.com'+document.location.pathname)

document.location is deprecated^Wcannot be assigned to in Internet Explorer.

    javascript:void location='http://5minfork.com'+location.pathname

Re: 5 minute fork

#27
post #25
post #14

Obligatory bookmarklet: javascript:void(document.location='http://5minfork.com'+document.location.pathname)

document.location is deprecated^Wcannot be assigned to in Internet Explorer. javascript:void location='http://5minfork.com'+location.pathname

Whups! Thanks.

Re: 5 minute fork

#29

Is there a generally accepted term for the Domain Swap as User Interface that this uses? I've come across the same idea [1] on several different sites/services and was just curious. 1. youtube.com -> youtuberepeater.com and reddit.com/r/aww -> imgur.com/r/aww

If I had to invent a name I'd call it "path compatibility", but I've never seen anything mentioned.

Re: 5 minute fork

#30
I can see the value in this, but I probably wouldn't use it. I run a WAMP server on my desktop and have made an Alias in my httpd.conf to my Github Repos directory, allowing me to cruise in and see example html pages very easily. I just clone the repo in windows, and then I can use /git/REPO/coolthing.js in a script tag. I use a chrome extension for rendering README.md (markdown) files.

I use Apaxy (http://adamwhitcroft.com/apaxy/ ) to get a better folder view. The instructions for setting up an Alias are here: http://serverfault.com/questions/7323/httpd-conf-and-setting...

Hope this helps someone out there. It's really simple to do.

Post reply on HN