Skip to content

Instantly share code, notes, and snippets.

cam-stitt / main.sentinel
Last active May 6, 2020
Simple Sentinel
View main.sentinel
# This policy will always fail
import "foo"
main = foo.truthy()

Keybase proof

I hereby claim:

  • I am cam-stitt on github.
  • I am cam_stitt ( on keybase.
  • I have a public key ASCMVG5K1iCkZjbIiFuvitNcIQNW4_SNqZ4GnnxzF5RrgQo

To claim this, I am signing this object:

cam-stitt / Theme.txt
Created Jul 2, 2019
Solarized Slack Theme
View Theme.txt


sudo apt-get install -y autoconf automake libtool


brew install autoconf automake libtool
cam-stitt / example.proto
Last active Mar 6, 2017
GRPC Healthcheck
View example.proto
syntax = "proto3";
package example;
message HealthCheckRequest {
string service = 1;
message HealthCheckResponse {
enum ServingStatus {
source /dev/stdin <<< $(curl -sSL"
go get
glide install
rsync -razC vendor/ $GOPATH/src/
cam-stitt / base.html
Created Oct 16, 2014
Example For Block Rendering
View base.html
<!DOCTYPE html>
<html lang="en">
<meta name="csrf-token" content="{{ csrf_token() }}">
{% block styles %}{% endblock %}
{% block scripts %}{% endblock %}
View config.cson
'userId': '470e2e69-cec8-36bf-090a-65c0ddd4caa4'
'viewedVersion': '0.92.0'
'showOnStartup': false
'userId': '2a39f9310c56400683f32f985736d69eb16fde65'
'fontFamily': 'Ubuntu Mono'
cam-stitt /
Created Feb 24, 2014
A SQLAlchemy field to process "tags"
from unittest import TestCase
from sqlalchemy.types import TypeDecorator, VARCHAR
class Tags(TypeDecorator):
impl = VARCHAR
def process_bind_param(self, value, dialect):
if value is None: