Skip to content

Instantly share code, notes, and snippets.

Peter Nehem Kinkypeter

Block or report user

Report or block Kinkypeter

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@harishanchu
harishanchu / openssl.MD
Created Jan 12, 2018 — forked from jchandra74/openssl.MD
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window
View openssl.MD

HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

Overview

My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.

Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:

Self-Signed SSL Issue in Chrome

@zhanwenchen
zhanwenchen / Install NVIDIA Driver and CUDA.md
Last active Feb 9, 2020 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA CUDA 9.0 on Ubuntu 16.04.4 LTS
View Install NVIDIA Driver and CUDA.md
@wangruohui
wangruohui / Install NVIDIA Driver and CUDA.md
Last active Feb 19, 2020
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
View Install NVIDIA Driver and CUDA.md
@rcubetrac
rcubetrac / centos_rhel_install.sh​
Last active Oct 1, 2019
Roundcube Install Scripts
View centos_rhel_install.sh​
#!/bin/sh
clear
if [ -z "${mysql_roundcube_password}" ]; then
tmp=$(</dev/urandom tr -dc A-Za-z0-9 | head -c12)
read -p "MySQL roundcube user password [${tmp}]:" mysql_roundcube_password
mysql_roundcube_password=${mysql_roundcube_password:-${tmp}}
echo "MySQL roundcube: ${mysql_roundcube_password}" >> .passwords
fi
anonymous
anonymous / ABOUT
Created Sep 11, 2014
Ultimate-GPG-Settings
View ABOUT
The Goals of this Gist are to:
[1] Increase the GnuPG key size limit beyond 4096 bits.
[2] Provide configuration files that maximize security and anonymity.
For now, the ideal configuration files have been provided.
The Debian_Linux_GnuPG_Compiler.bash script works to build GnuPG with the 4096 bit key size limit raised.
Please provide input. Feedback and changes welcome.
@garbados
garbados / gist:f82604ea639e0e47bf44
Created Jul 27, 2014
Falsehoods Programmers Believe About Gender
View gist:f82604ea639e0e47bf44
  1. There are two and only two genders.
  2. Okay, then there are two and only two biological genders.
  3. Gender is determined solely by biology.
  4. Okay, it’s mostly determined by biology, right?
  5. Please tell me it’s determined by DNA.
  6. Gender can be reliably determined through visual means. After all, no man would ever wear a burka.
  7. Once gender is set, it never changes.
  8. Even if the gender can change, it will only change from the one value to the other value.
  9. Only one gender can be “active” at the same time.
  10. We’re tracking gender now, so we’ve always tracked it.
@plepe
plepe / gist:52ecc9f18efb32c68d18
Last active Feb 12, 2020
MDADM and LVM cheat sheet
View gist:52ecc9f18efb32c68d18

mdadm

Glossary:

  • md: multiple devices
command description
cat /proc/mdstat show status of all raids
mdadm --detail /dev/md0 detailed status of raid md0
@plentz
plentz / nginx.conf
Last active Feb 19, 2020
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
You can’t perform that action at this time.