Skip to content

Instantly share code, notes, and snippets.

View mdrmike's full-sized avatar

mike stewart mdrmike

View GitHub Profile
@mdrmike
mdrmike / WAPRO--1507.md
Last active August 29, 2015 14:24
Long Beach Web and Application Professionals -- Jul 2015

Long Beach Web and Application Professionals -- Jul 2015

http://www.waprolb.org/meetup/2015/07/

News and Announcements

  • Please add comments & meeting resources (such as slides/links, etc) on www.waprolb.org/meetup/
  • Uncoded Initiatives: WAPRO. Coffee & Code. Hack Nights. More groups!! ... Maker Labs (LBPL has a lab)? Drone racing. Art/Designers in Tech. PR in tech. CSULB/LBCC, looking at you? How do you get involved?
    1. Lead. Find and commit to doing something you're passionate about. Regularly.
  1. Do it. (build-it. they will come).
@mdrmike
mdrmike / README.md
Last active November 10, 2015 15:47 — forked from rjorgenson/README.md
My ZSH Theme

agnoster.zsh-theme

forked by rjorgenson

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
  • NVM
  • RVM
@mdrmike
mdrmike / Liquid-Theming_array-examples.md
Last active November 26, 2015 17:04
Jekyll / Liquid theming array examples
--
title:
layout: post
foo:
  - bar: Lorem ipsum
    baz: Dolor sit amet, consectetur adipiscing elit. Sed arcu tortor, posuere in nisl vel, finibus blandit est. Nulla scelerisque erat nisl, in ornare massa posuere vitae
    qux: Curabitur egestas purus ut nulla sollicitudin sodales. Curabitur tincidunt suscipit purus ac consectetur. 
  - bar: Pellentesque fringilla
    baz: Augue quis leo finibus porttitor. Cras varius nulla quis quam tincidunt lacinia. Nam at nulla quis ipsum fermentum maximus. Ut arcu enim, consectetur vel justo a, venenatis varius elit. Cras malesuada lorem ut sapien pulvinar, ut ullamcorper massa pretium. Proin pellentesque odio lectus, eget posuere enim egestas a. Cras consectetur rhoncus scelerisque.
@mdrmike
mdrmike / HOWTO: Drupalpro --Manually Setup Website.md
Last active November 26, 2015 17:39
HowTo: Manually Setup a New Website in Drupalpro

How to Setup a New Website

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

This is an example of how to use Drupalpro, to manually setup a Drupal7 website called foobar.dev. This does not make use of the addon drush scripts to automate the process, but demonstrates how to manually add a website.

OVERVIEW

  • Create website root folder
@mdrmike
mdrmike / Ubuntu-1404--Desktop--addons.sh
Last active December 1, 2015 16:46
Ubuntu 14.04 useful PPA & utility installs
#!/bin/bash
# Copyright (C) 2015 Mike Stewart.
# Permission is granted to copy, distribute and/or modify this document
# under the terms of the GNU Free Documentation License, Version 1.3
# or any later version published by the Free Software Foundation;
# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
# A copy of the license is included in the section entitled "GNU
# Free Documentation License".
# This script was written for cut & paste into a terminal shell, but it
@mdrmike
mdrmike / ubuntu1404-webserver-build.sh
Last active February 4, 2016 23:16
Bash script to Setup Ubuntu 14.04 + Nginx + PHP-FPM + Maria and other optional tools based on for https://gist.github.com/mdrmike/2fb54d72bd9c4075dd5e
#!/bin/bash
# Setup Script to configure Ubuntu 14.04 as an NGINX webserver configured for
# Drupal. This script will install and configure NGINX + PHP5-FPM + MARIADB and
# Optionally instal and configure additional development and desktop software.
#
# THE MIT LICENSE
# Copyright (C) 2014, Michael Stewart www.zaferia.net
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
@mdrmike
mdrmike / Ubuntu 14.04 + NGINX + PHP5-FPM + MARIADB.md
Last active February 4, 2016 23:17
Ubuntu 14.04 NGINX WebServer for production, development, and/or desktop use.

UPDATE UBUNTU 14.04

sudo apt-get update
sudo apt-get -y upgrade

CORE INSTALL

note: you'll need to enter a root password for mysql

sudo apt-get -y install nginx php5-fpm php5-cli php5-gd mariadb-server-5.5

Optional: Install Development related apps

sudo apt-get -y install git phpmyadmin

@mdrmike
mdrmike / Gemfile
Last active March 17, 2016 05:20
Jekyll Gemfile for github pages and Travis-CI
# Gemfile to setup Jekyll for use with Github pages hosting
# Based on
# - https://jekyllrb.com/docs/github-pages/
# - https://jekyllrb.com/docs/continuous-integration/
source 'https://rubygems.org'
require 'json'
require 'open-uri'
versions = JSON.parse(open('https://pages.github.com/versions.json').read)