• Reset your password
Home
OO PHP, Drupal, Symfony Developer and Architect
Tim Rabbetts

Main navigation

  • Home
  • Blog
  • Log in

Breadcrumb

  • Home
  • node

Ubuntu – Enable remote desktop from the terminal, via ssh

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
Code

So I had remote desktop working at home and then decided to take my windows machine off line and build a new linux machine.

Run docker without sudo

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
container, container ship, port

The docker daemon always runs as the root user, and since Docker version 0.5.2, the docker daemon binds to a Unix socket instead of a TCP port.

Organizing your theme files in Drupal 7

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
work, typing, computer

When working on a large Drupal site, your theme can become quite complicated with dozens of templates or template overrides, images, css files, javascript files and even a massively large template.

Multiple SSH keys for different accounts

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
Code

Problem is, Bitbucket doesn’t allow you to use the same SSH key with more than one Bitbucket account.

As GitHub explains you can generate an SSH key like so:

A Beginner's Guide to Caching Data in Drupal 7

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
office, business, colleagues

Building complicated, dynamic content in Drupal is easy, but it can come at a price.

Install or Upgrade Drush for Drupal 7

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
code, coding, programming
# Download latest stable release.
php -r "readfile('https://s3.amazonaws.com/files.drush.org/drush.phar');" > drush

# Test your install.
php drush core-status

# 

How to programmatically create nodes and taxonomies in Drupal 7

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
student, typing, keyboard

I've been busy with a migration work for my client recently.

Google calendar v3 add event via php google api

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
bar, ipad, mockup

I need to add event via php on server for a gmail account.  So I need a service account not a web application or installed application.

Get drupal node form via ajax and embed in page or block

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
technology, computer, black

Finally figured out how to embed a node form via ajax the Drupal way and using the asaf module it will be ajax submitable itself.

Example code for creating an admin page for Drupal 7 module

Tim
Rabbetts
By zarexogre | Thu, 02/04/2020
abstract, geometric, world
function pivotal_menu() {

  $items = array();
  $items['admin/config/development/pivotal'] = array(
    'title' => 'Pivotal settings',
    'description' => 'Piv
Pagination
  • First page « First
  • Previous page ‹ Previous
  • …
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Current page 19
  • Page 20
  • Page 21
  • Page 22
  • Page 23
  • Next page Next ›
  • Last page Last »
Subscribe to