Both things have been introduced recently, and let you access even private ec2 instances
- Without VPN
- No open SSH port
- Authentication / Authorization is fully delegated to IAM
# Assumes valid AWS Credentials in ENV
<?php | |
echo $this->navigation('default-navigation') | |
->menu() | |
->setPartial('default/navigation/sub_menu') | |
->render( | |
null, | |
array( | |
'indent' => 4, | |
'ulClass' => '', | |
'minDepth' => 1, |
<?php | |
/** | |
* @author Antoine Hedgecock | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace Application; | |
use Zend\Acl\Acl, |
<?php | |
include 'predis/predis.phar'; | |
class OnlineUsers { | |
/* time to consider user online */ | |
private $minutes = 5 ; | |
function online() { | |
/* current hour and minute */ |
#!/bin/bash | |
# Takes one parameter: a remote git repository URL. | |
# | |
# This is the stuff this script does: | |
# | |
# 1. Clones the repository | |
# 2. Fetches all remote branches | |
# 3. Compresses the folder | |
# 4. Deletes the cloned folder. |
# Controlling my Buva Qstream ventilation system using: | |
# * A Wemos D1 mini lite (an ESP8266 based board) | |
# * A Wemos power shield so I can power the Wemos from the ventilation units 12V supply. | |
# * A simple PWM to 10V convertor like this: https://www.cheaptech.nl/pwm-signaal-te-voltage-converter-1-3-khz-0-10-v-pw.html | |
# * The amazing ESPHome firmware tool: https://esphome.io | |
# * Home Assistant to tie it all together: https://www.home-assistant.io | |
# | |
# I used to use a Raspberry Pi and some Python code for this. See https://gist.github.com/SqyD/a927ab612df767a0cc892bcde23d025c | |
# The Wemos approach seems more stable and doesn't require external USB power. |
# zabbix_get.py : Python port of zabbix_get | |
# http://www.zabbix.com/documentation/1.8/protocols/agent | |
# http://www.zabbix.com/wiki/doc/tech/proto/zabbixagentprotocol | |
import argparse | |
import socket | |
import struct | |
import sys | |
def str2packed(data): |
# Controlling my Buva Qstream ventilation system using: | |
# * A Wemos D1 mini lite (an ESP8266 based board) | |
# * A Wemos power shield so I can power the Wemos from the ventilation units 12V supply. | |
# * A simple PWM to 10V convertor like this: https://www.cheaptech.nl/pwm-signaal-te-voltage-converter-1-3-khz-0-10-v-pw.html | |
# * The amazing ESPHome firmware tool: https://esphome.io | |
# * Home Assistant to tie it all together: https://www.home-assistant.io | |
# | |
# I used to use a Raspberry Pi and some Python code for this. See https://gist.github.com/SqyD/a927ab612df767a0cc892bcde23d025c | |
# The Wemos approach seems more stable and doesn't require external USB power. |
function Gauge(placeholderName, configuration) | |
{ | |
this.placeholderName = placeholderName; | |
var self = this; // for internal d3 functions | |
this.configure = function(configuration) | |
{ | |
this.config = configuration; | |
Both things have been introduced recently, and let you access even private ec2 instances
# Assumes valid AWS Credentials in ENV