Skip to content

Instantly share code, notes, and snippets.

Adam Culp adamculp

View GitHub Profile
@adamculp
adamculp / ubuntu13.04_basebox_creation
Last active December 18, 2015 08:08
How I built an Ubuntu 14.04 base box for Vagrant
1. Install VirtualBox (4.3.10 for this writing)
2. Install Vagrant (1.6 for this writing)
3. Download Ubuntu 14.04 64bit Server ISO
4. Crate a new VM with following criteria:
a. 40 GB hard drive, set to dynamically resize
b. 360 MB RAM
c. Network set up as NAT
@adamculp
adamculp / keybase.md
Last active February 17, 2017 21:12
keybase.md

Keybase proof

I hereby claim:

  • I am adamculp on github.
  • I am adamculp (https://keybase.io/adamculp) on keybase.
  • I have a public key whose fingerprint is EFD0 7E36 95BE 887D 940A 263B 9698 58F8 43C7 815E

To claim this, I am signing this object:

@adamculp
adamculp / Building great products - workshop
Last active August 29, 2015 14:16
Basic outline of a talk by the same title
Building Great Products
=======================
1. Intro
a. talk
b. me
2. Vision realized
a. "Like Facebook" already failed
b. it's your baby
c. target customer
Building Great Products
=======================
1. Intro
a. talk
b. me
2. Vision realized
a. "Like Facebook" already failed
b. it's your baby
c. target customer

Virtual Machine Setup for Zend Expressive Workshop

Welcome, the workshop is hands-on where you will actually be coding while you learn. (it's the best way to learn) This setup will help you with the following:

  1. Install VirtualBox
  2. Install Vagrant
  3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
  • The PHP version in the VM is version 7
  1. Set up the needed files within the VM for the hands-on portion of the workshop at /home/vagrant/workspace/
  • This will include an expressive folder where you will code, and an expressive-final folder with a completed version of the labs for you to use as a resource.
@adamculp
adamculp / replace_php_short_tags.sh
Last active February 24, 2023 15:53 — forked from ma2thieu/replace_php_short_tags.sh
replace php short tags (<?) with long one (<?php)
#!/bin/bash
# purpose of these lines are to change short PHP tags to the full "<?php" style tag version
# PHP version 7+ has deprecated short tags
# first short PHP tags with something that is not a letter after
find . -iname "*.php" -print0 | xargs -0 -I{} sed -i -r 's/(<\?)([^a-zA-Z])/\1php\2/g' '{}'
# then find short PHP tags at end of line
find . -iname "*.php" -print0 | xargs -0 -I{} sed -i -r 's/<\?$/<\?php/g' '{}'
@adamculp
adamculp / Dockerfile
Created August 11, 2017 17:50 — forked from SammyK/Dockerfile
Writing tests for php-src: Docker setup
FROM ubuntu:16.04
MAINTAINER Sammy Kaye Powers
RUN apt-get update \
&& apt-get install sudo vim git -y \
&& apt-get install build-essential autoconf valgrind -y \
&& apt-get install re2c bison -y \
&& apt-get install libxml2-dev locales lcov -y
@adamculp
adamculp / readme.md
Created August 11, 2017 17:50 — forked from SammyK/readme.md
Northeast PHP Hack-a-thon notes

Northeast PHP Hack-a-thon (php-src) 2017

  • Set up GitHub account + add your SSH keys
  • Fork php-src repo to your GitHub account
  • Clone source (or use USB stick) & cd into directory
  • Update origin remote URL with your fork
$ git remote set-url origin {your-fork-URL}
@adamculp
adamculp / practical-php-deployment-workshop.md
Last active September 1, 2017 13:22
Practical PHP Deployment Workshop

Virtual Machine Setup for Practical PHP Deployment Workshop

Welcome, the workshop is hands-on where you will actually be coding while you learn. (it's the best way to learn) This setup will help you with the following:

  1. Install VirtualBox
  2. Install Vagrant
  3. Using Vagrant and VirtualBox set up an Ubuntu 16.04 desktop virtual machine (VM) running a LAMP environment
  • The PHP version in the VM is version 7
  1. Set up the needed files within the VM for the hands-on portion of the workshop at /home/vagrant/workspace/
  • This will include an expressive folder where you will code, and an expressive-final folder with a completed version of the labs for you to use as a resource.
@adamculp
adamculp / Jenkins-Plugins.md
Last active September 7, 2017 00:00
These are the typical plugins I install for Jenkins
  1. Build Pipeline Plugin OR Deliver Pipeline Plugin (preferred)
  2. Clone Workspace SCM plugin
  3. x CloudBees Folder Plugin
  4. Copy Artifact Plugin
  5. Join Plugin
  6. PostBuild Script Plugin