Skip to content

Instantly share code, notes, and snippets.

Avatar

Henri Gomez hgomez

View GitHub Profile
@hgomez
hgomez / howto-openstack-zed-rocky-linux-9.1.md
Last active March 10, 2023 16:59
How to install OpenStack Zed on RockyLinux 9.1 - Using DevStack
View howto-openstack-zed-rocky-linux-9.1.md

OpenStack Zed on Rocky Linux 9.1 - Using DevStack

Let see how to deploy OpenStack Zen on Rocky Linux 9.1

This time, I will try to use DevStack

Rocky Linux 9.1

Install Rocky Linux 9.1, minimal setup, using DVD ISO

@hgomez
hgomez / flash-esp32.md
Last active June 18, 2021 12:34
Flash ESP32
View flash-esp32.md
@hgomez
hgomez / Fix AC9560 on Fedora 32.md
Last active November 17, 2022 22:31
How to fix unstable Intel Wireless-AC 9560 on Fedora 32
View Fix AC9560 on Fedora 32.md

Problem

I have a Dell Inspiron 15 7586 with Fedora 32. Wifi AC is provided by an Intel AC 9560.

dmesg | grep iwlwifi
...
[   16.978385] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560, REV=0x318
...
@hgomez
hgomez / tmux-cheatsheet.markdown
Created June 14, 2019 15:17 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@hgomez
hgomez / clean-up-boot-partition-ubuntu.md
Created August 25, 2018 09:45 — forked from ipbastola/clean-up-boot-partition-ubuntu.md
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64
View clean-up-boot-partition-ubuntu.md

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r 
@hgomez
hgomez / Dockerfile
Created November 1, 2017 16:59
Dockerfile, Sonarqube 6.6 + Latest SonarJava
View Dockerfile
FROM sonarqube:6.6
RUN rm -f /opt/sonarqube/extensions/plugins/sonar-java-plugin*.jar && \
wget -O /opt/sonarqube/extensions/plugins/sonar-java-plugin-4.15.0.12310.jar https://github.com/SonarSource/sonar-java/releases/download/4.15-RC1/sonar-java-plugin-4.15.0.12310.jar
View docker-centos7-info
Containers: 1
Images: 50
Storage Driver: devicemapper
Pool Name: docker-8:17-788702-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: extfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 1.268 GB
Data Space Total: 107.4 GB
@hgomez
hgomez / ssl.md
Last active October 20, 2017 07:02 — forked from mxlje/ssl.md
SSL Certificate Commands
View ssl.md

These commands are needed every time you want to generate a new certificate signing request to give to an authority in order for them to generate and sign a certificate for you.

I constantly forget how this stuff works so I collected the most important ones here for easy copy & paste.

There is good information available on https://www.h2check.org/deploy, and they also go into detail on HTTP/2.

@hgomez
hgomez / docker-registry-2.0-logs
Last active August 29, 2015 14:19
docker-registry-2.0-logs
View docker-registry-2.0-logs
# access log
1.2.3.203 - - [21/Apr/2015:10:35:02 +0200] "GET /v2/ HTTP/1.1" 401 1233 "-" "docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64"
1.2.3.203 - - [21/Apr/2015:10:35:02 +0200] "GET /v1/_ping HTTP/1.1" 200 1541 "-" "docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64"
1.2.3.203 - - [21/Apr/2015:10:35:02 +0200] "POST /v1/users/ HTTP/1.1" 401 1239 "-" "Go 1.1 package http"
1.2.3.203 - my-deployer [21/Apr/2015:10:35:02 +0200] "GET /v1/users/ HTTP/1.1" 200 4 "-" "docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64"
1.2.3.203 - - [21/Apr/2015:10:35:07 +0200] "GET /v2/ HTTP/1.1" 401 1233 "-" "docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64"
1.2.3.203 - - [21/Apr/2015:10:35:07 +0200] "GET /v1/_ping HTTP/1.1" 200 1541 "-" "docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64"
1.2.3.203 - - [21/Apr/2015:10:35:07 +0200] "GET /v1
@hgomez
hgomez / lskeys
Created March 17, 2015 11:34
lskeys
View lskeys
#!/bin/bash
#: Title : lskeys
#: Date Created : Thu Oct 27 22:44:20 PDT 2011
#: Last Edit : Fri Nov 18 23:17:02 PST 2011
#: Author : Agnelo de la Crotche (please_try_again) / Henri Gomez
#: Version : 2.0
#: Description : lists, exports, deletes RPM GPG keys
#: Syntax : lskeys [option]
#: Options : -e --export : exports selected key
#: : -d --delete : erases selected key