Skip to content

Instantly share code, notes, and snippets.

View tbalthazar's full-sized avatar
👻
chasing ghosts

Thomas Balthazar tbalthazar

👻
chasing ghosts
View GitHub Profile
@tbalthazar
tbalthazar / cappuccino build output
Created November 17, 2008 10:19
Cappuccino built from github src on November 17th, 2008
earthling:cappuccino tba$ ant
Buildfile: build.xml
build:
build:
[mkdir] Created dir: /Users/tba/objj_build/Objective-J.build/Release
[mkdir] Created dir: /Users/tba/objj_build/Objective-J.build/Release/Rhino
[mkdir] Created dir: /Users/tba/objj_build/Release/Objective-J
[mkdir] Created dir: /Users/tba/objj_build/Objective-J.build/Release/Browser
# delete all the ._ files (recursive)
find . -name "._*" -print | xargs rm
#!/usr/bin/env ruby
#
# Find bloating passengers and kill them gracefully. Run from cron every minute.
#
MEM_LIMIT = ARGV[0].to_i || 500
module Process
def self.running?(pid)
begin
# use the ubuntu machine gem
require 'capistrano/ext/ubuntu-machine'
# #######################################
# HOSTING PROVIDER CONFIGURATION
# Those tasks have been tested with severa hosting providers
# and sometimes tasks are specific to those providers
set :hosting_provider, "slicehost" # currently supported : ovh-rps, ovh-dedie, slicehost
- (void)setFrameSize:(CGSize)aSize
{
[super setFrameSize:aSize];
#if PLATFORM(DOM)
if (_isBezeled && _bezelStyle == CPTextFieldRoundedBezel)
CPDOMDisplayServerSetStyleSize(_DOMTextElement, _frame.size.width - 2.0 * ROUNDEDBEZEL_HORIZONTAL_PADDING, _frame.size.height - TOP_PADDING - BOTTOM_PADDING);
else
CPDOMDisplayServerSetStyleSize(_DOMTextElement, _frame.size.width - 2.0 * HORIZONTAL_PADDING, _frame.size.height - TOP_PADDING - BOTTOM_PADDING);
// CPDOMDisplayServerSetStyleSize(_DOMTextElement, _frame.size.width - 2.0 * HORIZONTAL_PADDING, _frame.size.height - TOP_PADDING - BOTTOM_PADDING);
/*
* AppController.j
*
* Created by __Me__ on __Date__.
* Copyright 2008 __MyCompanyName__. All rights reserved.
*/
@import <Foundation/CPObject.j>
# http://discuss.joyent.com/viewtopic.php?id=9043
require 'zip/zipfilesystem'
# source should be a zip file.
# target should be a directory to output the contents to.
def unzip_file(source, target)
# Create the target directory.
# We'll ignore the error scenario where
2009-00-18 19:06:23.996 Cappuccino [info]: Removing: CPDOMWindowBridge.j
/usr/local/share/objj/lib/press.j
InternalError: Can't find method java.lang.String.valueOf(). (<eval'ed string>#1(Function)#376)
OBJJ EXCEPTION: InternalError: Can't find method java.lang.String.valueOf(). (<eval'ed string>#1(Function)#376)
Name: InternalError
Message: Can't find method java.lang.String.valueOf(). (<eval'ed string>#1(Function)#376)
File: <eval'ed string>#1(Function)
Line: 376
Rhino Exception: org.mozilla.javascript.EvaluatorException: Can't find method java.lang.String.valueOf(). (<eval'ed string>#1(Function)#376)
org.mozilla.javascript.EvaluatorException: Can't find method java.lang.String.valueOf(). (<eval'ed string>#1(Function)#376)
require 'rubygems'
require 'grit'
$KCODE = 'u'
# Some people appear in Rails logs under different names, there are nicks,
# typos, email addresses, shortenings, etc. This is a hand-made list to map
# them in order to be able to aggregate commits from the same real author.
SEEN_IN_LOG_ALSO_AS = {
'Cheah Chu Yeow' => ['Chu Yeow', 'chuyeow'],
@import <Foundation/CPObject.j>
@implementation AppController : CPObject
{
}
- (void)applicationDidFinishLaunching: (CPNotification)aNotification
{
var myWindow = [[CPWindow alloc] initWithContentRect: CGRectMake(50,50,350, 250)