Skip to content

Instantly share code, notes, and snippets.

View robbiegod's full-sized avatar
🧛‍♂️

Robert Fletcher robbiegod

🧛‍♂️
View GitHub Profile

Mediatemple DV Hosting

TO DO LIST

  1. Enable root permission (BEWARE: there is no going back; only do this if you need complete control over the server)
  2. Install Developer Tools (this setting is located in the same section where you setup root access)
  3. Setup root password.
  4. Setup a domain or subdomain.
  5. Add a new ftp user and set "Access to the server over SSH" to "/bin/bash" (this will let you use putty and command line)
@robbiegod
robbiegod / concrete5.common.code.md
Last active April 22, 2016 15:37
Concrete5 - common code

Concrete5 v5.5.2.1 Common Code Snippets 💥

==========================================

######Output path to theme location <?= $this->getThemePath(); ?>

######Load the required header file <?= Loader::element('header_required'); ?>

######Benefits

@robbiegod
robbiegod / install-imagemagick-mediatemple-dv-server.md
Last active March 14, 2016 04:14
How to install ImageMagick on MediaTemple DV Server

How to install ImageMagick on MediaTemple DV Server

This assumes that you have setup a DV server with root access and have already installed the developer tools in your mediatemple account. You must also create a user and give it SSH access.

SSH into your DV server using Putty

Perform the following commmands to successfully install imagemagick.

Install ImageMagick

yum install ImageMagick*

Create a Temp directory, set it as the temp_dir location and install imagick

<%@ WebHandler Language="C#" Debug="true" Class="name" %>
using System.Web;
public class name : IHttpHandler {
public void ProcessRequest (HttpContext context) {
}

Google Web Designer Notes

How to create a simple loop in google web developer

  1. Create a label at Frame 1 call "LoopAnim".
  2. Add an event on the last frame of your animation.
  3. Double click the event to edit it.
  4. Select "Timeline".
  5. Choose "gotoAndPlayNTimes".
  6. Choose the receiver.
  7. Select the "LoopAnim" from frame 1 in the label drop down menu.
@robbiegod
robbiegod / .gitignore
Created October 5, 2015 16:28 — forked from salcode/.gitignore
.gitignore file for WordPress - Bare Minimum Git
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20150227
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
@robbiegod
robbiegod / config.json
Created November 24, 2015 16:18 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 46.7%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
@robbiegod
robbiegod / index.html
Last active November 23, 2015 17:56
jQuery Basic Tab Setup
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Basic jQuery Tabs Content</title>
</head>
<body>
<p>Be sure to load jquery into the page</p>
@robbiegod
robbiegod / .htaccess
Created November 23, 2015 17:35
Wordpress .htaccess starter file for Rackspace Cloud Sites (possibly others)
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
@robbiegod
robbiegod / MultipleGoogleRecaptchas.html
Last active November 18, 2015 15:38
Load multiple Google reCaptchas 2.0 into a single page.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Multiple Google reCaptchas 2.0 w/ CaptchaCallback</title>
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//www.google.com/recaptcha/api.js?onload=CaptchaCallback&render=explicit" async defer></script>
</head>
<body>