Go to the issue you need the patch for: https://www.drupal.org/project/x_frame_options/issues/3139026

Click on the plain diff link for the branch you need:

Plain diff

Copy the url of the page you are sent to!

https://git.drupalcode.org/project/x_frame_options/-/merge_requests/3.diff

Tags

drush ev 'module_load_install("module_deployment"); module_deployment_update_7299(); drupal_cache_flush_all();'

Tags

find / -mount -noleaf -type f -size +100000k -print0 | xargs -0 ls -lhSr | perl -ne '/(\S+\s+){4}(\S+)\s+(\S+\s+){3}(.*)/ and printf("%*s %s\n",7,$2.":",$4);'

find / -xdev -type f -size +100M -exec du -h {} \; | sort -rn

Tags

https://www.samltool.com/fingerprint.php

Tags

Aegir 2 on ubuntu 12.04

 

sudo apt-get update

sudo apt-get upgrade

 

APACHE

sudo apt-get install apache2

sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.backup.conf

 

sudo vim /etc/apache2/apache2.conf

 

<IfModule mpm_prefork_module>

StartServers 2

MinSpareServers 6

MaxSpareServers 12

MaxClients 30

MaxRequestsPerChild 3000

</IfModule>

 

sudo service apache2 restart

 

sudo a2enmod rewrite

Tags

https://www.thefanclub.co.za/how-to/how-install-memcached-on-ubuntu-for-...

sudo vim /etc/php5/conf.d/memcache.ini
Add the following line to the file and save :
extension=memcache.so
If you intend to use memcached with Drupal also add the following line to your php.ini or memcache.ini file and save :
memcache.hash_strategy="consistent"
sudo vim /etc/memcached.conf

For changing the firewall I went to:

sudo vim /etc/iptables.firewall.rules

Tags

When installing a site on aegir clean urls were enabled and could not be disabled through the gui or drush.

I ended up inserting ?q= manually to log in and get to the page.

I visited https://drupal.org/comment/reply/5590#comment-form

and was able to disable clean urls using the settings.php method.

$conf['clean_url'] = 0;

Then by using the aegir user I edited the file at /var/aegir/config/server_master/apache/vhost.d/examplesite

I added the following lines

Tags

docker run "DOCKER NAME"

In folder with Dockerfile

docker build -t "DOCKER NAME" .

docker run -p 12344:80 -it "DOCKER NAME"

docker images

Remove
docker rmi $(docker images | grep "^" | awk "{print $3}")
docker rmi $(docker images -q --filter "dangling=true")

# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)

Tags

If you are using Redhat (RHEL)/Fedora Core/Cent OS Linux use the following command :

/etc/init.d/crond stop
drush vdel cron_last

Tags

MaxRequestLen 2147483648
FcgidMaxRequestLen 2147483648

Note the comment:
Important to note if you are coming from Media temple:
/var/www/vhosts/your_domain_name_here/conf/last_httpd_ip_default.include
Gets overwritten on some updates: the file says to user
your_domain_name_here/conf/vhosts.conf which works.

Tags