Skip to content

Instantly share code, notes, and snippets.

View johnlaine1's full-sized avatar

John Laine johnlaine1

View GitHub Profile
@johnlaine1
johnlaine1 / tar_example.sh
Created August 14, 2013 04:45
Tar example
tar cvzf archive_name.tar.gz dirname/
<?php
/**
* This file will demonstrate a method to export fields to code.
* You can use this to easily create fields using the UI, export to code
* and then use in a custom module. Upon installation of the module
* your fields and instances will already be set up.
*/
// Create the fields you want using the Drupal UI.
// On the same site, go to example.com/devel/php
echo 'Hello World';