Skip to content

Instantly share code, notes, and snippets.

View marciuz's full-sized avatar

Marcello Verona marciuz

View GitHub Profile
SOURCE: http://www.intgovforum.org/cms/2014/Contributions/REMARKS_INDONESIA.PDF
(first 8096 chars)
Array
(
[language] => English
[id] => 531ef4b35c8fc
[status] => PROCESSED
[themes] => Array
(
@marciuz
marciuz / gist:8a72fd2b20ce6c5bad0b
Last active August 29, 2015 14:17
Create a new Drupal website
drush dl drupal --drupal-project-rename=example
cd example
drush site-install standard --db-url='mysql://[username]:[password]@localhost/example' --site-name=example --account-name=admin --account-pass=[passwd]
drush dl ctools views date token ds
@marciuz
marciuz / Revision maker
Last active August 29, 2015 14:19
Release of a VFront version
#!/bin/bash
VERSION="0.99.2"
DIR_VFRONT="vfront-${VERSION}"
cd /tmp
mkdir $DIR_VFRONT
cd $DIR_VFRONT
@marciuz
marciuz / README.md
Last active August 29, 2015 14:20
Light Social Button README
@marciuz
marciuz / uuid_term.features.inc.patch
Created October 14, 2015 14:57
uuid_term.features.inc.patch
--- /opt/build2/sites/all/modules/contrib/uuid_features/includes/uuid_term.features.inc.old 2015-10-14 16:54:02.109680899 +0200
+++ /opt/build2/sites/all/modules/contrib/uuid_features/includes/uuid_term.features.inc 2015-10-14 16:54:24.663219415 +0200
@@ -148,6 +148,7 @@
if (!empty($terms)) {
// Verify that term objects is saved before any references are resolved.
foreach ($terms as $data) {
+ $data = (array) $data;
$existing = entity_get_id_by_uuid('taxonomy_term', array($data['uuid']));
if (!count($existing)) {
$voc = taxonomy_vocabulary_machine_name_load($data['vocabulary_machine_name']);
Agostini
Aiello
Albanese
Amato
Antonelli
Arena
Baldi
Barbieri
Barone
Basile
@marciuz
marciuz / first_name_ITA_F.txt
Created June 27, 2013 06:41
List of common italians first names (females)
Alessandra
Alessia
Alice
Angela
Anna
Arianna
Aurora
Beatrice
Camilla
Caterina
@marciuz
marciuz / first_name_ITA_M.txt
Created June 27, 2013 06:42
List of common italians first names (males)
Alberto
Alessandro
Alessio
Alex
Andrea
Angelo
Antonio
Armando
Augusto
Christian
@marciuz
marciuz / prenom_M
Created June 27, 2013 06:55
List of common italians first names (males)
Aaron
Adam
Adrian
Adrien
Alexandre
Alexis
Amine
Anthony
Antoine
Antonin
@marciuz
marciuz / Italy.class.php
Last active December 19, 2015 03:29
Package fro DataGenerator Plugin
<?php
/**
* @package Countries
*/
class Country_Italy extends CountryPlugin {
protected $countryName = "Italy";
protected $countrySlug = "italy";
protected $regionNames = "Regioni";