Skip to content

Instantly share code, notes, and snippets.

View preetampvp's full-sized avatar

Preetam Pattanashetty preetampvp

  • Melbourne, Australia
View GitHub Profile
@preetampvp
preetampvp / Handy Varnish commands.md
Created April 12, 2021 05:53 — forked from ogrrd/Handy Varnish commands.md
Handy Varnish commands

Handy Varnish commands

See what Varnish is currently processing

$ varnishlog

Show the referer (sic) header for requests

@preetampvp
preetampvp / CfnInitMetadataBuilder.ts
Created March 1, 2021 02:47 — forked from brettswift/CfnInitMetadataBuilder.ts
CDK 1.10.1 - ASG Cloudformation Init example
import autoscaling = require("@aws-cdk/aws-autoscaling")
import scriptAssets = require("./CfnInitScriptAsset")
import iam = require('@aws-cdk/aws-iam')
import cdk = require('@aws-cdk/core')
/**
* Helpful context into what was built.
* Use these to get logical ID's when constructing your userdata.
*/
@preetampvp
preetampvp / setting-up-xps-15-9560.org
Created February 7, 2021 21:41 — forked from skeptomai/setting-up-xps-15-9560.org
Installing Ubuntu 16.04 on Dell XPS 15 (9560)

Installing Ubuntu 18.04 on Dell XPS 15 (9560)

Booting and Installing

Find a reference for creating a bootable Ubuntu 18.04 USB. You’ll need to follow one of the references below to make BIOS changes for the disk, secure boot, and legacy boot options.

Grub command line

Hit F12 while booting, and select the USB UEFI device corresponding to your USB key. Unless you alter the Grub command line, Ubuntu Live will hang initializing the NVIDIA card.

@preetampvp
preetampvp / GitCommitEmoji.md
Created February 2, 2021 01:39 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@preetampvp
preetampvp / stuns
Created May 5, 2020 01:25 — forked from zziuni/stuns
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@preetampvp
preetampvp / list.txt
Created March 20, 2020 06:16 — forked from shortjared/list.txt
List of AWS Service Principals
acm.amazonaws.com
alexa-appkit.amazon.com
apigateway.amazonaws.com
application-autoscaling.amazonaws.com
appstream.application-autoscaling.amazonaws.com
appsync.amazonaws.com
athena.amazonaws.com
autoscaling.amazonaws.com
batch.amazonaws.com
channels.lex.amazonaws.com
@preetampvp
preetampvp / spacemacs-keybindings
Created March 20, 2020 00:00 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
1. Enable the Fedora 19 YUM Repository for CentOS
http://paperiniktips.sviluppo-siti-web.com/how-to-enable-the-fedora-19-yum-repository-for-centos/
Get the Release.key
http://paperiniktips.sviluppo-siti-web.com/how-to-install-fedora-19-gpg-key/
rpm --import /mnt/Release.key
vi /etc/yum.repos.d/f19.repo
@preetampvp
preetampvp / montserrat-font-family-styles.css
Created September 20, 2019 01:49 — forked from christopheranderton/montserrat-font-family-styles.css
Montserrat Font Family Styles (Montserrat, Montserrat Alternates, Montserrat Subrayada, Montserrat Arabic). Weights, Font feature settings, Download sources…
/* == Montserrat Font Family Styles == */
/* @group Montserrat
-------------------------------------------------------------- */
/* = Weights Montserrat
-------------------------------------------------------------- */
.thin {
@preetampvp
preetampvp / tls-client.go
Created August 24, 2018 04:17 — forked from michaljemala/tls-client.go
SSL Client Authentication Golang sample
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io/ioutil"
"log"
"net/http"
)