Skip to content

Instantly share code, notes, and snippets.

@MrMaksimize
MrMaksimize / git-github-pages-resources.md
Created February 18, 2014 04:58
Git and GitHub and GitHub Pages References
@MrMaksimize
MrMaksimize / README.md
Created January 25, 2015 20:33
InvestmentOverYears Sheet1

README is empty

@MrMaksimize
MrMaksimize / gist:1012364
Created June 7, 2011 14:31
SugarSkull router on Leave
apciMobile.Router = Router({
'/login': function () {
new apciMobile.loginPageView({
el: $('#content')
});
},
'/home': function(){
var gridView = new apciMobile.gridView({
el: $('#content'),
collection: apciMobile.grid
@MrMaksimize
MrMaksimize / gist:1089616
Created July 18, 2011 14:09
rough idea of return definition
'return' => array(
'type' => 'array',
'schema' => array(
'gid' => array(
'gid' => 'int',
'title' => 'string',
'descripion' => 'string',
'logo' => 'string',
'readioactivity' => 'int',
'uri' => 'string'
@MrMaksimize
MrMaksimize / gist:1159668
Created August 20, 2011 21:07
Event Layout
$handler = new stdClass;
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'node_view_panel_context';
$handler->task = 'node_view';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
'title' => 'Events',
<div class="col1" style="float:left; width:300px">
content on the left side here
</div>
<div class="col2" style="float:left; width:300px">
content on the right here
</div>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
Notice: Undefined variable: language in /vagrant/public/allplayers/www/sites/all/themes/allplayers960/maintenance-page.tpl.php on line 19
Call Stack:
0.0002 645216 1. {main}() /vagrant/public/allplayers/www/index.php:0
27.6490 96956328 2. menu_execute_active_handler() /vagrant/public/allplayers/www/index.php:17
54.7283 203645640 3. call_user_func_array() /vagrant/public/allplayers/www/includes/menu.inc:349
54.7284 203646384 4. services_endpoint_callback() /vagrant/public/allplayers/www/includes/menu.inc:349
@MrMaksimize
MrMaksimize / gist:1264539
Created October 5, 2011 14:19
Latest Vagrant error
devel downloaded from [ok]
http://ftp.drupal.org/files/projects/devel-7.x-1.2.tar.gz.
views_bulk_operations downloaded from [ok]
http://ftp.drupal.org/files/projects/views_bulk_operations-7.x-3.0-beta2.tar.gz.
views downloaded from [ok]
http://ftp.drupal.org/files/projects/views-7.x-3.0-rc1.tar.gz.
features downloaded from [ok]
http://ftp.drupal.org/files/projects/features-7.x-1.0-beta4.tar.gz.
diff downloaded from [ok]
http://ftp.drupal.org/files/projects/diff-7.x-2.0.tar.gz.
@MrMaksimize
MrMaksimize / gist:1264664
Created October 5, 2011 15:06
phpunit chef
# Author:: Mark Sonnabaum <mark.sonnabaum@acquia.com>
# Modifying Author:: Maksim Pecherskiy <max@allplayers.com>
# Recipe:: phpunit
#
# 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
#
@MrMaksimize
MrMaksimize / gist:1266405
Created October 6, 2011 03:06
mobile meta tags
<meta name="description" content="">
<meta name="author" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/h/apple-touch-icon.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/m/apple-touch-icon.png">
<link rel="apple-touch-icon-precomposed" href="img/l/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="img/l/apple-touch-icon.png">