This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
. ${HOME}/.config/yabai/lib/constants.sh | |
# load scripting additions | |
sudo /usr/local/bin/yabai --load-sa | |
yabai -m signal --add event=dock_did_restart action="sudo /usr/local/bin/yabai --load-sa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 8333, | |
"pid": 87986, | |
"app": "zoom.us", | |
"title": "Login", | |
"frame": { | |
"x": 456, | |
"y": 242, | |
"w": 880, | |
"h": 660 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Tue, 29 Dec 2009 15:59:13 GMT] [error] [<0.488.0>] {error_report,<0.22.0>, | |
{<0.488.0>,crash_report, | |
[[{pid,<0.488.0>}, | |
{registered_name,[]}, | |
{error_info, | |
{error,badarg, | |
[{re,split,[undefined,"(?<=})\\s*,\\s*(?={)",[{return,list}]]}, | |
{couch_httpd,make_arity_1_fun_list,1}, | |
{couch_httpd,handle_request,5}, | |
{mochiweb_http,headers,5}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace(:branch) do | |
desc("show status of each branch") | |
task(:status_all) do | |
puts "Updating remote" | |
`git remote update` | |
x = `git br -a | grep -v remotes | tr -d ' ' | tr -d '*'` | |
y = x.split | |
goodbranchcount = 0 | |
badbranchcount = 0 | |
y.each do |thisbranch| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute "postfix-aliases" do | |
command "/usr/bin/newaliases" | |
creates "/etc/mail/aliases.db" | |
action :nothing | |
end | |
remote_file "/etc/mail/aliases" do | |
source "aliases" | |
mode "0644" | |
notifies :run, resources(:execute => "postfix-aliases"), :immediately |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute "update-ubuntu" do | |
command "apt-get update -y;apt-get upgrade -y" | |
action :nothing | |
end | |
remote_file "/etc/apt/sources.list" do | |
source "sources.list" | |
mode "0755" | |
owner "root" | |
group "root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merb : worker (port 4000) ~ Started request handling: Fri Nov 20 02:19:58 +0000 2009 | |
merb : worker (port 4000) ~ Routed to: {"format"=>nil, "action"=>"show", "id"=>"domU-12-31-39-03-49-96_compute-1_internal", "controller"=>"chef_server_slice/openid_register"} | |
merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"show", "id"=>"domU-12-31-39-03-49-96_compute-1_internal", "controller"=>"chef_server_slice/openid_register"} | |
~ Sending HTTP Request via GET to /chef/openid_registration_domU-12-31-39-03-49-96_compute-1_internal | |
~ #<Chef::OpenIDRegistration:0xb6c44d3c @couchdb=#<Chef::CouchDB:0xb6c44b5c @rest=#<Chef::REST:0xb6c44ae4 @cookies={}, @url="http://localhost:5984">>, @password="cae674779a1c68175364de2fc09061bb7fc3fee1", @couchdb_rev="1-2614451b4e40c9ce8a5e4379212ef3e4", @salt="Thu Nov 19 23:56:51 +0000 2009jQFGf3qvoz4pW4fKX6mjw7D2YRSRq5", @admin=false, @name="domU-12-31-39-03-49-96_compute-1_internal", @validated=false> | |
merb : worker (port 4000) ~ {:before_filters_time=>5.9e-05, :action_time=>0.004 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error" (Net::HTTPFatalError) | |
from /usr/lib/ruby/1.8/chef/rest.rb:233:in `run_request' | |
from /usr/lib/ruby/1.8/chef/rest.rb:95:in `post_rest' | |
from /usr/lib/ruby/1.8/chef/client.rb:243:in `authenticate' | |
from /usr/lib/ruby/1.8/chef/client.rb:79:in `run' | |
from /usr/lib/ruby/1.8/chef/application/client.rb:186:in `run_application' | |
from /usr/lib/ruby/1.8/chef/application/client.rb:178:in `loop' | |
from /usr/lib/ruby/1.8/chef/application/client.rb:178:in `run_application' | |
from /usr/lib/ruby/1.8/chef/application.rb:57:in `run' | |
from /usr/bin/chef-client:25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this is the error I get. | |
/srv/chef/cookbooks/system/libraries/add_env_var.rb:1:in `system': wrong number of arguments (ArgumentError) | |
Module system | |
def add_env_var(variable, path) | |
envfile = "/etc/profile.d/99generic.sh" | |
foundvar = false | |
arr = IO.readlines( envfile ) if File::exists?( envfile ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is in my attributes file. | |
case fqdn | |
when "goofy.hosted.exlibrisgroup.com" | |
set[:monitoring][:services] = "goofy_service" | |
when "ldaptest1.hosted.exlibrisgroup.com" | |
set[:monitoring][:services] = "ldaptest1_service" | |
else | |
set[:monitoring][:services] = "other_service" | |
end |
NewerOlder