Skip to content

Instantly share code, notes, and snippets.

View ctalkington's full-sized avatar

Chris Talkington ctalkington

View GitHub Profile
@ctalkington
ctalkington / package.json
Last active December 18, 2015 05:39
ref ctalkington/node-archiver #29
{
"name": "test",
"dependencies" : {
"formidable": "~1.0.14",
"prettysize": "~0.0.2",
"archiver": "~0.4.3"
}
}
@ctalkington
ctalkington / README.md
Last active March 21, 2020 09:27
Observium BIND Unix Agent

Observium BIND 9.6 Unix Agent

This collection of scripts is designed for BIND 9.6+ and the SVN version of Observium. Only tested on one machine at this point in time so YMMV.

Files

  • agent-local -> scripts/agent-local/bind
  • app-bind.inc.php -> html/pages/device/apps/bind.inc.php
  • graph-bind_queries.inc.php -> html/includes/graphs/application/bind_queries.inc.php
  • graph-bind_queries_by_type.inc.php -> html/includes/graphs/application/bind_queries_by_type.inc.php
@ctalkington
ctalkington / Gemfile
Last active May 16, 2023 20:19
Nginx, Sinatra, and Puma.
source :rubygems
gem "puma"
gem "sinatra"
@ctalkington
ctalkington / jquery.leanmodal.js
Created November 17, 2012 07:20
leanModal with escape and more
(function($){
$.fn.extend({
leanModal: function(options) {
var defaults = {
top: 100,
overlay: 0.5,
closeButton: null,
escapeClose: true,
clickClose: true
};
@ctalkington
ctalkington / grunt.js
Created September 12, 2012 02:44
Grunt Glob to Multi Files Object
// gruntfile dropin used to build a grunt files object with 1:1 structure
function globToMultiFiles(glob, dest, options) {
var path = require('path');
grunt.util = grunt.util || grunt.utils;
dest = grunt.template.process(dest);
options = grunt.util._.defaults(options || {}, {
cwd: '',