Let's imagine a very simple table
CREATE TABLE people {
id bigserial,
name character varying
}
#! /bin/sh | |
# | |
# Based on Mike Miller's gwhitelist at: | |
# http://archive.mgm51.com/sources/gwhitelist.html | |
# Copyright (c) 2013 Mike Miller <mmiller@mgm51.com> | |
# | |
# Modified 2014 by Steve Jenkins <steve@stevejenkins.com> to format | |
# output for mod_remoteip on Apache with Google PageSpeed Service | |
# | |
# Permission to use, copy, modify, and distribute this software for any |
repo for a more modern version of qt (4.7) | |
http://atrpms.net/documentation/install/ | |
http://packages.atrpms.net/dist/el5/qt4/ | |
cat /etc/yum.repos.d/atrpms.repo | |
[atrpms] | |
name=ATrpms manual | |
baseurl=http://dl.atrpms.net/el5-$basearch/atrpms/testing/ | |
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms |
<?php | |
//Found on http://www.alternateinterior.com/2007/05/multi-threading-strategies-in-php.html | |
//Modified by http://www.php-code.net | |
//Modified: add executor | |
class Thread { | |
var $pref ; // process reference | |
var $pipes; // stdio | |
var $buffer; // output buffer | |
var $output; | |
var $error; |
/** | |
* HandleBars remote template loader | |
* | |
* Allows for direct insertion into dom if jQuery selector string is passed (el). | |
* Returns $.ajax promise regardless so code can attach callbacks externally. | |
* | |
* @example | |
* // Direct insertion into dom | |
* Handlebars.renderFromRemote('/media/templates/hello.handlebars', { name: 'Ryan' }, '#content'); | |
* |
(function () { | |
var setupRegularResize, setupIframeResize, e; | |
function bind(a, b) { | |
return function () { | |
return a.apply(b, arguments); | |
}; | |
} | |
setupRegularResize = (function () { |
(function () { | |
var setupRegularResize, setupIframeResize, e; | |
function bind(a, b) { | |
return function () { | |
return a.apply(b, arguments); | |
}; | |
} | |
setupRegularResize = (function () { |
class Thumb extends Backbone.Model | |
defaults: | |
uri: '' | |
state: '' | |
select: (state) -> | |
st = '' | |
st = 'selected' if state | |
@set('state' : st) |
[submodule "zsh-syntax-highlighting"] | |
path = zsh-syntax-highlighting | |
url = git://github.com/zsh-users/zsh-syntax-highlighting.git |
package nilzor.public.views; | |
import android.content.Context; | |
import android.graphics.drawable.Drawable; | |
import android.util.AttributeSet; | |
import android.util.Log; | |
import android.widget.ImageView; | |
public class ScalingImageView extends ImageView { | |
private boolean mAdjustViewBounds; |