I hereby claim:
- I am jonmunson on github.
- I am jonmunson (https://keybase.io/jonmunson) on keybase.
- I have a public key ASCyXh8bPuIdNQf08yXQY7WH9bC4O-PwzV101feiryxXAgo
To claim this, I am signing this object:
| blueprint: | |
| name: Octopus Energy Free Electricity Session Manager (Interactive) | |
| description: > | |
| Automatically manage devices during Octopus Energy free electricity sessions with optional confirmation prompts. | |
| Charges batteries, controls heating based on temperature, and runs dehumidifiers when needed. | |
| domain: automation | |
| input: | |
| calendar_entity: | |
| name: Free Electricity Calendar | |
| description: Your Octopus Energy free electricity session calendar |
| #!/bin/bash | |
| # Set the domain name as a variable | |
| DOMAIN_NAME="example.com" | |
| # Update the package index | |
| echo "Updating package index..." | |
| sudo apt update | |
| # Install Apache |
I hereby claim:
To claim this, I am signing this object:
| <Directory /var/www/> | |
| Options FollowSymLinks | |
| AllowOverride None | |
| Require all granted | |
| Header always append X-Frame-Options SAMEORIGIN | |
| Header set X-XSS-Protection "1; mode=block" | |
| Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure | |
| FileETag None | |
| RewriteEngine On | |
| RewriteCond %{THE_REQUEST} !HTTP/1\.1$ |
| <?php wp_footer(); ?> | |
| <?php if (!$user_ID) : ?> | |
| <script type="text/javascript"> | |
| var _gaq = _gaq || []; | |
| _gaq.push(['_setAccount', 'UA-9669661-12']); | |
| _gaq.push(['_trackPageview']); |
| (function() { | |
| var requests = window.performance.getEntries(); | |
| var hosts = {}; | |
| var output = ""; | |
| for(var requestIdx = 0; requestIdx < requests.length; requestIdx++) { | |
| var request = requests[requestIdx]; | |
| var origin = new URL(request.name).origin; | |
| hosts[origin] = 1; |
| TRUNCATE dataflow_batch_export; | |
| TRUNCATE dataflow_batch_import; | |
| TRUNCATE log_customer; | |
| TRUNCATE log_quote; | |
| TRUNCATE log_summary; | |
| TRUNCATE log_summary_type; | |
| TRUNCATE log_url; | |
| TRUNCATE log_url_info; | |
| TRUNCATE log_visitor; | |
| TRUNCATE log_visitor_info; |
| # Ignore PHPStorm | |
| /.idea/ | |
| /.phpstorm.meta.php | |
| #Ignore vagrant | |
| /.vagrant/ | |
| # Ignore code coverage reports | |
| /build/ |
| #!/bin/sh | |
| sudo find . -type f -exec chmod 644 {} \; | |
| sudo find . -type d -exec chmod 755 {} \; | |
| sudo chmod o+w var app/etc | |
| sudo chmod 550 mage | |
| sudo chmod -R o+w media |
| // Source: http://zerosixthree.se/vertical-align-anything-with-just-3-lines-of-css/ | |
| /* Mixin */ | |
| @mixin vertical-align { | |
| position: relative; | |
| top: 50%; | |
| -webkit-transform: translateY(-50%); | |
| -ms-transform: translateY(-50%); | |
| transform: translateY(-50%); | |
| } |