Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Tobi Muhamad tobidsn

Block or report user

Report or block tobidsn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tobidsn
tobidsn / s3mysqlbackup.sh
Created Sep 24, 2018
Backup MySQL to Amazon S3 Specific Table
View s3mysqlbackup.sh
#!/bin/bash
# Based on https://gist.github.com/2206527
# Be pretty
echo -e " "
echo -e " . ____ . ______________________________"
echo -e " |/ \| | |"
echo -e "[| \e[1;31m♥ ♥\e[00m |] | S3 MySQL Backup Script v.0.1 |"
echo -e " |___==___| / © oodavid 2012 |"
@tobidsn
tobidsn / install-comodo-ssl-cert-for-nginx.rst
Created Oct 12, 2017 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.
View install-comodo-ssl-cert-for-nginx.rst

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

View gist:bde8a52be6e63911c9da93cd884d5d03
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
include_once '../../app/Mage.php';
$ido = $_GET['ido'];
Mage::app('admin');
try {
$order = Mage::getModel('sales/order')->loadByIncrementId($ido);
$order = $order->debug();
You can’t perform that action at this time.