#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
- http://blog.stephenwolfram.com/2012/03/the-personal-analytics-of-my-life/
- http://priceonomics.com/
- http://www.syntax-k.de/projekte/go-review
- http://docutils.sourceforge.net/rst.html
- http://www.dwheeler.com/essays/simple-markup.html
- https://github.com/theory/text-markup
- http://stephen.wolfram.usesthis.com/
- http://itunes.apple.com/gb/app/dm1-the-drum-machine/id431573951?mt=8
Object[] a = ... // load array | |
int i = a.length; | |
while (i --> 0) { | |
// do something to a[i] | |
} |
Tiny_RayTracing.ps by Takashi Hayakawa ([email protected]) | |
is a ray tracing program in only 762 bytes (plus header)! | |
BEST OBFUSCATED ARTWORK -- 1st prize | |
-- The 2nd most coveted prize. These combine obfuscation with great artwork. | |
Don't send this one to a printer. It will take too long. Display it | |
on the screen and be ready to wait a while. The picture is well worth it. | |
If you want to print the picture much faster, use Tiny_RayTracing_Fast.ps instead. |
anigbrowl — 23 May 2012
Posted this earlier today when it turned up on google.com.au, but the thread had falled off the front page by the time I posted it. I thought people might find this interesting now that it's back.
The doodle is reminiscent of a Minimoog, but with several simplifications to make programming easier and more musical.
- Math ∩ Programming A place for elegant solutions
- http://jeremykun.wordpress.com/2011/08/11/the-perceptron-and-all-the-things-it-cant-perceive/
- Typblography The Adobe Type Team blog
- http://blogs.adobe.com/typblography/2012/09/source-code-pro.html
- http://blogs.adobe.com/typblography/2012/05/myriad_arabic_and_hebrew.html
- DDI Data-driven intelligence
- http://www.michaelnielsen.org/ddi/why-bloom-filters-work-the-way-they-do/
- http://www.michaelnielsen.org/ddi/how-to-crawl-a-quarter-billion-webpages-in-40-hours/
while ([fh offsetInFile] + 12 <= imageoffs) { | |
uint32_t sign = [fh readUInt32BE]; | |
uint32_t marker = [fh readUInt32BE]; | |
uint32_t chunklen = [fh readUInt32BE]; | |
off_t nextchunk = [fh offsetInFile] + ((chunklen + 3) & ~3); | |
// At this point, I'd like to take a moment to speak to you about the Adobe PSD format. | |
// PSD is not a good format. PSD is not even a bad format. Calling it such would be an | |
// insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having | |
// worked on this code for several weeks now, my hate for PSD has grown to a raging fire |
Pull request #528 - Make copyResource and copyTemplate usable by all entity drivers - allows all entities to take advantage of features that were previously present in only the TomcatServer
and QpidBroker
drivers. It deprecates the copyFile(...)
methods and adds copyResource(String, String)
, copyResources(Map)
and other convenience resource handling methods. This makes resources specified as URI strings the preferred mechanism for describing file content that is required by entities at install- or run-time.
Entities can now:
- Pull HTTP resources at the remote location, rather than downloading them locally and transferring across with sftp