Skip to content

Instantly share code, notes, and snippets.

@anumsh
anumsh / blog.py
Last active October 25, 2016 03:03
multi-user blog.py file
import os
import re
import random
import hashlib
import hmac
from string import letters
import webapp2
import jinja2
@anumsh
anumsh / app.yaml
Last active September 15, 2016 01:57
Introducing Template - templates.py file
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /.*
script: templates.app
libraries:
- name: jinja2
@anumsh
anumsh / Gruntfile.js
Last active August 24, 2016 08:59
responsive- Images
module.exports = function(grunt) {
grunt.initConfig({
responsive_images: {
dev: {
options: {
engine: 'im',
sizes: [{
width: 1600,
suffix: '_large_2x',