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
| body{ | |
| margin:3em; | |
| background:#59B4C7; | |
| background-image: radial-gradient(rgba(255,255,255,.7) 15%, transparent 16%), radial-gradient(rgba(255,255,255,.7) 15%, transparent 16%); | |
| background-size:30px 30px; | |
| background-position: 0 0, 15px 15px; | |
| } | |
| body *{ | |
| font-family: "Century Gothic", /* Windows (HP printer) */ |
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
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../paper-icon-button/paper-icon-button.html"> | |
| <link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; |
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
| <link rel="import" href="../core-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-field/core-field.html"> | |
| <link rel="import" href="../core-icon/core-icon.html"> | |
| <link rel="import" href="../core-input/core-input.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> |
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
| #!/bin/bash | |
| # | |
| #============================================= | |
| ## SYNC DESTINATION WITH SRC FILES & DB | |
| ## uses rsync and mysqldump to copy files to | |
| ## destination system from source system | |
| #============================================= | |
| # emrys@matrix10.net 2017-04-07 | |
| # ---REQUIRED -------------------------------- | |
| # commands used: ssh,pv,mysqldump,printf,zcat and rsync |
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
| <div class="bg-light"> | |
| <div class="container"> | |
| <div class="row flex-items-xs-middle flex-items-xs-center"> | |
| <div class="col mb-5"> | |
| <div class="card text-xs-center bg-info text-light"> | |
| <div class="card-header"> | |
| <h4><span class="currency">£</span>00<span class="period">/year</span></h4> | |
| </div> | |
| <div class="card-body"> | |
| <h5 class="card-title mb-0">Group Membership</h5> |
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
| <?php | |
| /* | |
| creates mosquitto client and connects before the infinite blocking loop loopForever() | |
| is used to keep the connection until finished | |
| it finishes when the disconnect() is called once the publish() is sent | |
| I have been able to loop this in a bash script 50 times without error: | |
| ` | |
| $ for i in {1..50}; do php mqtt-pub-test.php ; done |
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
| <?php | |
| namespace mqttPub; | |
| define('EMONCMS_EXEC', 1); | |
| /* | |
| All Emoncms code is released under the GNU Affero General Public License. | |
| See COPYRIGHT.txt and LICENSE.txt. | |
| --------------------------------------------------------------------- | |
| Emoncms - open source energy visualisation |
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
| docker run -it --link emoncmsdocker_db_1:mysql --net emoncmsdocker_default --rm mysql sh -c 'exec mysql -hdb -uemoncms -pYOUR_SECURE_PASSWORD emoncms' |
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
| git log --pretty=format:"%ad:%an:%d:%B" --date=short --reverse --branches --since=2.months.ago --author=Emrys |
OlderNewer