Here's what I did to get things working.
Yep, over at: https://developer.apple.com
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
# interpreted AST | |
system ~/projects/jruby $ jruby.bash -X-C mandelbrot.rb 20 | |
warming up | |
running mandelbrot(500) for 20 iterations | |
4.862 | |
4.822 | |
4.822 | |
4.846 | |
5.057 |
class Member | |
def init(): | |
self.connecting = True | |
self.sleep_condition = condition variable | |
self.monitoring = True | |
self.up = False | |
start a thread that runs monitor() | |
def monitor() | |
while self.monitoring: |
(function () { | |
rcversion = '1.0'; | |
load('underscore.min.js') | |
// NOTES | |
// Basics, wrap the whole thing in a function | |
// Set a version for sanity's sake | |
// Load underscore, a must in any javascript environment |
This guide will explain how you can make irc messages in a screen on a remote server appear in your Mac OS X Lion Notification Center with the help of terminal-notifier.
We will also explain how the process can be automatically started each time you log in to your Mac and ensure the connection to the server is kept alive.
#!/bin/env ruby | |
# lazy hack from Robert Klemme | |
module Memory | |
# sizes are guessed, I was too lazy to look | |
# them up and then they are also platform | |
# dependent | |
REF_SIZE = 4 # ? | |
OBJ_OVERHEAD = 4 # ? |