This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir /tmp/curl-ca-bundle | |
cd /tmp/curl-ca-bundle | |
wget http://curl.haxx.se/download/curl-7.22.0.tar.bz2 | |
tar xzf curl-7.22.0.tar.bz2 | |
cd curl-7.22.0/lib/ | |
./mk-ca-bundle.pl | |
if [ ! -d /usr/share/curl/ ]; then | |
sudo mkdir -p /usr/share/curl/ | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a custom view to load popup widget js | |
custom/modules/{module}/views/view.detail.php | |
<?php | |
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); | |
require_once('include/json_config.php'); | |
require_once('include/MVC/View/views/view.detail.php'); | |
class po_purchaseOrdersViewDetail extends ViewDetail { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################################## | |
### The perfect Varnish configuration for Joomla, WordPress & other CMS based websites ### | |
########################################################################################## | |
IMPORTANT: Read this before implementing one of the configuration files below (for either Varnish 3.x or 4.x+). | |
USE: Replace the contents of the main Varnish configuration file located in /etc/varnish/default.vcl | |
(root server access required - obviously) with the contents of the configuration you'll use (depending on your Varnish version) | |
from the 2 examples provided below. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
HE-2-4 Copyright (C) 2014 Liam Stanley | |
License: Eiffel Forum License, version 2 | |
- https://links.ml/FFa1 | |
Website: https://liamstanley.io | |
NOTE: THIS IS FOR KVM BASED SERVERS ONLY. | |
I'M NOT ADDING CUSTOM CHECKS TO SEE IF | |
YOU'RE USING KVM. | |
""" |