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: https://copr.fedorainfracloud.org/coprs/alonid/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" | |
HTMLFILETEMP="/home/antonmry/Documents/thyme/thyme.html" |
To solve screen is flickering
sudo -e /etc/default/grub
Add i915.enable_psr=0
to GRUB_CMDLINE_LINUX="...... i915.enable_psr=0"
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.
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 |
! Fonts {{{ | |
Xft.antialias: true | |
Xft.hinting: true | |
Xft.rgba: rgb | |
Xft.hintstyle: hintfull | |
Xft.dpi: 100 | |
! }}} |
#! /bin/bash | |
publicIP=`dig +short myip.opendns.com @resolver1.opendns.com` | |
## 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 |
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
## Startup | |
exec xrandr --dpi 220 |
https://docs.google.com/presentation/d/10EW4cLJOW-q_lyDKAPw6wwhsySaZ-NTqEv3eyEAuJgU/edit?usp=sharing |
package example; | |
import lombok.*; | |
@Data | |
@NoArgsConstructor(access = AccessLevel.PRIVATE, force = true) | |
@AllArgsConstructor | |
public class Foo2 { | |
private String foo; | |
} |