I hereby claim:
- I am michaelermer on github.
- I am michaelermer (https://keybase.io/michaelermer) on keybase.
- I have a public key ASB5Q_Vjebxx645e9MXd4We4o__omDX3SgCDXotxiMOLIgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This gist explains how to use the new app hooks with a generator project to secure all services. (All but login~)
https://blog.feathersjs.com/feathers-application-and-error-hooks-7a5982e70024#.fmmyo0thh
npm install --save feathers-hooks@1.6.0
(?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t] | |
)+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?: | |
\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:( | |
?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ | |
\t]))*"(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\0 | |
31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\ | |
](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\".\[\] \000-\031]+ | |
(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\["()<>@,;:\\".\[\]]))|\[([^\[\]\r\\]|\\.)*\](?: | |
(?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\".\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t])+|\Z | |
|(?=[\["()<>@,;:\\".\[\]]))|"(?:[^\"\r\\]|\\.|(?:(?:\r\n)?[ \t]))*"(?:(?:\r\n) |
var d = document, | |
// ID of the TAG (also used in the src) | |
t = 'demo', | |
// get our ad tag as dom element | |
// currentScript works for every browser but IE | |
// in IE we try to get our tag by id | |
p = d.currentScript || d.getElementById(t); | |
// FALLBACK for IE, if no id was set on the tag or tag is "used" | |
if (!p || p.hasAttribute("data-placed")) { |
#!/usr/bin/ruby | |
require 'net/https' | |
require 'json' | |
slack_webhook_url="" | |
slack_enabled=true | |
def log(message) | |
open('/var/log/monit.log', 'a') { |f| |