I hereby claim:
- I am BretFisher on github.
- I am bretfisher (https://keybase.io/bretfisher) on keybase.
- I have a public key whose fingerprint is 3356 2888 3C9F 74C4 8772 B7EA E698 7430 7C9B 2417
To claim this, I am signing this object:
// run this http-proxy npm package on same server as your meteor app | |
// I use demeteorizer to turn meteor bundle into full node app | |
// I use forever to run the meteor app and this app on same server | |
// only npm needed is http-proxy from nodejitsu | |
var fs = require("fs"); | |
var httpProxy = require('http-proxy'); | |
httpProxy.createServer({ | |
target: { |
// lets complain to server command line if you forgot --settings when running Meteor | |
Meteor.startup(function () { | |
if (Meteor.isServer) { | |
if (Object.keys(Meteor.settings).length === 0) { | |
console.log("You forgot to run Meteor with --settings!"); | |
} | |
} | |
}); |
" Example: https://github.com/flipxfx/sVim#svimrc-example | |
" This https://gist.github.com/BretFisher/9a77c850d5816a9b184e | |
let blacklists = ["*://app.datadoghq.com/*", "*://checkvist.com/*", "*://mail.google.com/*"] |
#!/bin/sh | |
# install various tools and apps on a fresh Mac | |
# symlink dotfiles | |
source dotfiles.sh | |
# set mac defaults | |
source osxdefaults.sh |
I'm a big fan of Dyn.com's free [Internet Guide][1] which takes all the work out of a content filter. NO SOFTWARE ON YOUR SERVERS. I consider them a very trustworthy company since I've been buying their products for over a decade with no issues to speak of. | |
1. create an account on their site | |
2. setup a policy using their Barracuda engine for which categories you want to block | |
3. tell them your external static router IP so they know who you are | |
4. Change the forwarders on your internal DNS server (or router) to use their DNS IP's for lookups | |
5. All clients are blocked at the DNS level and it only took you an hour (at most) to setup | |
A savy user could change their DNS to use another Internet DNS but you could block that access on port 53 if your firewall has egress filtering. |
{ | |
"cmd": ["C:\\WINDOWS\\Microsoft.NET\\Framework\\v4.0.30319\\csc.exe", "$file"], | |
"working_dir": "${project_path:${folder:${file_path}}}", | |
"file_regex": "^(...*?)[(]([0-9]*),([0-9]*)[)]", | |
"selector": "source.cs" | |
} |
I hereby claim:
To claim this, I am signing this object:
# Ubuntu upstart file at /etc/init/mms-agent.conf | |
description "MongoDB Monitoring Service (MMS) Agent" | |
pre-start script | |
mkdir -p /var/log/mms-agent/ | |
end script | |
post-stop script | |
echo "$(date +'%Y-%m-%d %T,000') INFO mms-agent stopped" >> /var/log/mms-agent/agent.log |