Skip to content

Instantly share code, notes, and snippets.

@kod3r
kod3r / beyond-web-2.0.rst
Created December 22, 2015 00:19 — forked from freakboy3742/beyond-web-2.0.rst
Beyond Web 2.0 - Django and Python in the modern web ecosystem

Beyond Web 2.0 - Django and Python in the modern web ecosystem

Django is over 10 years old; but the web that it was built for - the world of "Web 2.0" - doesn't really exist any more. Yes, we still need to rapidly develop database-backed websites, AJAX-enabled, but the modern web is faced with new problems, and new challenges. Many of those challenges involve interacting with devices that aren't desktop machines, and platforms that aren't a traditional browser - places where Python isn't a first-class citizen.

Does this mean we have to abandon Django and Python for other frameworks and languages? Can we keep using Python and Django on the server side and interact with independent client side frameworks? Or can we push Python and Django into these new environments?

In this talk, Dr Russell Keith-Magee will explore the problems, and some potential solutions, to these problems.

Detailed abstract

@kod3r
kod3r / Data Mining Books.md
Created November 9, 2015 00:15 — forked from dweinstein/Data Mining Books.md
Free Data Mining books

Source: http://christonard.com/12-free-data-mining-books/

  • An Introduction to Statistical Learning with Applications in R by James, Witten, Hastie & Tibshirani – This book is fantastic and has helped me quite a bit. It provides an overview of several methods, along with the R code for how to complete them. 426 Pages.
  • The Elements of Statistical Learning by Hastie, Tibshirani & Friedman – This is an in-depth overview of methods, complete with theory, derivations & code. I’d definitely consider this a graduate level text. I’d also consider it one of the best books available on the topic of data mining. 745 Pages.
  • A Programmer’s Guide to Data Mining by Ron Zacharski – This one is an online book, each chapter downloadable as a PDF. It’s also still in progress, with chapters being added a few times each year. Probabilistic Programming & Bayesian Methods for Hackers by Cam Davidson-Pilson – This book is absolutely fantastic. The author explains Bayesian statistics, provides several diverse examples of how to a
@kod3r
kod3r / roll_ipython_in_aws.md
Created November 3, 2015 23:45 — forked from iamatypeofwalrus/roll_ipython_in_aws.md
Create an iPython HTML Notebook on Amazon's AWS Free Tier from scratch.

What

Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.

What are we using? What do you need?

  • An active AWS account. First time sign-ups are eligible for the free tier for a year
  • One Micro Tier EC2 Instance
  • With AWS we will use the stock Ubuntu Server AMI and customize it.
  • Anaconda for Python.
  • Coffee/Beer/Time
@kod3r
kod3r / gist:90e797fcdd369bd13b41
Created October 11, 2015 05:13 — forked from debasishg/gist:8172796
A collection of links for streaming algorithms and data structures
  1. General Background and Overview
@kod3r
kod3r / introrx.md
Created October 9, 2015 02:29 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@kod3r
kod3r / gist:bbe3e216162d1f0879f1
Last active October 7, 2015 05:35 — forked from radiosilence/gist:3946121
Outputs some files that WMs can import and colourify everything with.
import sys
import colorsys
from colorz import colorz
WALLPAPER = '/home/james/.wallpaper'
COLORS = '/home/james/.colors'
XRESOURCES = '/home/james/.Xresources'
cols = ''
xres = """
public class PalindromeMaker {
public String make(String baseString) throws Exception{
int[] hash= new int[26];
for(int i=0;i<baseString.length();i++){
char ch=baseString.charAt(i);
if(ch<'A' || ch>'Z') throw new Exception("Wrong Input");
hash[ch-'A']++;
}
boolean check=false;
StringBuilder begin=new StringBuilder();
@kod3r
kod3r / RESPONSE_TIME_READ.py
Last active September 19, 2015 02:27 — forked from jirah/RESPONSE_TIME_READ.py
Print Response Time READ Operations on a VMAX, using Unisphere API.
#!/usr/bin/python
import requests, json, pprint, time, socket
CARBON_SERVER = '0.0.0.0'
CARBON_PORT = 2003
def send_msg(message):
#print 'sending message: %s' % message
sock = socket.socket()
@kod3r
kod3r / tsws
Last active September 7, 2015 04:18 — forked from dfletcher/tsws
Totally simple web server using Bash and netcat (nc)
Moved to a proprer repositoy, TSWS is a real boy now!
https://github.com/dfletcher/tsws
PRs welcomed.
@kod3r
kod3r / The Technical Interview Cheat Sheet.md
Last active August 26, 2015 01:03 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.