- [X] task 1
- [X] task 2
- [ ] task 3
This file contains hidden or 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
| # Refer to CHEF-2815. http://tickets.opscode.com/browse/CHEF-2815 | |
| bash -c ' | |
| <%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> | |
| exists() { | |
| if command -v $1 &>/dev/null | |
| then | |
| return 0 | |
| else |
This file contains hidden or 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
| require 'chef/knife' | |
| module Example | |
| class Knife | |
| class NodeListAll < Chef::Knife::NodeList | |
| deps do | |
| require 'chef/knife/node_list' | |
| end |
-
Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.
-
Reset PS3 controller by inserting paperclip into pinhole near L2 button.
-
Connect PS3 controller to Mac with USB cable.
-
Enable Bluetooth.
This file contains hidden or 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
| # See also: https://github.com/danielsdeleo/knife-plugins/blob/master/key_check.rb | |
| ddeleo@boltzmann chef-oss-dev > knife key check chef-oss-dev-validator .chef/kallistec.pem | |
| ERROR: Mismatch: | |
| ERROR: /Users/ddeleo/opscode-ops/chef-oss-dev/.chef/kallistec.pem is not a valid key for client chef-oss-dev-validator | |
| Public key extracted from private key: | |
| -----BEGIN PUBLIC KEY----- | |
| MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6tIhFprz5efiFF0zogxB | |
| KBkn72n6x9aGbedzPnEG+ZiObyzrH5MeO7aYv51HfLBEozSMxiJxnADCN4Bus0Sr | |
| 8UHYZAKFLCkx67rpZHvl6xggEYHDSmMtUNNBHOQRIIbYi79JZeQTcKQNSzfyltiU |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
This file contains hidden or 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
| // Linux driver for B&K Precision 393 multimeter. | |
| // g++ -Wall -Wextra -std=c++11 -o bk393 bk393.cc | |
| // It currently points to /dev/ttyUSB0, but I'd recommend adding a udev rule to get a consistent device name: | |
| // SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A60198LN", MODE="0664", GROUP="mygroup", SYMLINK+="bk393" | |
| #include <boost/utility.hpp> | |
| #include <array> | |
| #include <iomanip> | |
| #include <cstdio> |
This file contains hidden or 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
| $ cat no-aa-option.patch | |
| diff -ru pdns-recursor-4.2.0.orig/pdns_recursor.cc pdns-recursor-4.2.0/pdns_recursor.cc | |
| --- pdns-recursor-4.2.0.orig/pdns_recursor.cc 2019-07-15 02:32:59.000000000 -0600 | |
| +++ pdns-recursor-4.2.0/pdns_recursor.cc 2019-08-01 07:30:57.003001804 -0600 | |
| @@ -3752,6 +3752,7 @@ | |
| SyncRes::s_maxtotusec=1000*::arg().asNum("max-total-msec"); | |
| SyncRes::s_maxdepth=::arg().asNum("max-recursion-depth"); | |
| SyncRes::s_rootNXTrust = ::arg().mustDo( "root-nx-trust"); | |
| + SyncRes::s_relaxAA = ::arg().mustDo("relax-aa"); | |
| if(SyncRes::s_serverID.empty()) { |
OlderNewer