Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Environment SetUp
SRC=${@}
AS=/usr/bin/armv7a-hardfloat-linux-gnueabi-as
LD=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld
OBJCOPY=/usr/bin/armv7a-hardfloat-linux-gnueabi-objcopy
# CONNEX
@jfcamel
jfcamel / python_resources.md
Last active August 29, 2015 14:15 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides

@jfcamel
jfcamel / 0_reuse_code.js
Last active August 29, 2015 14:15
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
@jfcamel
jfcamel / gist:2359399
Created April 11, 2012 13:47
python dictionary flatten
def flatten(l):
if isinstance(l, list):
if not l:
return []
else:
return flatten(l[0]) + flatten(l[1:])
return [l]
def dict_flatten(d):
@jfcamel
jfcamel / indexDecolor.py
Created June 18, 2011 21:15
a gimp plugin (python-fu)
# -*- coding: utf-8 -*-
from gimpfu import *
import os
import glob # unused
colorpalette = []
def decolorFiles(dirname, ext, suffix):