This file contains 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
root@server-2:~/vertexdb# ./bin/compile2 | |
source/basekit/source/UArray_character.c: In function ‘UArray_isalpha’: | |
source/basekit/source/UArray_character.c:16: warning: overflow in implicit constant conversion | |
source/basekit/source/UArray_character.c:16: warning: overflow in implicit constant conversion | |
source/basekit/source/UArray_character.c: In function ‘UArray_isdigit’: | |
source/basekit/source/UArray_character.c:18: warning: overflow in implicit constant conversion | |
source/basekit/source/UArray_character.c:18: warning: overflow in implicit constant conversion | |
source/basekit/source/UArray_character.c: In function ‘UArray_isgraph’: | |
source/basekit/source/UArray_character.c:19: warning: overflow in implicit constant conversion | |
source/basekit/source/UArray_character.c:19: warning: overflow in implicit constant conversion |
This file contains 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
/* | |
Script: mJSON.js | |
JSON encoder and decoder. | |
License: | |
MIT-style license. | |
See Also: | |
<http://www.json.org/> |
This file contains 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
#!/usr/bin/env ruby | |
# send request on website every 10 seconds | |
# checks request time and show growl notify and tell you by `say` if response time is more then 2 seconds | |
require 'rubygems' | |
require 'httparty' | |
require 'growl' |
This file contains 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
... | |
# including fix manualy, becouse loading lib/**/*.rb happends in Padrino.load! | |
require "lib/reloader_fix" | |
Padrino::Reloader::Stat.skip_folders = %W{photos utilites vertex-lib importers} | |
Padrino.load! |
This file contains 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
Pavel:vertexdb pavel$ cmake . | |
-- Found TokyoCabinet: /usr/local/lib/libtokyocabinet.dylib | |
-- Found Yajl: /usr/local/lib/libyajl.dylib | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/pavel/Sites/vertexdb | |
Pavel:vertexdb pavel$ make | |
[100%] Building C object CMakeFiles/vartextdb.dir/source/main.c.o | |
In file included from /Users/pavel/Sites/vertexdb/source/VertexServer.h:5, |
This file contains 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
new Haml('userbar', function (params, render, use) { | |
with (params) { | |
this.use({ | |
user: user.merge({full_name: user.first_name + ' ' + user.last_name}), | |
session: session | |
}); | |
} | |
This file contains 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
lib 'mootools' do | |
repo 'http://github.com/mootools/mootools-core.git' | |
tag '1.2.4' | |
end | |
lib 'mootools-more' do | |
repo 'http://github.com/mootools/mootools-more.git' | |
tag '1.2.4' | |
end |
This file contains 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
$('some-link').clk(function(el, event) { | |
Footer.render('my-friends', Profile.id); | |
}); | |
var Present = { | |
id: function(present_id, callback){ | |
if (var present = this.getCached(present_id)) { | |
callback(present); | |
} else { | |
this.fetch(present_id, callback); |
This file contains 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 wiget = new Class({ | |
Includes: [Class.MethodMutators], | |
something: function () { | |
return new Element('div'); | |
}.mutator('setter'), | |
onComplete: function () { | |
this.hide(); | |
}.mutator('bind'), |
This file contains 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
class Report | |
class << self | |
attr_accessor :current | |
def store(string) | |
@current ||= new | |
@current.store(string) | |
end | |