I hereby claim:
- I am ryanmoon on github.
- I am ryanmoon (https://keybase.io/ryanmoon) on keybase.
- I have a public key whose fingerprint is 6A1C 0765 20D6 35A3 3115 441F 55FD D570 5FEF 3288
To claim this, I am signing this object:
<?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> | |
<!-- Globals --> | |
<key>autorun</key> | |
<string>WORKFLOW</string> | |
<key>autorun_time</key> | |
<integer>300</integer> | |
<key>default_workflow</key> |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
#################### | |
# Automount Fixer | |
#################### | |
# Install outset | |
# Place this script with an .sh in /usr/local/outset/boot-every | |
# Automount problems solved-ish | |
# Ryan Moon | |
# Diskutil value should be set to your ideal value from the output of diskutil list | wc -l | |
# San_name should be set to the name of your SAN |
#!/bin/bash | |
### | |
# Outset script for commands to run at boot-every and set power settings | |
### | |
pmset repeat wakeorpoweron MTWRFSU 7:00:00 | |
pmset -a displaysleep <%= @displaysleep %> halfdim 1 | |
pmset -a disksleep 0 | |
pmset -a sleep 0 |
Add a trigger in Iterm2>Prefernces>Advanced>Triggers
(Those who have paid for Growl can simply use the growl action)
regex: #done#
action: run a command
arguments: /usr/local/bin/notify "Done" (ensure that you've copied the script to that location and made it executable)
;; cljsbuild warnings | |
^WARNING:.* ;; yellow on black | |
;; cljs.test in phantom-js errors, i.e. "ReferenceError: Can't find variable: React" | |
^\w*rror:.* ;; red foreground | |
;; test success, failures, errors (red/green bar) | |
0 (errors|failures).* ;; green background | |
(?!0)\d+ (errors|failures).* ;; red background |
1. Install: https://github.com/julienXX/terminal-notifier | |
2. Have iterm2: https://www.iterm2.com/ | |
3. In iterm2, setup a trigger on your "Profile" => "Advanced" => "Triggers", like | |
https://www.evernote.com/l/AAX11ukjn5pDSYrbR54z_vNJuv-U6jyU6BAB/image.png | |
Where regexp is: "Deployment .+ for .+ on deployment id .*" | |
and params are "/usr/local/bin/terminal-notifier -title "Deployment finished" -message "\0" | |
4. That should do it. You can test it out by running: | |
sleep 5 && echo "Deployment succeeded for Peach-API on deployment id d-GXY9RDCGB |
AllCops: | |
Exclude: | |
- vendor/**/* | |
- Guardfile | |
AlignParameters: | |
Enabled: false | |
ClassLength: | |
Enabled: false | |
CyclomaticComplexity: |
guard "foodcritic", :cookbook_paths => ".", :all_on_start => false, :cli => "--epic-fail any" do | |
watch(%r{attributes/.+\.rb$}) | |
watch(%r{providers/.+\.rb$}) | |
watch(%r{recipes/.+\.rb$}) | |
watch(%r{resources/.+\.rb$}) | |
watch(%r{^templates/(.+)}) | |
watch('metadata.rb') | |
end | |
notification :terminal_notifier |