Skip to content

Instantly share code, notes, and snippets.

View mdrmike's full-sized avatar

mike stewart mdrmike

View GitHub Profile
##------------------------------------
# NGINX VHOST TEMPLATE FOR DRUPALPRO
#-------------------------------------
#
# FIND AND REPLACE ##=VARIABLES==
# ##==SERVER_TLD== -- FQDN (aka URL)
# (multiple comma separated URI's is ok).
# Example: foobar.dev, *.foobar.dev, AwesomeWebsite.com
#
# ##==PATH_TO_SITE== -- ABSOLUTE PATH TO DRUPAL
@mdrmike
mdrmike / php_drupalpro.ini
Created May 14, 2014 22:04
php5 php_drupalpro.ini overrides for Drupal
; PHP overides for Drupal development
; copyright 2014 Michael Stewart and Licensed under GNU General Public License 3.0: http://www.gnu.org/licenses/gpl.txt
; NGINX REQUIREMENTS
cgi.fix_pathinfo=0
; DRUPAL REQUIREMENTS
; BASED ON https://drupal.org/requirements/php
error_reporting = E_ALL & ~E_NOTICE
safe_mode: Off
@mdrmike
mdrmike / TEMPLATE_drupalpro.conf
Last active August 29, 2015 14:14
NGINX VHOST TEMPLATE FOR DRUPALPRO
##------------------------------------
# NGINX VHOST TEMPLATE FOR DRUPALPRO
# Based on: http://wiki.nginx.org/Drupal
#-------------------------------------
#
# FIND AND REPLACE ##__VARIABLES__## in text editor
#
# ##__SERVER_TLD__## -- FQDN (aka URL) Example: foobar.dev, *.foobar.dev, AwesomeWebsite.com (multiple comma separated URI's is ok).
# ##__PATH_TO_SITE__## -- ABSOLUTE PATH TO DRUPAL Example: /home/drupalpro/websites/foobar.dev/www
# ##__D7_D8__## Drupal 7-8, Find & ERASE these variables
@mdrmike
mdrmike / LBWP--1502.md
Created January 28, 2015 19:35
Long Beach Web and Mobile Professionals -- news Feb 2105 (WIP)
#!/bin/bash
PROGRAMS="$HOME/Programs"
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
@mdrmike
mdrmike / notes-MEAN
Last active August 29, 2015 14:15
Notes: Scale13x MEAN Stack
* cloud9: ide.c9.io
* iojs https://iojs.org/en/index.html
* https://github.com/google/traceur-compiler
* https://github.com/google/
* ecmascript 6 : https://www.google.com/search?client=ubuntu&channel=fs&q=full+stack+javascript+development+with+pies&ie=utf-8&oe=utf-8#newwindow=1&channel=fs&q=ecmascript%206
* http://github.com/c9/architect
* https://www.polymer-project.org/
* express: stackoverflow.com/questions/19411135/what-does-express-js-do-in-the-mean-stack#answer-19411233
* jade (templating) sass
* gss (grid stylsheets)
@mdrmike
mdrmike / scale13-notes.polymer.md
Last active August 29, 2015 14:15
Polymer with Pandas
  • polymer: paper element
  • webcomponents.js
  • flexbox

framework: ember, angular, backbone dart, typescript

`

<script src="webcomponents/webcomonents.js"></script>
@mdrmike
mdrmike / WAPRO--1503.md
Last active August 29, 2015 14:17
Long Beach Web and Mobile Professionals -- Mar 2015

Long Beach Web and Mobile Professionals -- March 2015

News and Announcements

Events

  • New! Weekly: Saturday Mornings, Code & Coffee
  • TAFF Expo on.fb.me/1I0jrNS
  • LBTech: reorganizing of the Board ... DW stepped down as Executive Director. Added Michael Evans as Treasurer. Eventually looking to expand the Board and add also looking for Advisory members.
@mdrmike
mdrmike / c9-sculpin-setup.sh
Last active August 29, 2015 14:17
sculpin install on c9.io
#!bash
cd
mv workspace workspace-orig
mkdir workspace
sudo apt-get update
sudo apt-get -y install php5-curl # needed by composer to install dependencies
curl -O https://download.sculpin.io/sculpin.phar && chmod +x sculpin.phar
sudo mv sculpin.phar /usr/local/bin/sculpin
git clone https://github.com/sculpin/sculpin-blog-skeleton.git ~/workspace/sculpin