---------- Forwarded message ----------
From: Mark S. Miller <[email protected]>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: [email protected]
| // See comments below. | |
| // This code sample and justification brought to you by | |
| // Isaac Z. Schlueter, aka isaacs | |
| // standard style | |
| var a = "ape", | |
| b = "bat", | |
| c = "cat", | |
| d = "dog", |
| <?php | |
| /** | |
| * UUID class | |
| * | |
| * The following class generates VALID RFC 4122 COMPLIANT | |
| * Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
| * | |
| * UUIDs generated validates using OSSP UUID Tool, and output | |
| * for named-based UUIDs are exactly the same. This is a pure | |
| * PHP implementation. |
| - (UIImage *)pspdf_preloadedImage { | |
| CGImageRef image = self.CGImage; | |
| // make a bitmap context of a suitable size to draw to, forcing decode | |
| size_t width = CGImageGetWidth(image); | |
| size_t height = CGImageGetHeight(image); | |
| CGColorSpaceRef colourSpace = CGColorSpaceCreateDeviceRGB(); | |
| CGContextRef imageContext = CGBitmapContextCreate(NULL, width, height, 8, width*4, colourSpace, | |
| kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Little); |
---------- Forwarded message ----------
From: Mark S. Miller <[email protected]>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: [email protected]
| Hi David, | |
| I came across your profile online and wanted to reach out about Development | |
| Opportunities here at Groupon. The company is growing, and we're always | |
| looking for folks with solid skills that can make positive contribution to | |
| our continued success. Any chance you'd be open to a quick conversation | |
| about opportunities, or for any possible networking potential? If so, let me | |
| know when you're free and we can set up a time to chat. Also, if you are | |
| interested, it would be great if you could forward a current resume over | |
| that I can take a look at. I look forward to hearing back from you! Please | |
| let me know if you have any questions. |
| ## Prepare ################################################################### | |
| # Remove RVM | |
| rvm implode | |
| # Ensure your homebrew is working properly and up to date | |
| brew doctor | |
| brew update | |
| ## Install ################################################################### |
| #!/bin/bash | |
| # (Re)spawn the application | |
| function spawn () { | |
| local ps_name=$1 | |
| local spawn_cmd=$2 | |
| local pids=`ps -C $ps_name -o pid=` | |
| if [ ${#pids} -ne 0 ] | |
| then | |
| echo "Sending TERM to $pids..." |
| require 'formula' | |
| class Mruby < Formula | |
| homepage 'http://www.mruby.org/' | |
| head 'https://github.com/mruby/mruby.git' | |
| def install | |
| ENV.j1 | |
| system "make" | |
| system "make test" |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
| // begin() and end() functions for arrays (C++03) | |
| // | |
| // Written in 2012 by Martinho Fernandes | |
| // | |
| // To the extent possible under law, the author(s) have dedicated all copyright and related | |
| // and neighboring rights to this software to the public domain worldwide. This software is | |
| // distributed without any warranty. | |
| // | |
| // You should have received a copy of the CC0 Public Domain Dedication along with this software. | |
| // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. |