Make sure Ubuntu can find the new version
$ sudo sed -i -e 's/^Prompt=.*$/Prompt=normal/' /etc/update-manager/release-upgrades
Check what can be installed
$ lsb_release -a
#!/usr/bin/python | |
import time | |
import BaseHTTPServer | |
import json | |
from pprint import pprint | |
HOST_NAME = '192.168.1.89' | |
PORT_NUMBER = 9494 | |
media_results = { |
Make sure Ubuntu can find the new version
$ sudo sed -i -e 's/^Prompt=.*$/Prompt=normal/' /etc/update-manager/release-upgrades
Check what can be installed
$ lsb_release -a
Källa https://www.404techsupport.com/2012/11/07/disable-cursor-animation-word-2013/
Lägg till den här
HKEY_Current_User\Software\Microsoft\Office\15.0\Common\Graphics
Name: DisableAnimations
Type: REG_DWORD
Data: 1 (hexadecimal)
! Save as ~/.Xmodmap. Reload any changes with `xmodmap ~/.Xmodmap` | |
! | |
! Caps lock key is now the Windows (Super) key | |
! Left windows key is disabled | |
! | |
clear lock | |
remove mod4 = Super_L | |
keycode 66 = Super_L | |
keycode 133 = |
I'm writing new versions of old apps, and thus I have inherited old app id's.
In order to install AND RUN a flavor I need to do stuff manually.
react-native run-android --variant appAAADebug
does manage to get the app runnning (only installed)
--
My code have the package com.common.package
(in source files and AndroidManifest.xml
).
My build.gradle
contains
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
Taken from https://www.youtube.com/watch?v=jgFzhhc7-e8 | |
TLDR; set `LimitMEMLOCK=infinity` for the docker deamon to trickle down to the containers. | |
--- | |
What's the PID of your Docker daemon? | |
> sudo service docker status | grep -P -o 'dockerd\[[0-9]+\]' | head -1 | grep -P -o [0-9]+ | |
Check the limits for that process |
#!/bin/sh | |
# This script goes through a terraform state file and looks for private IPs. | |
# It will present them as an IP-sorted list, like so | |
# Private IP ADDRESS | |
# ----------- ------- | |
# 10.16.0.4 aws_eip.zz-prd-nateip-az_a | |
# 10.16.0.4 aws_nat_gateway.zz-prd-natgw-az_a | |
# | |
# There will be duplicate private IPs, that's expected. |
#!/bin/sh | |
# List all private EC2 AMI whose name begins with the string `workload` | |
# Present the output as a table | |
aws ec2 describe-images \ | |
--query 'Images[*].{created:CreationDate,ami:ImageId,name:Name}' \ | |
--filters "Name=name,Values=workload*" "Name=image-type,Values=machine" "Name=is-public,Values=false" \ | |
--output table |
#!/bin/sh | |
# Make sure you're authenticated to use the AWS CLI. | |
# | |
# List all Route 53 query logging configs, iterate over their Ids and delete them. | |
# The call to jq flattens the list of configs down to just the list of Ids. | |
# | |
aws route53 list-query-logging-configs \ | |
| jq -r '.[][]|[.Id]|@tsv' \ |