Create location of your go code 1~$ mkdir /mnt/c/learning/go Get the suggested golang init script It is in separate post in my quicktasks and don't forget to make it executable. For this quicktask, I assume you named it init.sh as well. Create and go to project directory 1~$ mkdir local_module_example 2~$ cd …
Read More1~$ mkdir greetings 2~$ cd greetings 3~$ go mod init example.com/greetings In a text editor, create greetings.go with the following content: 1package greetings 23import "fmt" 45// Hello returns a greeting for the named person. 6func Hello(name string) string { 7// Return a greeting that embeds the name in a …
Read More1drush dl og-7.x-1.3 2drush en og-7.x-1.4 More details in https://www.drupal.org/node/1499548
Read MoreRemi modules are installed in non-standard location. Geerlingguy's ansible role harmonizes it and install it in standard locations. So, if you're not familiar with standard locations, just do the following trick NOTE: In this case, I installed the memcache module for php7.1 from Remi's repo. 1yum install -y …
Read MoreYou need to add a "marker" in order NOT to overwrite current content. For example usage, see github.com/promet/pstools.git and head over to promet-ansible branch & ansible-promet-apacheconfig/tasks/main.yml Syntax guide https://docs.ansible.com/ansible/latest/modules/blockinfile_module.html Some tutorial …
Read MoreAdd this to Dockerfile 1RUN docker-php-ext-install mysqli See details in https://github.com/docker-library/php/issues/279
Read More1[me@common-dev default]$ drush pm-download stage_file_proxy 2Project stage_file_proxy (7.x-1.8) downloaded to /var/www/sites/project.example.com/www/sites/all/modules/contrib/stage_file_proxy. [success] 3[me@common-dev default]$ drush pm-enable --yes stage_file_proxy 4The following module has moved within the file …
Read More