Skip to content

Instantly share code, notes, and snippets.

View toman's full-sized avatar

Joseph Toman toman

  • Lillibolero Inc
  • Cottage Grove OR
View GitHub Profile
@toman
toman / policy.json
Created January 24, 2019 06:58 — forked from davidmerrick/policy.json
S3 Bucket policy to restrict access only to CloudFlare IPs
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name/*",
"Condition": {
@toman
toman / org.orientdb.orientdb.plist
Created August 28, 2015 22:57
Plist for starting OrientDB at boot time on OS X
<?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>org.orientdb.orientdb</string>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>