Skip to content

Instantly share code, notes, and snippets.

View sksundaram-learning's full-sized avatar

Sundaram Surampudi sksundaram-learning

  • Toronto, Canada
View GitHub Profile
@sksundaram-learning
sksundaram-learning / caslib.sas
Created October 20, 2021 14:32 — forked from frayos/caslib.sas
CASLIB examples
/* PostgreSQL Multi Node Serial */
caslib pgdvd datasource=(
srctype="postgres",
username="casdm",
password="xxxxxx",
server="sasdb.race.sas.com",
database="dvdrental",
schema="public",
numreadnodes=3) ;

Keybase proof

I hereby claim:

  • I am sksundaram-learning on github.
  • I am ssurampudi (https://keybase.io/ssurampudi) on keybase.
  • I have a public key ASDBonp1z2OGjZYiM33KzS1uXGPplJArZ2hdItL5tMEVOAo

To claim this, I am signing this object:

Wagtail tutorial

Thanks to [Serafeim Papastefanos] for authoring this tutorial. Please note that the installation process is in flux; most of the steps here should soon be unnecessary.

[Wagtail] is a new Open Source [Django]-based CMS. In this 20 minute tutorial we will see how you can create a blog from scratch using Wagtail. If you want to see some more examples of usage please take a look at the [wagtaildemo] GitHub project.

To follow this tutorial you will need to have [Python] 2.7 installed with a working version of [pip] and [virtualenv].

Installing the wagtail dependencies

Keybase proof

I hereby claim:

  • I am sksundaram-learning on github.
  • I am sksundaram (https://keybase.io/sksundaram) on keybase.
  • I have a public key ASASUCoWhx4r-wlKxDoU8En2nccu5_0aJfGyUb0mObm6MQo

To claim this, I am signing this object:

.vagrant
# Bundler
bin/*
.bundle/*
.kitchen/
.kitchen.local.yml
Berksfile.lock
@sksundaram-learning
sksundaram-learning / k8s-pi.md
Created September 18, 2018 12:02 — forked from alexellis/k8s-pi.md
K8s on Raspbian

Kubernetes on (vanilla) Raspbian Lite

Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.

This is part of a blog post Serverless Kubernetes home-lab with your Raspberry Pis written by Alex Ellis.

Copyright disclaimer: Please provide a link to the post and give attribution to the author if you plan to use this content in your own materials.

Pre-reqs:

@sksundaram-learning
sksundaram-learning / setup-kubernetes-ubuntu-16.md
Created August 28, 2018 17:34 — forked from ruanbekker/setup-kubernetes-ubuntu-16.md
Install a 3 Node Kubernetes Cluster on Ubuntu 16

Master: Dependencies

apt update && apt upgrade -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -

cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
@sksundaram-learning
sksundaram-learning / dremio-ubuntu
Last active May 23, 2018 13:44 — forked from evan-burke/dremio-ubuntu
[DREMIO: Install dremio on Ubuntu] #dremio
Installing Dremio 1.4 on Ubuntu 16
##Install links / references
https://www.dremio.com/tutorials/recommender-scikit-learn-dremio-postgres-mongodb/
https://www.dremio.com/tutorials/dremio-oracle-aws/
https://docs.dremio.com/deployment/standalone-tarball.html
## First, install Java 1.8+, 64 bit.
sudo apt-get update
@sksundaram-learning
sksundaram-learning / gist:b3948050a345edc7e02e270501643e0b
Created May 9, 2018 19:00 — forked from conormm/r-to-python-data-wrangling-basics.md
R to Python: Data wrangling with dplyr and pandas
R to python useful data wrangling snippets
The dplyr package in R makes data wrangling significantly easier.
The beauty of dplyr is that, by design, the options available are limited.
Specifically, a set of key verbs form the core of the package.
Using these verbs you can solve a wide range of data problems effectively in a shorter timeframe.
Whilse transitioning to Python I have greatly missed the ease with which I can think through and solve problems using dplyr in R.
The purpose of this document is to demonstrate how to execute the key dplyr verbs when manipulating data using Python (with the pandas package).
dplyr is organised around six key verbs