#https://raspberrypi.stackexchange.com/questions/40839/sap-error-on-bluetooth-service-status
/etc/init.d/bluetooth status
/etc/init.d/bluetooth start
#http://denvycom.com/blog/playing-audio-over-bluetooth-on-rasbperry-pi-command-line/
#https://raspberrypi.stackexchange.com/questions/40839/sap-error-on-bluetooth-service-status
/etc/init.d/bluetooth status
/etc/init.d/bluetooth start
#http://denvycom.com/blog/playing-audio-over-bluetooth-on-rasbperry-pi-command-line/
| #https://ga-dev-tools.appspot.com/query-explorer/ | |
| #https://www.linkedin.com/pulse/how-capture-google-analytics-client-id-custom-dimension-jeremy-hill/ |
| Docker Hacks: | |
| - Use Nvidia-Runtime: --runtime=nvidia | |
| - Delete unused images: | |
| docker images -q |xargs docker rmi | |
| - Detectron Build example: | |
| docker build -t detectron_fb . |
| pragma solidity ^0.4.22; | |
| contract Purchase { | |
| uint public value; | |
| address public seller; | |
| address public buyer; | |
| enum State { Created, Locked, Inactive } | |
| State public state; | |
| // Ensure that `msg.value` is an even number. |
| pragma solidity ^0.4.15; | |
| contract City { | |
| address public owner; // owner of the contract | |
| struct User { // User structure | |
| uint id; | |
| address taker; | |
| string name; | |
| uint monatskosten; |
| pragma solidity ^0.4.15; | |
| import "./Stromanbieter.sol"; | |
| contract SmartCity is Stromanbieter{ | |
| address public owner; // owner of the contract | |
| struct Citizen { // User structure | |
| uint id; | |
| bool exists; |
| while [ 1 ] | |
| do | |
| screencapture -x ~/Desktop/Capture/$(date +%s).jpg | |
| sleep 1 | |
| done |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| const orderMachine = Machine({ | |
| id: 'order', | |
| initial: 'start', | |
| context: | |
| {}, | |
| states: { | |
| start: { | |
| on: {BUSINESS:'business.idle', | |
| CONSUMER:'consumer.idle' |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |