Skip to content

Instantly share code, notes, and snippets.

View sandervd's full-sized avatar

Sander Van Dooren sandervd

  • Essential Complexity
  • Leuven, Belgium
View GitHub Profile
<?php
/**
* @file
* Drush implementation for the cleanup_tool module.
*/
/**
* Implementats hook_drush_command().
Index: core/modules/file/file.install
===================================================================
--- core/modules/file/file.install (revision 63a1cfa2cfe622ddf89a6286b6b2e33233f2d21a)
+++ core/modules/file/file.install (revision )
@@ -35,7 +35,7 @@
'id' => array(
'description' => 'The primary key of the object using the file.',
'type' => 'varchar_ascii',
- 'length' => 64,
+ 'length' => 255,
#!/bin/sh
cat $1 | sed 's/,/@| /g' | column -s '@' -t -n
drush() {
local git_root in_git local_drush
git_root=`git rev-parse --show-cdup 2>/dev/null`
in_git=$?
if [ $in_git = 0 ]; then
local_drush=$git_root"vendor/bin/drush"
if [ -e $local_drush ]; then
command $local_drush "$@"
return "$?"
fi
drush() {
local git_root in_git local_drush
git_root=`git rev-parse --show-cdup 2>/dev/null`
in_git=$?
if [ $in_git = 0 ]; then
local_drush=$git_root"vendor/bin/drush"
if [ -e $local_drush ]; then
command $local_drush "$@"
return "$?"
fi
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-menu/core-submenu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {