5 ms·
Instacode
- dirkk0 14y agogreat idea! :-)
- nathell 14y agoAbsolutely gorgeous.
- flixic 14y agoI know it would be very difficult, but I also know it's possible, so what about live preview? I generated something, it wasn't as good as I hoped, and I wish I could tweak it a bit. If not, maybe I'll try to hack this with <canvas> this weekend...
- hardex 14y agoactually there's a Remix button that lets you just try the same data with different settings
- ekyo777 14y agoprobably hackernews effect, but I'm getting a mix of 502 errors and slow page loads. love the generate wallpaper tough
- eksith 14y agoDitto. I think it broke :/
- leppie 14y agoMagic in progress just takes infinite time when code contains Unicode... Or is it just me?
- kmfrk 14y agoThis is what the developer equivalent of Dribbble should be! Gorgeous work. I hope this means people will finally use proper presentation slides with syntax highlighting. EDIT: I will say this, though: the thumbnail settings are so small, they could basically be text. The syntax settings are easier to make sense of, but I suggest just turning the remaining settings into text/buttons and instead use a placeholder example with the chosen settings.
- cytzol 14y agoIf you haven't done so already, open it in Internet Explorer for an... alternative... stylesheet :)
- tshadwell 14y agoJust add class 'ie' to the html tags.
- scottmagdalein 14y ago10-line minimum?
- hellweaver666 14y agoI found this strange as well... especially when you consider the magic that can be done on a single line by a real coding-craftsman. I wonder if it's purely a cosmetic issue (i.e. one line looks naff in a square box).
- Sharlin 14y agoProbably.
- lalc 14y agoHere's an obscure crypto algorithm I hand-rolled: http://instacode.linology.info/15261 http://instacode.linology.info/15261 You've probably never heard of it.
- ZeroGravitas 14y agoPre-eminent Ruby hipster _why used to hand-write code samples that looked pretty cool. Could that be an option using some suitable hand-writing font? Some examples: http://viewsourcecode.org/why/redhanded/images/hpricot-aby.png http://viewsourcecode.org/why/redhanded/images/hpricot-aby.p... http://viewsourcecode.org/why/redhanded/images/a-personal-expando.png http://viewsourcecode.org/why/redhanded/images/a-personal-ex... http://viewsourcecode.org/why/redhanded/images/view-as-hpricot.png http://viewsourcecode.org/why/redhanded/images/view-as-hpric... http://viewsourcecode.org/why/redhanded/images/keepvid.png http://viewsourcecode.org/why/redhanded/images/keepvid.png http://viewsourcecode.org/why/redhanded/images/randfeed.png http://viewsourcecode.org/why/redhanded/images/randfeed.png and not quite in the same theme but whatever: http://viewsourcecode.org/why/redhanded/images/aside-from-that-there-is-a-range.gif http://viewsourcecode.org/why/redhanded/images/aside-from-th... http://viewsourcecode.org/why/redhanded/images/gem-mirror-only.gif http://viewsourcecode.org/why/redhanded/images/gem-mirror-on... http://viewsourcecode.org/why/redhanded/images/irb-lex.gif http://viewsourcecode.org/why/redhanded/images/irb-lex.gif
- janerik 14y agoI used the simpsonfont for that: http://codebubble.heroku.com/ http://codebubble.heroku.com/
- ZeroGravitas 14y agoVery nice. Though it doesn't apply the font for me on Firefox 19, Ubuntu Linux. Chromium works though. Checking out Google Web Fonts for appropriate hand writing fonts I noticed that all the good/suitable ones seems to be by the same person, Kimberly Geswein. I can't seem to link to all her fonts via a URL but searching for "Kimberly" brings them all up.
- janerik 14y agoThe code is over 2 years old, I did it on a whyday back then in about 10minutes. Had no time to make it work across all browsers.
- shurcooL 14y agoPhew, for a second there I thought this was going to be what I'm trying to create, namely an online repository for functions within an executable environment, plus dependency management. Gist + play.golang.org + Cloud9 in one.
- ot 14y agoBefore clicking I thought this was a service where you can paste a snippet in any programming language and it gets automatically rewritten to FORTRAN 77 (with a few random bugs added).
- joshguthrie 14y agoI was hoping for a real hipsteruby filter :(
- muratmutlu 14y agoWell played whoever made this
- ArunRaja 14y agoFinal image shows only part of the code (Why ?)
- deleted 14y ago[deleted]
- prawks 14y agoOne suggestion: handle excess indentation. If I copy code from something and it's been indented 3-4 levels, it's pushed almost all the way (if not all the way) off the picture. Love the support for Solarized, by far my favorite color scheme!
- seliopou 14y agoReally disappointed with the lack of APL[1] support. (You've probably never heard of it.) No character set support, no syntax highlighting. [1]: http://en.wikipedia.org/wiki/APL_(programming_language) http://en.wikipedia.org/wiki/APL_(programming_language)
- BCM43 14y ago(You've probably never heard of it.) Is this a hipster joke?
- MaxGabriel 14y agoYes.
- michaelfeathers 14y agoI paste this in and it just spins forever saying "Magic in progress." # :: [event] -> [String, Int] def temporal_correlation_of_classes events events.group_by {|e| [e.day,e.committer]} .values .flat_map {|e| e.map(&:class_name).uniq.combination(2).to_a } .pairs .freq .sort_by(&:second) end # :: [event] -> { String => date } def classes_by_closure events class_names = method_events(events).map(&:class_name).uniq classes = Hash[class_names.zip([Time.now] * class_names.length)] method_events(events).each {|e| classes[e.class_name] = e.date } classes.to_a.sort_by {|_,date| date } end
- deleted 14y ago[deleted]
- galaktor 14y agoSame thing for me (different code). I believe the server is on it's knees.
- michaelfeathers 14y agoDamn. I was hoping the code had too much magic.
- MaxGabriel 14y agoJust so you know, I couldn't horizontally scroll or zoom out on my iPhone (iOS 6.1) on the page, so I couldn't see the other half of the site.
- k00pa 14y agoIts using some custom fonts or something, weird icons showing up where I would assume there is some nice looking icons...
- felipesabino 14y agoif only it didn't ask for github's private email address for signup
- kahfei 14y agoI am trying to paste this beautiful letter to Augusta http://jpfuentes2.tumblr.com/post/39935683274/a-letter-to-my-daughter-augusta-in-ruby http://jpfuentes2.tumblr.com/post/39935683274/a-letter-to-my..., anticipating the most beautiful ever wallpaper in code, but it is still magic in progress after 5 minutes of wait though.
- n3rdy 14y agoSo this is kind of what its like to have interesting things to share as filtered images and friends who care enough to enjoy them! Now I just need friends :'-(
- yarianluis 14y agoIt would be much more useful if you could select where the snapshot focuses in and the zoom level. Still made me smile very much.