Skip to content

Instantly share code, notes, and snippets.

View djdexter84's full-sized avatar

Constantin DOBRE djdexter84

View GitHub Profile
@AnnoyingTechnology
AnnoyingTechnology / download_filemaker_server_19_20_lts_ubuntu.md
Last active June 10, 2025 05:29
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 January 21, 2025 19:02
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;
@consti
consti / hosts
Last active May 14, 2025 15:51
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost