Skip to content

Instantly share code, notes, and snippets.

View eagleusb's full-sized avatar
🪐
.

Leslie-Alexandre DENIS eagleusb

🪐
.
View GitHub Profile
@eagleusb
eagleusb / ets2.md
Last active December 3, 2020 21:18
ETS2

ETS2

Command Line

-homedir "C:\ETS2" -mm_max_resource_size 80 -mm_max_tmp_buffers_size 640

Configuration

@eagleusb
eagleusb / git.md
Last active August 17, 2020 15:38
Git Nifty Tips and Tricks

Git

Rewrite All Commits Author

pip3 install --user git-filter-repo
cat <<EOF > .mailmap
eagleusb <git@eagleusb.com> <capscale@foolul.net>
EOF
@eagleusb
eagleusb / firetv.md
Last active June 19, 2020 17:33
Android Fire TV
@eagleusb
eagleusb / ovpn.md
Last active June 25, 2020 07:40
OpenVPN No Brainer Configuration

OpenVPN

Configuration

# general
verb 4
# silence repeating messages
mute 20
user root
@eagleusb
eagleusb / helm.md
Last active June 10, 2020 15:55
Helm Semantics

Helm Semantics

Helm Commands

Install

$ helm install --dry-run --debug ./mychart
$ helm install --dry-run --debug --set favoriteDrink=slurm ./mychart
$ helm install --dry-run --debug --namespace foo --tiller-namespace foo --name my-chart .
@eagleusb
eagleusb / prefetch.reg
Created May 10, 2020 17:34
Windows prefetch optimization.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]
"BootId"=dword:00000029
"BaseTime"=dword:22a20bb3
"EnableSuperfetch"=dword:00000000
"SfTracingState"=dword:00000001
"EnablePrefetcher"=dword:00000000
@eagleusb
eagleusb / readme.md
Last active June 17, 2023 09:10
High Quality Linux Sound :)

HQLS

High Quality Linux Sound is just my memo about Linux sound stack configuration, as:

  1. I never remember all the tools to configure (ALSA, PulseAudio...)
  2. I never remember the correct parameter(s)
  3. It must be automated

ALSA

PulseAudio

@eagleusb
eagleusb / qemu.md
Last active January 27, 2024 17:30
QEMU build from sources

QEMU

  • Debian like systems

Dependencies

# git clone https://git.qemu.org/git/qemu.git && cd qemu
# git submodule init
# git submodule update --recursive
@eagleusb
eagleusb / README.md
Created January 14, 2020 11:05 — forked from zytek/README.md
Terraform to manage AWS RDS PostgreSQL databases, users and owners

Terraform vs PostgreSQL RDS

Thanks to new resources (postgresql_default_priviledges) and some fixes Terraform can now add new databases and manage ownership / access to them.

This example creates new database and two users. You can use owner to create new tables and run migrations and user for normal read/write access to database.

@eagleusb
eagleusb / ebsnvme-id
Created December 23, 2019 10:21 — forked from lbernail/ebsnvme-id
ebsnvme-id script
#!/usr/bin/env python2.7
# Copyright (C) 2017 Amazon.com, Inc. or its affiliates.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/