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
<?php | |
namespace SparkLib\HazmatClassifier; | |
use \Exception; | |
use \SparkLib\HazmatClassifier\LiIonBattery, | |
\SparkLib\HazmatClassifier\LiMetalBattery; | |
abstract class Battery { | |
// Battery chemistries | |
const LI_ION = 1; |
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
# Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie | |
# NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored | |
## Robot module configurations : general handling of movement G-codes and slicing into moves | |
# Basic motion configuration | |
default_feed_rate 4000 # Default speed (mm/minute) for G1/G2/G3 moves | |
default_seek_rate 4000 # Default speed (mm/minute) for G0 moves | |
mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable | |
#mm_per_line_segment 5 # Cut lines into segments this size | |
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable |
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
[box@rapidseedbox cloudbox]$ sudo ansible-playbook cloudbox.yml -vv --tags cloudbox | tee ~/out.txt | |
ansible-playbook 2.5.14 | |
config file = /home/box/cloudbox/ansible.cfg | |
configured module search path = [u'/home/box/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible | |
executable location = /usr/local/bin/ansible-playbook | |
python version = 2.7.15+ (default, Nov 27 2018, 23:36:35) [GCC 7.3.0] | |
Using /home/box/cloudbox/ansible.cfg as config file | |
statically imported: /home/box/cloudbox/roles/sanity_check/tasks/sanity_check_system.yml | |
statically imported: /home/box/cloudbox/roles/sanity_check/tasks/sanity_check_tags.yml |
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
ansible-playbook 2.5.14 | |
config file = /home/box/cloudbox/ansible.cfg | |
configured module search path = [u'/home/box/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible | |
executable location = /usr/local/bin/ansible-playbook | |
python version = 2.7.15+ (default, Nov 27 2018, 23:36:35) [GCC 7.3.0] | |
Using /home/box/cloudbox/ansible.cfg as config file | |
setting up inventory plugins | |
Set default localhost to localhost | |
Parsed /home/box/cloudbox/inventories/local inventory source with ini plugin |
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
root@rapidseedbox:~/cloudbox# sudo apt-get install linux-headers-$(uname -r) | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Note, selecting 'linux-headers-4.15.0-1043-aws' for regex 'linux-headers-4.15.0' | |
Note, selecting 'linux-headers-4.15.0-1037-aws' for regex 'linux-headers-4.15.0' | |
Note, selecting 'linux-headers-4.15.0-32-generic' for regex 'linux-headers-4.15.0' | |
Note, selecting 'linux-headers-4.15.0-55-lowlatency' for regex 'linux-headers-4.15.0' | |
Note, selecting 'linux-headers-4.15.0-1010-kvm' for regex 'linux-headers-4.15.0' | |
Note, selecting 'linux-headers-4.15.0-1041-aws' for regex 'linux-headers-4.15.0' |
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
vec3_t new_point = { .x = x, .y = y, .z = z }; | |
cube_points[0] = new_point; | |
// vs | |
cube_points[0] = { .x = x, .y = y, .z = z }; |