I usually forget way to install jq by ansible. I memorize it.
I’m into writing one-liners using
in order to briefly check some information without logging in management console.
My chrome was updated to v59 yesterday and it supports long-awaited headless mode. At once I tried it seeing Getting Started.
Just one-liner to print VPC and subnet IDs with a tag,
Name, of VPC.
Easy to see them without logging into management console of AWS.
The sub command
ec2 describe-instances doesn’t show whether it has Elastic IPs or not.
Another sub command
ec2 describe-addresses shows InstanceId and PublicIp.
We can join them with
join command representing
I made a Vagranfile in order to launch digdag servers with postgresql backend. Digdag is a workflow manager being developed by Treasure Data. You can easily try digdag server with high availabiity.
Grafana has HTTP API but it seems no APIs for panel operations at a glance.
My team has several AWS accounts and I’d like to create dashboards with CloudWatch datasource for every account. For example, such dashboards have same contents with some panels. The panels are same for each dashboard, but parameters (e.g: instance ID, account ID, metric name, etc) are different. It bothers us to create dashboards manually one by one for all accounts.
So I created a command in golang to generate panel JSON for CloudWatch.
GitHub has a service to easily publish your websites, GitHub Pages. It’s very useful to publish sites with simple static files. I’ve published a webapp as an angular trial for me, which is gh-issues. I’ll write how to do it.
We can select two ways,
docs, for layout. Let’s say you choose
docs on this entry.
Using RxJS, this entry intends similarly with a jQuery plugin, hoverIntent, aiming to detect hover event but doesn’t immediately fire the event. It fires hover event if the mouse cursor has stayed on a point after specified milli seconds.