Skip to content

Instantly share code, notes, and snippets.

View ictus4u's full-sized avatar
🚀

Walter Gomez ictus4u

🚀
View GitHub Profile
@ictus4u
ictus4u / .gitignore
Created August 25, 2024 18:50 — forked from salcode/.gitignore
.gitignore file for a general web project - Bare Minimum Git
# -----------------------------------------------------------------
# .gitignore
# Bare Minimum Git
# https://salferrarello.com/starter-gitignore-file/
# ver 20221125
#
# From the root of your project run
# curl -O https://gist.githubusercontent.com/salcode/10017553/raw/.gitignore
# to download this file
#
@ictus4u
ictus4u / HowToSonarQube.md
Created July 24, 2024 06:08 — forked from LegalizeAdulthood/HowToSonarQube.md
SonarQube Configuration for C++ Projects

SonarQube Configuration for C++ Projects

  1. Download SonarQube from SonarQube.org.
  2. Unpack the distribution.
  3. Download the C++ community plugin.
  4. Install the plugin using these instructions.
  5. Run bin\windows-x86-64\StartSonar.bat to start the server.
  6. Wait for the server to output the message SonarQube is up.
  7. Browse to http://localhost:9000 and login with admin/admin.
  8. Create a project by following the built-in tutorial.
  9. Configure the scanner for C++
@ictus4u
ictus4u / git-branches-by-commit-date.sh
Created January 8, 2024 11:27 — forked from l15n/git-branches-by-commit-date.sh
List remote Git branches and the last commit's author and author date for each branch. Sort by most recent commit's author date.
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ai %ar by %an" $branch | head -n 1` \\t$branch; done | sort -r

Keybase proof

I hereby claim:

  • I am ictus4u on github.
  • I am ictus4u (https://keybase.io/ictus4u) on keybase.
  • I have a public key ASDIXhEJyRd_tkca1N30C9ij-zSYsNOEdBTohBY7Axstsgo

To claim this, I am signing this object:

@ictus4u
ictus4u / split-apt-trusted-keyring.sh
Created March 14, 2023 05:02
Get separate files with the keys contained in /etc/apt/trusted.gpg keyring
gpg -k --no-default-keyring --keyring /etc/apt/trusted.gpg | \
grep '^ ' | \
tr -d ' ' | \
grep -Eo '.{8}$' | \
while read fingerprint; do
((++i));
gpg \
--export \
--output /tmp/${i}-archive-keyring.gpg \
--yes \
@ictus4u
ictus4u / answerfile
Created October 12, 2022 23:17 — forked from oofnikj/answerfile
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@ictus4u
ictus4u / subnets.py
Created September 26, 2022 12:56
wireguard - Exclude single ip
#!/usr/bin/env python
from ipaddress import ip_network
from sys import argv
start = '0.0.0.0/0'
exclude = argv[1:]
result = [ip_network(start)]
for x in exclude:
n = ip_network(x)
@ictus4u
ictus4u / awesome-selfhosted-sorted-by-stars.md
Created September 20, 2022 04:08 — forked from kvnxiao/awesome-selfhosted-sorted-by-stars.md
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@ictus4u
ictus4u / README.md
Created September 20, 2022 03:48 — forked from dims/README.md
Kubernetes Resources