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 app = require(process.cwd() + '/app'); | |
var winston = require('winston'); | |
var _ = require('lodash'); | |
// Set up logger | |
var customColors = { | |
trace: 'white', | |
debug: 'green', | |
info: 'green', | |
warn: 'yellow', |
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
// Checks if the actual object is of the expected type; | |
// the string `expected` is handled case-insensitively. | |
// | |
// Example: | |
// expects(123).toBeTypeOf("Number"); | |
jasmine.Matchers.prototype.toBeTypeOf = function(expected) { | |
var actual = this.actual, | |
notText = this.isNot ? ' not' : '', | |
objType = actual ? Object.prototype.toString.call(actual) : ''; | |
this.message = function() { |
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
#ifndef BOOST_NETWORK_UTILS_BASE64_ENCODE_HPP | |
#define BOOST_NETWORK_UTILS_BASE64_ENCODE_HPP | |
#include <boost/range/begin.hpp> | |
#include <boost/range/end.hpp> | |
#include <algorithm> | |
#include <iterator> | |
#include <string> | |
namespace boost { |
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
/** | |
* beautify_oscript.lxe - A code beautifier for OpenText Content Server OScript | |
* | |
* This script will beautify your OScript. Copy to a file within opentext/scripts/ | |
* (e.g., opentext/scripts/beautify_oscript.lxe), restart Builder, place the focus on a | |
* script window, and run from the Tools menu. | |
* | |
* Some coding conventions assumed. Use at your own risk. | |
* | |
* Christopher Meyer (chris@schwiiz.org) |
NewerOlder