Skip to content

Instantly share code, notes, and snippets.

@marcusholloway17
marcusholloway17 / readme.md
Created March 24, 2024 09:03
How To Install NVM on Ubuntu 22.04

Prerequisites

  • You must have a running Ubuntu 22.04 Linux system with shell access.
  • Log in with a user account to which you need to install node.js.

Step 1: Installing NVM on Ubuntu

sudo apt install curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
@bewithdhanu
bewithdhanu / upgrade_python_3.10_to_3.11.md
Last active November 13, 2025 12:28
Upgrade Python 3.10 to 3.11 on Ubuntu 22.04

Check python version use python and python3

The first comman will Not show version info.

The second one show 3.10 as version as it is provided by ubuntu as default

python --version
python3 --version

Add additional repository to download python 3.11

@amanjuman
amanjuman / SendMail with Office365 SMTP Relay
Created September 28, 2021 20:40
SendMail with Office365 SMTP Relay
// Update Packages
sudo apt-get update && sudo apt-get -y upgrade && sudo apt dist-upgrade -y && sudo apt-get autoremove -y
// Setup Hostname
hostnamectl set-hostname subdomain.domain.tld
// Create Host Record
sudo nano /etc/hosts
// Add this line

If error

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.
Done.

On Linux Mint 20 before HP hplip setup you need install

@mcharytoniuk
mcharytoniuk / Makefile
Last active October 18, 2025 07:43
Create self-signed certificate for local development.
PASS=yourcertificatemasterpassword
SUBJ=/C=PL/ST=MyState/L=MyLocation/O=MyOrganization/OU=MyOrganisationUnit/CN=localhost/emailAddress=admin@localhost
# Targets
localhostCA.crt: localhostCA.pem
openssl x509 \
-in localhostCA.pem \
-inform PEM \
-out localhostCA.crt
@diggeddy
diggeddy / Elementor Price Table Align Height
Created November 17, 2018 00:22
Force same height on all pricing tables in a row and push footer to bottom
.elementor-widget-price-table, .elementor-widget-price-table>div, .elementor-price-table {
height: 100%;
}
.elementor-price-table {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
@csalzano
csalzano / elementor-form-additional-webhook.php
Last active July 28, 2025 15:53
Elementor Form additional webhook example
<?php
/**
* Plugin Name: Elementor Form Additional Webhook
* Plugin URI: https://gist.github.com/csalzano/dfd754e0fe8b6ac10731fad8f257c0bf
* Description: Adds a second Webhook to an Elementor form
* Version: 1.0.1
* Author: Corey Salzano
* Author URI: https://breakfastco.xyz/
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@jayllellis
jayllellis / custom-action-url.php
Last active August 3, 2021 08:34
Custom Contact Form 7 action URL
<?php
// Place this in your functions.php file
add_filter('wpcf7_form_action_url', 'wpcf7_custom_form_action_url');
function wpcf7_custom_form_action_url(){
return 'send.php';// replace this with the new action url (excluding the 'http://')
}
?>
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@pensierinmusica
pensierinmusica / monit-conf
Last active February 7, 2016 09:55
Monit control file (http://mmonit.com/monit/)
###############################################################################
## Monit control file
###############################################################################
##
## Comments begin with a '#' and extend through the end of the line. Keywords
## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'.
##
## Below you will find examples of some frequently used statements. For
## information about the control file and a complete list of statements and
## options, please have a look in the Monit manual.