Skip to content

Instantly share code, notes, and snippets.

@timstott
timstott / schema-registry.properties
Created Nov 5, 2015
schema-registry.properties
View schema-registry.properties
port=8081
kafkastore.connection.url=localhost:2181
kafkastore.topic=_schemas
debug=true
kafkastore.timeout.ms = 30000
@timstott
timstott / basicNodeServer.js
Created Sep 19, 2015
Basic node.js server
View basicNodeServer.js
#!/usr/bin/env node
var http = require('http');
// Port to listen on
const PORT=8085;
// Function handling request and response
function handleRequest(request, response){
console.log(request);
@timstott
timstott / com.timstott.hamachi.plist
Created Aug 15, 2015
LogMeIn Hamachi Login Job
View com.timstott.hamachi.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.timstott.hamachi</string>
<key>ProgramArguments</key>
<array>
<string>hamachi</string>
<string>login</string>
View gelf.json
{
"version":"1.1",
"host":"example.com",
"short_message":"GET /ok?username=yoshi",
"timestamp":"1450171805.123",
"level":6,
"_event":"request",
"_service.name":"marketplace",
"_service.version":"9d0783c",
"_request.method":"GET",
View cheatsheets.md

Dev Cheat Sheets

Personal collection of commands and snippets that just won't stay in my head.