Skip to content

Instantly share code, notes, and snippets.

View tschaffner-te's full-sized avatar

T Schaffner tschaffner-te

  • ThousandEyes || Cisco
  • San Francisco
View GitHub Profile
@tschaffner-te
tschaffner-te / nginx.conf
Created January 28, 2021 22:58 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@tschaffner-te
tschaffner-te / Public_Time_Servers.md
Created January 6, 2021 22:36 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@tschaffner-te
tschaffner-te / 01.trust_policy.MD
Created November 16, 2020 15:09 — forked from tuxfight3r/01.trust_policy.MD
Importing a VM into AWS EC2 from S3 Bucket

NOTE: Assuming .vhd image is already uploaded to s3 bucket, the following is the process to import the image when the vmimport role is missing

#create a role policy json file

{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Sid":"",
 "Effect":"Allow",