Skip to content

Instantly share code, notes, and snippets.

View kuno's full-sized avatar

kuno kuno

View GitHub Profile
# this will install everything as root, so take that into account before you run it
# need cmake, python development headers, ZLib and OpenSSL
sudo apt-get install cmake python2.7-dev zlib1g-dev libssl-dev
mkdir libgit && cd libgit
git clone git://github.com/libgit2/libgit2.git
cd libgit2
@kuno
kuno / openresty.sh
Last active December 31, 2015 17:19
Dowloading, building, installing openresty from source
#!/bin/bash
VERSION=1.4.3.9
echo '[CMD] Install dependencies'
sudo apt-get install -y libreadline-dev libncurses5-dev libpcre3-dev libssl-dev perl make
echo '[CMD] Downlaod openresty'
wget http://openresty.org/download/ngx_openresty-${VERSION}.tar.gz
echo '[CMD] Build openresty'
[
{
"name": "46elks",
"description": [
"Allows Hubot to send text messages using 46elks.com API."
],
"dependencies": [],
"configuration": {
"description": [
"HUBOT_46ELKS_USERNAME",
@kuno
kuno / featired_scripts_docs.json
Last active August 29, 2015 13:57
Featured scripts docs
{
"misc": [
{
"name": "redis-brain",
"description": [],
"dependencies": [
{
"name": "redis",
"version": "~0.10.1"
}
- certain endpoints are always blocked
if nginx_uri == "/_access_token" or nginx_uri == "/_me" then
ngx.exit(403)
end
-- import requirements
local cjson = require "cjson"
-- setup some app-level vars
local app_id = "APP_ID"
@kuno
kuno / apache.html
Created April 1, 2014 07:50
Converted from apache yaml file
<!DOCTYPE html>
<html>
<head>
<title>apache document</title>
</head>
<body>
<h1>apache</h1>
<h2> Some text docs </h1>
<ul>
@kuno
kuno / hubot.log
Last active August 29, 2015 13:58
hubot logs
{"hubot":"b0ee3f90-beec-11e3-9198-ef9371f6a8ba","level":"debug","body":"Unavailability received for makara","timestamp":1396942345698}
{"hubot":"b0ee3f90-beec-11e3-9198-ef9371f6a8ba","level":"debug","body":"Availability received for makara","timestamp":1396942347053}
{"hubot":"b0ee3f90-beec-11e3-9198-ef9371f6a8ba","level":"debug","body":"Availability received for makara","timestamp":1396942347168}
{"hubot":"b0ee3f90-beec-11e3-9198-ef9371f6a8ba","level":"debug","body":"Received message: I need you and @kuno to tell me what we get from the backend for the bot in room: [email protected], from: hunvreus","timestamp":1396942356356}
{"hubot":"b0ee3f90-beec-11e3-9198-ef9371f6a8ba","level":"debug","body":"Received message: including an excerpt of the logs we could get from chato.ps in room: [email protected], from: hunvreus","timestamp":1396942371609}
{"hubot":"b0ee3f90-beec-11e3-9198-ef9371f6a8ba","level":"debug","body":"Received message: I can get the whole thing designed by tomorrow in
@kuno
kuno / sample.yaml
Last active August 29, 2015 14:00
A brain storm for a meta yaml file to describe a hubot script.
name: "github-activity"
description: "some description text"
conflicts:
- githubot-activity-1
- githubot-activity-2
dependencies:
- name: "date-utils"
version: ">=1.2.5"
- name: "githubot"
version: "0.4.x"

Author: Sean Gillies Version: 1.0

Abstract

This document describes a GeoJSON-like protocol for geo-spatial (GIS) vector data.

Introduction

@kuno
kuno / test.geojson
Created June 18, 2014 04:06
ADM0 of Afghanistan
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.