This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function drawTotalParticipation():void { | |
this.graphics.lineStyle(1, 0x00FFFF); | |
this.graphics.moveTo(0, 300); | |
this.graphics.beginFill(0x00FFFF); | |
for( var i:uint = 0; i < _data.length - 1; i++ ) { | |
//this.graphics.drawCircle(i*10, 300 - _data[i].total, 2); | |
this.graphics.lineTo((i+1)*10, 300 - _data[i+1].total); | |
} | |
//this.graphics.drawCircle((_data.length - 1)*10, 300 - _data[_data.length - 1].total, 2); | |
this.graphics.lineTo(( _data.length-1 )* 10, 300); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Flickr = Class.create({ | |
initialize: function(api_key) { | |
//this.api_key = api_key; | |
this.api_key = '4b14a0d06d79ae1cf8fafec76f32be4d'; | |
this.image_url_template = new Template("http://farm#{farm}.static.flickr.com/#{server}/#{id}_#{secret}_#{size}.jpg") | |
}, | |
// flickr callback | |
f_setUserId: function(flickr_response) { | |
if ( flickr_response.stat != 'ok' ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ParseTree (3.0.1, 2.2.0, 2.1.1) | |
RedCloth (4.1.0, 4.0.4, 4.0.3, 3.0.4) | |
RubyInline (3.8.1, 3.7.0, 3.6.7, 3.6.6) | |
ZenTest (3.11.0, 3.10.0, 3.9.2, 3.9.1) | |
abstract (1.0.0) | |
actionmailer (2.1.2, 2.1.1, 2.1.0, 2.0.2) | |
actionpack (2.1.2, 2.1.1, 2.1.0, 2.0.2) | |
activerecord (2.1.2, 2.1.1, 2.1.0, 2.0.2) | |
activeresource (2.1.2, 2.1.1, 2.1.0, 2.0.2) | |
activesupport (2.1.2, 2.1.1, 2.1.0, 2.0.2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. document=2, weight=3, created_at=Sat Nov 8 17:52:15 2008, id=1, sphinx_internal_id=1, class_crc=3557893116, subclass_crcs=(680131769,3557893116), sphinx_deleted=0 | |
id=1 | |
title=a moo | |
description=a moo in the wild | |
tags=moo, wild, nature | |
owner_id=2 | |
active=1 | |
image_file_name=184x180.jpg | |
image_content_type=image/png | |
image_file_size=50316 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
,previewCenter: function() { | |
var tile = this.getMostPopulatedTile(); | |
if ( tile == null ) { | |
return { span: null, coords: null, params: null } | |
} | |
var map_projection = this.gmap.getCurrentMapType().getProjection(); | |
var x = tile.x * 256 + 128; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('li span.content').each( function(index,element) { z = element.innerHTML.match(/http:\/\/([^/]+)[^ ]+/); if ( z!= null) { console.log(element.innerHTML); element.innerHTML = element.innerHTML.replace(z[0], '<a href="'+z[0]+'">'+z[1]+'</a>') } }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- /etc/fonts/local.conf file to configure system font access --> | |
<fontconfig> | |
<!-- Use the Autohinter --> | |
<match target="font"> | |
<edit name="autohint" mode="assign"><bool>true</bool></edit> | |
</match> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
KEY="$HOME/.ssh/id_dsa.pub" | |
if [ ! -f $KEY ];then | |
echo "private key not found at $KEY" | |
echo "please create it with \"ssh-keygen -t dsa\"" | |
exit | |
fi | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[zmack@voltron symbolya (master)]$ git branch -a | |
error: refs/remotes/braid/vendor/plugins/thinking-sphinx/HEAD points nowhere! | |
error: refs/remotes/braid/vendor/plugins/haml/HEAD points nowhere! | |
error: refs/remotes/braid/vendor/plugins/will-paginate/HEAD points nowhere! | |
error: refs/remotes/braid/thinking-sphinx/HEAD points nowhere! | |
* master | |
nobraid | |
braid/vendor/plugins/HEAD | |
braid/vendor/plugins/master | |
origin/HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77926866331 |
OlderNewer