Skip to content

Instantly share code, notes, and snippets.

@ajumell
ajumell / responsive.css
Last active March 8, 2016 16:54
Bootstrap 3 - Media Queries
/* Extra Small Screens Only */
@media (max-width: 767px) {
}
/* Small Screens Only */
@media (min-width: 768px) and (max-width: 991px) {
}
@ajumell
ajumell / 0_reuse_code.js
Last active August 29, 2015 14:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/bin/sh
# Install all required PPAs
sudo add-apt-repository ppa:webupd8team/y-ppa-manager -y
sudo add-apt-repository ppa:webupd8team/java -y
sudo add-apt-repository ppa:webupd8team/arista -y
sudo add-apt-repository ppa:webupd8team/sublime-text-2 -y
sudo add-apt-repository ppa:noobslab/themes -y
@ajumell
ajumell / Django Email Settings
Last active January 1, 2016 02:49
Email Settings for Django Production and Development
This gist contains of different options of django email settings.
@ajumell
ajumell / install.py
Created October 22, 2013 20:25
Webfaction Magento Insatll script.
-----BEGIN WEBFACTION INSTALL SCRIPT-----
#!/bin/env python2.4
"""
Magento 1.7.0.2
"autostart": not applicable
"extra info": Do you agree to Magento's license?
http://www.opensource.org/licenses/osl-3.0.php
@ajumell
ajumell / DjangoAutoCompleteLookup.py
Last active December 16, 2015 19:18
Sample code fo Django AutoComplete Lookup/.
lookups = dict()
class AutoComplete(object):
def get_result(self, request, kwargs):
""" Returns the result """
return []
lookups['some_lookup'] = AutoComplete
-- phpMyAdmin SQL Dump
-- version 3.4.5deb1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jun 17, 2012 at 07:19 PM
-- Server version: 5.1.63
-- PHP Version: 5.3.6-13ubuntu3.7
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";