Does NOT replace the CM10 guide
Replace your local_manifest.xml
with http://pastebin.com/raw.php?i=uyGjf8Ak
<?php | |
function get_color_palette($name, $count = 8) { | |
$fmap = array( | |
'gif' => 'imagecreatefromgif', | |
'png' => 'imagecreatefrompng', | |
'jpg' => 'imagecreatefromjpg', | |
'jpeg' => 'imagecreatefromjpg' | |
); | |
$path = pathinfo($name); |
# Copyright (C) 2010 The Android Open Source Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
#!/bin/sh | |
# install cross-compiler | |
# sudo apt-get install gcc-arm-linux-gnueabihf | |
# cd ~/Development | |
# git clone git://gitorious.org/qt/qt5.git qt5 | |
apt-get update | |
apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev \ |
Does NOT replace the CM10 guide
Replace your local_manifest.xml
with http://pastebin.com/raw.php?i=uyGjf8Ak
"""SocksiPy - Python SOCKS module. | |
Version 1.00 | |
Copyright 2006 Dan-Haim. All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, |
#!/usr/bin/env python | |
# encoding: utf-8 | |
import os, sys, logging, json | |
log = logging.getLogger() | |
from bottle import route, get, put, post, delete, request, response, abort | |
import api | |
from models.users import Users |
<script src="/main/chrome/shared/js/jquery.masonry.min.js"></script> | |
<script> | |
function dashboard(container, tracs, pattern) { | |
var boxes = {}; | |
// set up the container with the appropriate classes | |
container.empty(); | |
container.addClass('fluid'); | |
container.addClass('clearfix'); |
#!/usr/bin/python | |
# vim:set fileencoding=utf-8 sw=2 ai: | |
import sqlite3 | |
import datetime | |
import re | |
SQL = ''' | |
select | |
name, version, time, author, text |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Main application script | |
Created by: Rui Carmo | |
License: MIT (see LICENSE for details) | |
""" | |
import os, sys |
from pygments import highlight | |
from pygments.lexers import get_lexer_by_name, guess_lexer | |
from pygments.formatters import TerminalFormatter, Terminal256Formatter, NullFormatter | |
class PygmentsHandler(logging.StreamHandler): | |
"""Console logging handler with syntax highlighting""" | |
def __init__(self, stream=None, syntax="guess", encoding='utf-8'): | |
# run the regular Handler __init__ | |
logging.StreamHandler.__init__(self,stream) |