Skip to content

Instantly share code, notes, and snippets.

View rmdes's full-sized avatar
💭
Learning, Groking, Exploring

Ricardo rmdes

💭
Learning, Groking, Exploring
View GitHub Profile
@Potherca
Potherca / README.md
Last active September 13, 2025 03:22
BASH scripts to go through all the steps to make a (VPS) server more secure.
@diegopacheco
diegopacheco / termshark-linux.md
Last active October 22, 2021 15:09
Termshark in Linux

Enable Termshark

sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
sudo chown root /usr/bin/dumpcap
sudo chmod u+s /usr/bin/dumpcap
sudo go get github.com/gcla/termshark/cmd/termshark

sudo groupadd -s wireshark
sudo gpasswd -a $USER wireshark
@thefranke
thefranke / RSS.md
Last active November 26, 2025 20:27
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active December 2, 2025 06:08
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@nemanjan00
nemanjan00 / HOWTO.md
Last active May 1, 2021 12:36
Fixing ./Stremio+4.0.10.appimage: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

You will thank me later.

./Stremio+4.0.10.appimage --appimage-extract
cd squashfs-root
mv ./lib/libfreetype.so.6 ./lib/libfreetype.so.6.bak
./stremio
@Fabricio20
Fabricio20 / ReadMe.md
Last active November 7, 2023 04:37
Docker - Nginx + PHP FPM + MariaDB + PhpMyAdmin

Docker

This is a docker-compose template for a lemp stack.

Make sure to change both the root password under the mysql service, and the absolute URI on the phpmyadmin container.
You can also expose phpMyAdmin locally instead of remotely by properly configuring the ports.

Default locations:
(Original) -> (Your server)
/var/www/html -> ./webroot
/etc/nginx -> ./nginx

@leepettijohn
leepettijohn / functions.php
Created July 28, 2017 18:10
Gravity Forms - File / Image Upload to Featured Image
<?php
form_id = 1;
add_action("gform_post_submission_".$form_id, "add_new_post_featured_image");
function add_new_post_featured_image($entry){
$title_id = 1;
$content_id = 2;
$file_id = 3;
$new_post = array(
'post_title' => $entry[$title_id],
@bcomnes
bcomnes / late-2016-reading.md
Last active April 17, 2021 20:07
Late 2016 Reading list
@xeoncross
xeoncross / utf8mb4.cnf
Last active March 4, 2021 18:36
Correctly set MySQL to use utf8 on ubuntu
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
@muendelezaji
muendelezaji / bash-to-zsh-hist.py
Created October 5, 2016 14:18 — forked from op/bash-history-to-zsh-history.py
Convert Bash history to Zsh history
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This is how I used it:
# $ cat ~/.bash_history | python bash-to-zsh-hist.py >> ~/.zsh_history
import sys
import time