View updateAWSecurityGroup.bash
#! /bin/bash
publicIP=`dig +short`
## TODO: move port, description and group-id to variables
## Consult previous one
cidrIP=`aws ec2 describe-security-groups --group-ids sg-XXXXXX | jq -r '.SecurityGroups[0].IpPermissions[] | select(.ToPort==80) | .IpRanges[] | select(.Description == "antonmry") | .CidrIp' | tail -1f`
## Delete the previous one
  • Confirmar ponentes
  • Añadilos o grupo @vigojug/ponentes e poñelos nesta issue (xa están invitados) @antonmry
  • Confirmar local (volver a facelo) e no calendar @antonmry
  • Crear PR entrada na web e editar @antonmry
  • Crear en meetup @antonmry
  • Publicar en Twitter e Linkedin @antonmry
  • Cartel @tomasalmeida
  • Envío a universidades e FPs @antonmry
  • Lanzar enquisa Reto (7 días antes) -> 27/06
  • Mandar correo recordatorio (3-4 días antes)
View .Xresources
! Fonts {{{
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.hintstyle: hintfull
Xft.dpi: 100
! }}}
View cpuinfo.txt
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 61
model name : Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
stepping : 4
microcode : 0x24
cpu MHz : 2899.951
cache size : 4096 KB
physical id : 0

The best HA/automated architecture

Disclaimer: I don't believe there is a best architecture. It depends of the business requirements and there are several things to consider, including non-tecnical ones.


List of things I've done to have a reliable, easy to maintain, operate and evolve HA architecture.

Scale dinamically


To solve screen is flickering

sudo -e /etc/default/grub

Add i915.enable_psr=0 to GRUB_CMDLINE_LINUX="...... i915.enable_psr=0"

#! /bin/bash
# Dependencies (Fedora)
# xprintidle:
# wmctrl: dnf install wmctrl
# Config
LOGFILE="/home/antonmry/Documents/thyme/thyme_$(date '+%Y%m%d').log"
HTMLFILE="/home/antonmry/Documents/thyme/thyme_$(date '+%Y%m%d').html"
View main.groovy
import groovy.lang.GroovyClassLoader
def gcl = new GroovyClassLoader()
def clazz = gcl.parseClass(new File("./template.groovy"))
assert == 'Env'
def o = clazz.newInstance()
println o.test
View call-forwarding-receiver.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<!-- Luis Barreiro - Mobicents QA team -->
<scenario name="UAS for SIP-Servlets Tests">
<recv request="INVITE" rrs="true" timeout="5000" />

Intellij IDEA - Cheat Sheet (aka most useful shortcuts)

Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few

Coding Session

Parameter documentation for Method Calls

  • Ctrl-P - Popup parameter documentation for method calls