Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# Libraries:::::::::::::::::::::::::::::::::::::::::::::::::::::::
require 'rubygems'
require 'sinatra/base'
require 'slim'
require 'sass'
require 'coffee-script'
# Application:::::::::::::::::::::::::::::::::::::::::::::::::::
@azcoov
azcoov / neglect.rb
Last active December 11, 2015 23:09 — forked from gooley/neglect.rb
Sample ruby helper method for the Less Neglect Ruby Gem
# TODO - make sure you have the 'lessneglect' gem installed
# https://github.com/lessneglect/lessneglect-ruby
require 'lessneglect'
class Neglect
def self.api
# TODO - replace with your Less Neglect API credentials
@@api ||= LessNeglectApi::Client.new({
:code => "asdfasdf",
@azcoov
azcoov / README.md
Last active December 11, 2015 01:08 — forked from mbostock/.block
@azcoov
azcoov / lessneglect.lib.php
Created November 13, 2012 20:59 — forked from DeviaVir/lessneglect.lib.php
A PHP library for the lessneglect.com API
<?PHP
Class LN {
// API credentials
private static $api_key = '';
private static $api_secret = '';
// Production (no sandboxed version available yet)
private static $api_url = 'https://lessneglect.com/api/v2/';
// Show debug messages?