Skip to content

Instantly share code, notes, and snippets.

if ($_POST) {
$errors[] = "We're sorry, but you are too stupid to submit this form.";
}
jeremy@fapestniegd:~$ authkeys2ldap .ssh/authorized_keys
could not connect to ldaps://thor.websages.com:636 IO::Socket::INET: Bad hostname ' ldaps:' at /usr/local/bin/authkeys2ldap line 130.
jeremy at fapestniegd in ~ %> authkeys2ldap .ssh/authorized_keys
0
Updating: uid=jeremy,ou=people,dc=websages,dc=com
Updating: uid=jeremy,ou=people,dc=websages,dc=com
50 no write access to parent
50 no write access to parent
68 Already exists
68 Already exists
Done updatinguid=jeremy,ou=people,dc=websages,dc=com
Done updatinguid=jeremy,ou=people,dc=websages,dc=com
jeremy at fapestniegd in ~ %> authkeys2ldap .ssh/authorized_keys
0\nUpdating: uid=jeremy,ou=people,dc=websages,dc=com\nUpdating: uid=jeremy,ou=people,dc=websages,dc=com\n65 attribute 'sshPublicKey' not allowed\nDone updatinguid=jeremy,ou=people,dc=websages,dc=com\nDone updatinguid=jeremy,ou=people,dc=websages,dc=com
" Normal-mode bindings for easy camelCase editing:
" cm begins at the current position and deletes until
" the end of the word or the next capital letter
" (exclusive), then places you into insert mode in the
" deleted space
nmap <silent> cm :let save_search=@/<CR>v/[A-Z]\\|\([A-Za-z0-9]\)\@<lt>=\(\W\\|_\)<CR>hx:let @/=save_search<CR>i
" cu begins at the beginning of the current word or
" previous capital letterand deletes until the end of
<script type="text/javascript" charset="utf-8">
function handleEmbeddedFlow() {
try {
if (parent.myEmbeddedPaymentFlow) {
parent.myEmbeddedPaymentFlow.paymentSuccess();
} else if (top && top.opener && top.opener.top) {
top.opener.top.myEmbeddedPaymentFlow.paymentSuccess();
window.close();
} else if (top.myEmbeddedPaymentFlow) {
@awebneck
awebneck / gist:849601
Created March 1, 2011 18:24
Get gearman job status
\Zend_Registry::get('gearman')->getStatus($handle);
@awebneck
awebneck / gist:849572
Created March 1, 2011 18:12
Dispatch to start orchard import.
$handle = \Zend_Registry::get('ed')->dispatch(new \Moontoast\Job\JobEvent('SocialiteOrchardImport',array('brandId' => $brand->getId(), 'token' => serialize($token)), $this));
package com.moontoast.cremefraiche.model.vo {
public class DealVO {
public var startDate:uint; //Timestamp in milliseconds
public var endDate:uint; //Timestamp in milliseconds
public var tipLimited:Boolean;
public var discounted:Boolean;
public var tippingPoint:uint;
public var tipped:Boolean;
public var currentPurchases:uint;
public var discountedPrice:Number;
2011-03-31 15:44:14 -- JOB RECEIVED: Array
2011-03-31 15:44:15 -- IMPORTING RELEASE: 1 OF 1
2011-03-31 15:44:16 -- SAVING IMAGE: /tmp/noArtwork.png
2011-03-31 15:44:16 -- RELEASE PREPPED - GETTING TRACKS
2011-03-31 15:44:16 -- IMPORTING TRACK: 1 OF 10
2011-03-31 15:44:25 -- FLUSHING...
2011-03-31 15:44:26 -- TRACK IMPORT COMPLETE: 1 OF 10
2011-03-31 15:44:26 -- IMPORTING TRACK: 2 OF 10
2011-03-31 15:44:36 -- FLUSHING...
2011-03-31 15:44:37 -- TRACK IMPORT COMPLETE: 2 OF 10