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
| commit bab65fe3b85eb778af9e8029252f62c630a061ab | |
| Author: Sylvain Zimmer <sylvain@sylvainzimmer.com> | |
| Date: Tue Dec 7 21:10:26 2010 +0100 | |
| Fix CMakeList IFs to allow building on cmake 2.4.6 OS X 10.6 | |
| diff --git a/CMakeLists.txt b/CMakeLists.txt | |
| index 8fe8b72..15d2700 100644 | |
| --- a/CMakeLists.txt | |
| +++ b/CMakeLists.txt |
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
| class Jamendo_ShortCodes { | |
| /************************************************************* | |
| * Shortcodes | |
| *************************************************************/ | |
| function _sh_getid($attrs) { | |
| if (!empty($attrs[0])) { | |
| return intval($attrs[0]); |
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
| from fabric.api import * | |
| import os,shutil,re,sys | |
| def test_all(): | |
| with show('everything'): | |
| local("echo '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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
| In my main file: | |
| requirejs.config({ | |
| nodeRequire: require, | |
| paths:{ | |
| "datajslib":path.resolve("./datajslib.js") | |
| } | |
| }); | |
| requirejs(["./databases/"+req.params.db+"/"+req.params.collection],function(DB) { |
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
| exports.getCode = function(db,col,options,cb) { | |
| mktemp("optimizedbuild",function(err,tmpfile) { | |
| if (err) return cb(err); | |
| var config = { | |
| baseUrl: path.resolve(__dirname,'../../'), | |
| name: "./databases/"+db+'/'+col, | |
| out: tmpfile, |
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 requirejs = require("requirejs"); | |
| requirejs.config({ | |
| nodeRequire: require, | |
| baseUrl: "./" | |
| }); | |
| requirejs(["./app/path2"],function(p2) { |
OlderNewer