This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# By Computer Science Engineer: Felipe Alfonso González | |
# Github.com/felipealfonsog | |
# Define command parameters | |
hostname="server.ddns.net" | |
username="......" | |
password="......" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Function to display a welcome message | |
welcome_message() { | |
echo "Welcome to NetCtrl!" | |
echo "NetCtrl is a script to remotely manage multiple machines on your local network." | |
echo "By computer science engineer Felipe Alfonso González - GitHub.com/felipealfonsog" | |
echo "Let's get started." | |
echo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[settings] | |
debug = false | |
hidefilenames = false | |
ignore = | |
COMMIT_EDITMSG$ | |
PULLREQ_EDITMSG$ | |
MERGE_MSG$ | |
TAG_EDITMSG$ | |
api_key=waka_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to fix invalid PGP fail and transaction fail issue in Arch Linux | |
# Computer Science Engineer: Felipe Alfonso González | |
# Github: https://github.com/felipealfonsog | |
# Email: f.alfonso@res-ear.ch | |
# BSD 3-Clause License | |
echo "Welcome to the Arch Linux PGP key reset script!" | |
echo "This script will reset all pacman keys to solve the problem." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gpg --check-trustdb 2>&1| grep 'not found' | awk '{print $8}' >bad-keys.txt | |
gpg --export-ownertrust > ownertrust-gpg.txt | |
mv ~/.gnupg/trustdb.gpg ~/.gnupg/trustdb.gpg-broken | |
for KEY in `cat bad-keys.txt` ; do sed -i "/$KEY/d" ownertrust-gpg.txt ; done | |
gpg --import-ownertrust ownertrust-gpg.txt | |
rm bad-keys.txt ownertrust-gpg.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# Script: gitcheck # | |
# Description: Script to check for repositories needing actions. # | |
# Created by: Felipe Alfonso González - github.com/felipealfonsog - # | |
# f.alfonso@res-ear.ch # | |
# License: BSD 3-Clause # | |
################################################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Action Script | |
# Author: Felipe Alfonso González | |
# GitHub: github.com/felipealfonsog | |
# Contact: f.alfonso@res-ear.ch | |
# License: BSD 3-Clause License | |
# Function to display the options menu | |
display_menu() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Bundle of CA Root Certificates | |
## | |
## Certificate data from Mozilla as of: Thu Dec 9 22:21:11 2021 GMT | |
## | |
## This is a bundle of X.509 certificates of public Certificate Authorities | |
## (CA). These were automatically extracted from Mozilla's root certificates | |
## file (certdata.txt). This file can be found in the mozilla source tree: | |
## https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Bundle of CA Root Certificates | |
## | |
## Certificate data from Mozilla as of: Mon Mar 11 15:15:21 2024 GMT | |
## | |
## This is a bundle of X.509 certificates of public Certificate Authorities | |
## (CA). These were automatically extracted from Mozilla's root certificates | |
## file (certdata.txt). This file can be found in the mozilla source tree: | |
## https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#================================================= | |
# https://github.com/P3TERX/ca-certificates.crt | |
# Description: Update ca-certificates.crt | |
# Version: 1.1 | |
# Lisence: MIT | |
# Author: P3TERX | |
# Blog: https://p3terx.com | |
#================================================= | |
# This package should be installed in: /etc/ssl/certs |
NewerOlder