Skip to content

Instantly share code, notes, and snippets.

View christianchristensen's full-sized avatar

Chris Christensen christianchristensen

View GitHub Profile
@christianchristensen
christianchristensen / gist:1244308
Created September 27, 2011 03:59
LucidChart Collapse toolbox bookmarklet
javascript:void(function(){document.getElementById("tool-box-wrapper").style.display="none";document.getElementById("viewport-container").style.left="0px";}());
@christianchristensen
christianchristensen / gist:1244312
Created September 27, 2011 04:02
Wikipedia menu bar collapse bookmarklet
javascript:void(function(){document.getElementById("mw-panel").style.display="none"; document.getElementById("content").style.marginLeft=0;}());
This file has been truncated, but you can view the full file.
diff --git a/789946_cck_views_handler.patch b/789946_cck_views_handler.patch
deleted file mode 100644
index cccb784..0000000
--- a/789946_cck_views_handler.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Index: includes/views/handlers/content_plugin_style_php_array_ac.inc
-===================================================================
-RCS file: /cvs/drupal-contrib/contributions/modules/cck/includes/views/handlers/Attic/content_plugin_style_php_array_ac.inc,v
-retrieving revision 1.1.2.3
@christianchristensen
christianchristensen / osx.sh
Created October 5, 2011 04:26
Drush core-quick-drupal (qd) install
brew install https://raw.github.com/gist/1264605/742c6b14a99184f71cdbf572dd1450954465d0e3/php53osx.rb --with-sqlite
# alt https://github.com/msonnabaum/megalodon/blob/master/formulas/php.rb
sudo pear channel-discover pear.drush.org
sudo pear install Console_Table
sudo pear install drush/drush-5.0.0
sudo drush
drush qd -y
@christianchristensen
christianchristensen / libpng.rb
Created October 5, 2011 14:48 — forked from tobiastom/libpng.rb
PHP Homebrew Formular
require 'formula'
class Libpng < Formula
url 'http://downloads.sourceforge.net/project/libpng/libpng15/1.5.5/libpng-1.5.5.tar.bz2'
homepage 'http://www.libpng.org/pub/png/libpng.html'
md5 '3270bf2990c3174ae939388398de751e'
keg_only :provided_by_osx,
"TODO: Which software depends on this newer version of libpng?"

Drush Quickstart!!!

diff --git a/drush_make.project.inc b/drush_make.project.inc
index 76b71b2..3eae893 100644
--- a/drush_make.project.inc
+++ b/drush_make.project.inc
@@ -59,6 +59,9 @@ class DrushMakeProject {
if (drush_make_download_factory($this->name, $this->download, $download_location) === FALSE) {
return FALSE;
}
+ if ($this->drush_make_inject_info($this->name, $this->download, $this->project_directory) === FALSE) {
+ return FALSE;
@christianchristensen
christianchristensen / gist:1297194
Created October 19, 2011 00:42
Android disabled apps
Androidian.apk
CMStats.apk
CMUpdateNotify.apk
CMWallpapers.apk
Email.apk
Gallery3D.apk
GenieWidget.apk
Kineto.apk
LiveWallpapers.apk
LiveWallpapersPicker.apk