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/bin/env python | |
from flask import Flask, make_response, request | |
from sqlalchemy import create_engine | |
app = Flask(__name__) | |
engine = create_engine('postgresql://eventcaptureuser:postgres@localhost/event', | |
pool_size=100, max_overflow=0) | |
@app.route("/capture", methods=['POST']) | |
def capture(): |
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
node 'render.local' { | |
require core | |
include pdftoolbox | |
include tet | |
include nginx | |
include uwsgi | |
include sensu | |
} |
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
Facter.add("is_vagrant") do | |
setcode do | |
vagrant = false | |
if File.exist? "/home/vagrant" | |
vagrant = true | |
end | |
vagrant | |
end | |
end |
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
defmodule ElxWebserver do | |
use Foo | |
use Foo.Bar | |
def indentation_screwed() | |
end |
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
iex(1)> x = [1,2,3] | |
[1, 2, 3] | |
iex(2)> x = [4,5,6] | |
[4, 5, 6] | |
iex(3)> ^x = [1,2,3] | |
** (MatchError) no match of right hand side value: [1, 2, 3] |
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
-- | |
-- xmonad example config file for xmonad-0.9 | |
-- | |
-- A template showing all available configuration hooks, | |
-- and how to override the defaults in your own xmonad.hs conf file. | |
-- | |
-- Normally, you'd only override those defaults you care about. | |
-- | |
-- NOTE: Those updating from earlier xmonad versions, who use | |
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar |
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
--with-cc-opt='-g | |
-O2 | |
-fstack-protector | |
--param=ssp-buffer-size=4 | |
-Wformat | |
-Wformat-security | |
-Werror=format-security | |
-D_FORTIFY_SOURCE=2' | |
--with-ld-opt='-Wl,-Bsymbolic-functions | |
-Wl,-z,relro' |
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
method | |
key1: val1 | |
key2: val2 | |
, arg2 |
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
// Generated by CoffeeScript 1.6.3 | |
(function() { | |
method({ | |
key1: val1, | |
key2: val2 | |
}, arg2); | |
}).call(this); |
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
There are errors in the configuration of this machine. Please fix | |
the following errors and try again: | |
VagrantPlugins::Puppet::Config::PuppetServer: | |
* The following settings shouldn't exist: client_cert_path, client_private_key_path |
OlderNewer