Skip to content

Instantly share code, notes, and snippets.

INSERT INTO taxonomy_index (nid,tid,sticky,created) SELECT * FROM old.taxonomy_index;
# 01 - Update your system
sudo apt-get update
sudo apt-get upgrade
# sudo apt-get dist upgrade
# 02 - Install additional drivers
# Software & Updates - Additional Drivers
# 03 - Install Multimedia Codecs and Enable DVD Playback
sudo apt-add-repository ppa:mc3man/trusty-media
@jmolivas
jmolivas / inject-service-drupal-8.md
Last active December 26, 2023 20:21
Inject a service from the service container

Inject a Service in Drupal 8

Is a good practice to inject a service whenever is possible.

You can verify the service name by:

Looking at the Drupal Static Service Container wrapper class.

Reading the code on the Drupal Class you can find the httpClient method:

 /**

Download DrupalConsole

curl https://drupalconsole.com/installer -L -o drupal.phar

Make DrupalConsole globaly accesible

$ mv console.phar /usr/local/bin/drupal
@jmolivas
jmolivas / symfony-drupal.md
Last active November 28, 2018 04:40
Drupal related tools based on modern PHP development and Symfony components
@jmolivas
jmolivas / contrib.md
Last active December 17, 2015 05:48

Drupal Ladder

Review the program http://drupalladder.org/ this contains (or links to) lessons and materials to help people learn about and contribute to Drupal. The site was created by theBoston Initiative to help Drupal user groups develop and share and develop materials for learn sprints and issue sprints.

Drupal Ladder at d.o.

https://groups.drupal.org/drupal-ladder

Overview of the Learn Drupal Ladder

https://drupalize.me/videos/overview-learn-drupal-ladder?p=1176

Drupal Community Tools and Core Mentoring

https://drupalize.me/guides/drupal-community-tools-and-core-mentoring

Drupal Community Tools Workshop

<VirtualHost *:80>
DocumentRoot /Users/jmolivas/develop/symfony/sf2.dev/web
ServerName sf2.dev
DirectoryIndex app_dev.php
<Directory /Users/jmolivas/develop/symfony/sf2.dev/web>
AllowOverride None
Allow from All
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
services:
logger.jolinotif:
class: Drupal\jolinotif\Logger\JolinotifLog
arguments: ['@logger.log_message_parser']
tags:
- { name: logger }
<?php
/**
* @file
* Contains \Drupal\jolinotif\Logger\JolinotifLog.
*/
namespace Drupal\jolinotif\Logger;
use Drupal\Core\Logger\LogMessageParserInterface;