Delete all remote branches matching hotfix
git branch -r | grep hotfix | sed 's/origin\///' | xargs -I {} git push origin :{}
/* Better styles for embedding GitHub Gists */ | |
.gist{font-size:13px;line-height:18px;margin-bottom:20px;width:100%} | |
.gist pre{font-family:Menlo,Monaco,'Bitstream Vera Sans Mono','Courier New',monospace !important} | |
.gist-meta{font-family:Helvetica,Arial,sans-serif;font-size:13px !important} | |
.gist-meta a{color:#26a !important;text-decoration:none} | |
.gist-meta a:hover{color:#0e4071 !important} |
<h1>Alert</h1> | |
<p>Bootstrap JS</p> | |
<div class="alert fade in"> | |
<button type="button" class="close" data-dismiss="alert">×</button> | |
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. | |
</div> | |
<p></p><a ng-click="alert=true">Open Alert (AngularJS)</a></p> | |
<div class="alert fade" ng-class="{in:alert}"> | |
<button type="button" class="close" ng-click="alert=false">×</button> |
{ | |
"directory": "bower_components", | |
"json": "bower.json" | |
} |
--- | |
# This has been tested with ansible 1.3 with these commands: | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false" | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true" | |
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts" | |
# NB: The type of the variable is crucial! | |
- name: Ansible Conditionals Examples | |
hosts: $hosts | |
vars_files: |
Scan for access points (run multiple times for more complete scan):
# connmanctl scan wifi
Scan completed for wifi
Controlling your nodebot using a USB cable is great and all, and obviously you could shell out and grab a sparkcore or some other dedicated controller but what if you've got a standard arduino and you want to take an existing nodebot wireless?
Bluetooth is an option and there's this excellent JohnnyFive wiki entry that will help you there. Bluetooth can be a bit flaky though and it's range is pretty lousy. You can also look at things like XBees and what not using point to point serial, but these are expensive and very fiddly to get working.
Really, what we want is a method of transferring data over a nice, simple, standard method, requiring little configuration, low cost and we can utilise a whole stack of the code we've already produced.
Enter the WiFi232 module. These little beauties are [available from AliExpress for $12 each](http://www.aliexpress.com/item/USR-WIFI232-T-wifi-to-uart-tt
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# *** Documentation Links | |
Documentation list: https://communities.intel.com/community/makers/edison/documentation/content | |
Edison Guide: https://communities.intel.com/docs/DOC-23158 | |
Mini Breakout Guide: https://communities.intel.com/docs/DOC-23252 | |
Mini Breakout Schematic: https://communities.intel.com/docs/DOC-23323 | |
Mini Breakout BoM: https://communities.intel.com/docs/DOC-23322 | |
Arduino Breakout Guide: https://communities.intel.com/docs/DOC-23161 | |
Arduino Breakout Schematic: https://communities.intel.com/docs/DOC-23309 | |
Arduino Breakout BoM: https://communities.intel.com/docs/DOC-23308 | |
BSP Guide (yocto build environment): https://communities.intel.com/docs/DOC-23159 |
--- | |
# | |
# Ansible playbook: install Mosquitto from PPA on Ubuntu v201502131346 | |
# Louis T. Getterman IV (@LTGIV) | |
# www.GotGetLLC.com / www.opensour.cc | |
# | |
# Thanks to @jpmens for insight on cert locations ( https://twitter.com/jpmens/status/565513595644313600 ) | |
# | |
# Example Usage: | |
# [user@host ~$] ansible-playbook /etc/ansible/playbooks/ubuntu-mosquitto.yml --extra-vars 'target=nameFromHostsFile' |