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
# Config file for collectd(1). | |
# | |
# Some plugins need additional configuration and are disabled by default. | |
# Please read collectd.conf(5) for details. | |
# | |
# You should also read /usr/share/doc/collectd-core/README.Debian.plugins | |
# before enabling any more plugins. | |
#Hostname "localhost" | |
FQDNLookup true |
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
require "language/go" | |
class Devd < Formula | |
desc "A http daemon for local development" | |
homepage "https://github.com/cortesi/devd" | |
url "https://github.com/cortesi/devd/archive/v0.1.tar.gz" | |
version "0.1" | |
sha256 "7ea5251b951159e0e58f314f7b46ed0d97788a19aa0aef6fdfb0f1f87dd8a98e" | |
head "https://github.com/cortesi/devd/devd.git" |
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
exports.default = { | |
logger: function(api) { | |
var logger = { | |
transports: [] | |
}; | |
logger.transports.push(function(api, winston) { | |
return new(winston.transports.Console)({ | |
colorize: true, |
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
> $ npm start ⬡ 4.2.1 | |
> [email protected] start /Users/coonrod/dev/node/winston-test | |
> node index.js | |
2016-01-07T20:59:32.426Z - info: Logger initialized, standard log levels. | |
2016-01-07T20:59:32.429Z - info: Testing syslog levels. Info through emerg should be visible. | |
Attempting level trace | |
Attempting level debug | |
Attempting level info |
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/local/bin/ruby | |
require 'open3' | |
require 'optparse' | |
require 'sqlite3' | |
require 'terminal-table' | |
db = SQLite3::Database.new 'timing.db' | |
options = {} | |
options[:ds_directory] = 'BUILD_DIR' |
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
// Actionhero Action | |
const {Action, api} = require('actionhero') | |
module.exports = class GetUser extends Action { | |
constructor () { | |
super() | |
this.name = 'getUser' | |
this.description = 'Get a user by their ID.' | |
this.inputs = { | |
id: { |
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
diff --git a/src/actions/errors.ts b/src/actions/errors.ts | |
new file mode 100644 | |
index 00000000..163eda37 | |
--- /dev/null | |
+++ b/src/actions/errors.ts | |
@@ -0,0 +1,31 @@ | |
+import { Action } from "./../index" | |
+ | |
+export class TestError extends Action { | |
+ constructor() { |