Skip to content

Instantly share code, notes, and snippets.

Chase Whitener genio

  • Florida, USA
Block or report user

Report or block genio

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
View .vimrc
set fileformats=unix,dos,mac # used to have issues with ^M at every line ending
set tabstop=4
set shiftwidth=4
set backspace=indent,eol,start # allow backspacing through lines
set ruler
set encoding=utf-8
syntax on
@genio
genio / current_events.md
Last active May 3, 2017
Perl 5 Async and Await
View current_events.md

Future::AsyncAwait

Notable Links:

Purpose:

This will be a living document that will get updated every Thursday evening to account for any contributions or advancements made on the project until it is no longer deemed necessary.

@genio
genio / nginx conf
Last active Jun 30, 2017
nginx conf
View nginx conf
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1.2 TLSv1.1;
ssl_certificate /etc/pki/tls/certs/star_example.crt;
ssl_certificate_key /etc/pki/tls/private/example_com_no_pass.key;
ssl_dhparam /etc/pki/tls/certs/dhparams.pem;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.4.4 8.8.
@genio
genio / httpd.conf
Last active Jul 3, 2018
apache conf
View httpd.conf
Listen 443
RewriteEngine on
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:/var/run/ssl_scache(512000)"
SSLSessionCacheTimeout 300
@genio
genio / 01_setup_EL.md
Last active Jul 30, 2019
ODBC and MSSQL on Linux/Mac
View 01_setup_EL.md

Enterprise Linux installation of ODBC is easy.

yum install unixODBC unixODBC-devel freetds freetds-devel perl-DBD-ODBC perl-local-lib

Configuration isn't much harder. You'll need to edit UnixODBC's driver list to add FreeTDS as an available driver.

  • vim /etc/odbcinst.ini
You can’t perform that action at this time.