View Install Node, NVM and NPM with Ansible
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
--- | |
- name: Ensure Node is installed | |
become: no | |
shell: "{{ item }}" | |
with_items: | |
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash | |
- bash -c "source ~/.nvm/nvm.sh && nvm install v8.5.0" | |
- bash -c "source ~/.nvm/nvm.sh && npm i -g npm" |
View KnightRider-more-realistic.ino
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
/** | |
* I recently buy my first Arduino board, and looking for something to build I found | |
* in the Arduino tutorials page a funny KnightRider effect with some leds, I really | |
* love more realistic and accuracy things so... I build this more accurate effect | |
* in the memory of our lovely Michael Knight and KIT! | |
*/ | |
// PWM Pins | |
const int L1 = 2; | |
const int L2 = 3; |
View Test Sami generation comments
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 Sami\Test; | |
/** | |
* Class TestCommentsInBlock | |
* | |
* @package Sami\Test | |
*/ | |
class TestCommentsInBlock |