// jQuery
$(document).ready(function() {
// code
})
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import boto3 | |
client = boto3.client('s3') | |
Bucket = 'a-bucket' | |
Prefix = 'a-prefix' # leave blank to delete the entire contents | |
IsTruncated = True | |
MaxKeys = 1000 | |
KeyMarker = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Django settings for sayit_mysociety_org project. | |
import imp | |
import os | |
import sys | |
from django.conf import global_settings | |
from .paths import * # noqa | |
# Get the changeable configuration | |
from .mysociety import * # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
from django.core.management import execute_manager | |
PRODUCTION = 'production' | |
DEVELOPMENT = 'development' | |
ENVIRONMENTS = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LESS Utility Mixins | |
// ------------------- | |
// Fill the parent element | |
.fill(@spacing: 0) { | |
position: absolute; | |
top: @spacing; bottom: @spacing; | |
left: @spacing; right: @spacing; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------------------------------------------------- | |
Toolkit: Rem | |
============ | |
.rem() takes a @property, and @list of values (in px or unitless) and | |
converts to rem. | |
e.g., | |
.selector { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var browserSync = require('browser-sync'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var install = require("gulp-install"); | |
var notify = require("gulp-notify"); | |
var merge = require("merge-stream"); | |
var imagemin = require("gulp-imagemin"); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var spritesmith = require('gulp.spritesmith'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
LESS CSS BOILERPLATE | |
*/ | |
@import "lesshat.less"; | |
@import url(http://fonts.googleapis.com/css?family=Arvo:400,700); | |
/* RESET */ | |
html, body, div, span, applet, object, iframe, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ========================================================= // | |
// = Boilerplate Less CSS Styles = // | |
// = by Michael P. Geraci, 2011 - www.michaelgeraci.com = // | |
// = tell me what's missing: mgeraci@gmail.com | @mgeraci = // | |
// = free for all to use and modify (MIT License) = // | |
// ========================================================= // | |
// ============= // | |
// = CSS Reset = // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
@import "variables.less"; | |
@import "mixins.less"; | |
@import "reset.less"; | |
@import "utility.less"; |
NewerOlder