Skip to content

Instantly share code, notes, and snippets.

View acidjazz's full-sized avatar
🎯
Focusing

kevin olson acidjazz

🎯
Focusing
View GitHub Profile
<?
class jade {
public static $templatedir = 'tpl/';
public static function c($template, $array=array(), $return=false, $options='-P') {
$path = G_PATH.self::$templatedir;
term screen-256color
hardstatus alwayslastline
hardstatus string '%{= Kc} [%{C}%H%{c}]%= %{y}%?%-Lw%?%{Y}[%{W}%n-%f%t%{Y}]%?%?%{y}%?%+Lw%?%?%= %{g}[%{G}%l%{g}] %{b}[%{B}%m/%d/%y%C%A%{b}] '
@Override
public void onDrawerSlide(View view, float arg1) {
//this.context.success("onDrawerSlide");
int offset[] = new int[2];
view.getLocationOnScreen(offset);
int width = view.getLayoutParams().width;
FrameLayout contentFrame = getNavDrawerActivity().getFrameLayout();
[k@retinal(..roid/gea/configs/dev)]: hg heads
changeset: 222:b5f014e6a837
tag: tip
user: ctoracchio
date: Tue Aug 06 16:46:10 2013 -0700
summary: Added tag APP_QA_HANDOFF_1.0.7 for changeset 1662962c0c0e
changeset: 162:5d2cc3f00c95
branch: comiccon
parent: 159:707b70af8840
var jade = require('/usr/lib/node_modules/jade');
var http = require('http');
var path = require('path');
//var fs = require('fs');
http.createServer(function(req, res) {
if (req.method != 'POST') {
res.writeHead(500, {'Content-Type': 'text/json'});
res.end(JSON.stringify({'error': 'post required'}));
<?
while (true) {
sleep(3);
if (check_db_for_changes()) {
echo changes();
return true;
}
}
Buildfile: /var/www/hh/build.xml
prepare-target:
css:
[echo] Compling SCSS to CSS
[exec] error scss/styles.scss (Line 1: File to import not found or unreadable: sass-bootstrap.
[exec] Load paths:
[exec] /var/www/hh/scss
[exec] /var/lib/gems/1.9.1/gems/compass-0.12.2/frameworks/blueprint/stylesheets
.DS_Store
.mwb.bak
composer.lock
.sublime-workspace
src/che/*js
src/assets/css
^target$
^.sass-cache$
^bower_components$
^conf/config.php$
[ubuntu@256(/home/ubuntu/w/hh)]: cat .hgignore
.DS_Store
.mwb.bak
composer.lock
.sublime-workspace
src/che/*.js
src/assets/css
^target$
^.sass-cache$
^bower_components$
mysql> select * from location;
+------------+-------------------+--------------+-----------+-------------+
| locationId | locationName | locationSlug | lat | lng |
+------------+-------------------+--------------+-----------+-------------+
| 7 | Laguna Shopping | slo-laguna | 35.257946 | -120.690765 |
| 8 | Marigold Shopping | slo-marigold | 35.250233 | -120.643890 |
+------------+-------------------+--------------+-----------+-------------+
2 rows in set (0.01 sec)
mysql> INSERT INTO `item` (`locationId`, `itemName`, `itemQuantity`) VALUES ('1', 'Coffee', '20');