Skip to content

Instantly share code, notes, and snippets.

View djdexter84's full-sized avatar

Constantin DOBRE djdexter84

View GitHub Profile
@Iksas
Iksas / wg-quick-fix.md
Last active January 25, 2026 10:26
wg-quick fix on macOS

Fixing wg-quick on macOS

On some macOS setups, wg-quick up does not work correctly if the Wireguard configuration includes a DNS server address.

When this error occurs, wg-quick up exits with the following lines, and the Wireguard tunnel will not work:

$ sudo wg-quick up wg0
...
[#] rm -f /var/run/wireguard/utun3.sock
[#] rm -f /var/run/wireguard/wg0.name
@AnnoyingTechnology
AnnoyingTechnology / download_filemaker_server_19_20_lts_ubuntu.md
Last active December 29, 2025 02:50
Download Filemaker 19.5 Server Ubuntu 18LTS
@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
@jdeathe
jdeathe / make-local-cert.sh
Last active April 8, 2025 02:36
Generate a Root CA + Intermediate CA for local (internal) use on Mac OSX using cfssl and add the intermediate certificate to your keychain so it can be trusted by your local browser.
#!/usr/bin/env bash
# REF: https://github.com/cloudflare/cfssl
# Change working directory
cd -- "$(
dirname "${0}"
)" || exit 1
readonly CA_ROOT_CERT_KEY="ca-root"
<form action="https://jumprock.co/mail/ALIAS" method="post">
<input type="text" name="trapit" value="" style="display:none">
<input type="text" name="email" placeholder="Email Address" />
<input type="text" name="message" placeholder="message" />
<input type="submit" value="Contact Us" />
<input type="hidden" name="after" value="http://google.com">
</form>
<?php
/**
* Opencart Turbo
* Developed by Atomix
* Version: 0.1
* http://www.atomix.com.au
*
* This script will apply several changes to boost the performance of OpenCart, including:
* 1) DONE: Convert MySQL DB Storage Engine from MyISAM to InnoDB
@dorneanu
dorneanu / client.conf
Last active October 6, 2022 11:38
OpenVPN configuration
##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server. #
# #
# This configuration can be used by multiple #
# clients, however each client should have #
# its own cert and key files. #
# #
# On Windows, you might want to rename this #
# file so it has a .ovpn extension #
@mcandre
mcandre / public-trackers.md
Last active December 28, 2025 15:13
List of public BitTorrent tracker announce URLs
@xXxSPYxXx
xXxSPYxXx / site.ru.conf
Last active July 7, 2022 11:06
OpenCart, OcStore Nginx config whis SSL
server{
listen 80;
listen 443 ssl;
server_name site.ru www.site.ru;
ssl on;
if ( $scheme = "http" ) {
rewrite ^/(.*)$ https://$host/$1 permanent;
}
index index.php index.html;