Git subproject notes

I want  to use a project as a tool-set for a big ole work project. The sub-project isn’t mine, I don’t have access to the code, I will probably need to update it as a component of my big project.

Some good reading here: https://hpc.uni.lu/blog/2014/understanding-git-subtree/

Some of my first tip-toe basic understanding.

# Straight subtree pulls the dependency into local directory
git subtree add --prefix CMB2 https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress.git master --squash

Apparently this can get better if you use the

git remote command.


# Setup dependency as a remote
git remote add -f Custom-Metaboxes-and-Fields-for-WordPress https://github.com/WebDevStudios/CMB2.git

# Fetch information about remote
git fetch Custom-Metaboxes-and-Fields-for-WordPress master

# Add remote to subdirectory and pull master branch
git subtree add --prefix=CMB2 --squash CMB2/master

# Update remote down into local directory
git subtree pull --prefix CMB2 CMB2 master --squash

With the remote added we should be able to update the dependency project by doing a subtree pull. Remember the sub-project is not mine but it will need updating.

git subtree pull --prefix Custom-Metaboxes-and-Fields-for-WordPress Custom-Metaboxes-and-Fields-for-WordPress master --squash

Happiness, welcome heavy ghosts, and Neutral Milk Hotel

Caidy took this picture and I love the blurry darkness since it matches my feeling  of joy and melancholy watching them play.

I felt good heavy weight of love for people I know would be there in spirit if such things were possible. Happiness and thanks for such wonderful artists. It was nice to see them again.

Jess & Caidy's at Neutral Milk Hotel

WP Super Edit 2.4.7

This is the “Things might be a mess around here, but I’m still working release” for WP Super Edit 2.4.7. There are no new features or major changes for this release. This update should fix a couple of issues.

  1. Migrate from depreciated WordPress functions.
  2. Update included TinyMCE plugins to TInyMCE 3.5.8

You are welcome to contact me about current issues, or leave a comment here. I am incredibly busy, but I hope to try to keep up with issues as much as I can.

Here’s the source article http www frederico araujo…

Here’s the source article:
http://www.frederico-araujo.com/2011/07/30/installing-rails-on-os-x-lion-with-homebrew-rvm-and-mysql/

My goals here are to update an environment and move to a new Susy release: http://susy.oddbird.net/

1. Install and upgrade XCode from the Mac App Store (4.3.2 in this case). Also install the Command Line Tools found in the Preferences pane.

2. Install Homebrew. Not entirely necessary, but I’m enjoying it lately.

Install Homebrew Package Manager
$ /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

3. Install RVM – Ruby Version Manager

// Install RVM
$  bash -s master < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
// Reset some paths
$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
// Run to reset your open terminals
$ source ~/.bash_profile
// Make sure RVM is updated
$ rvm get stable
// Had to do a reinstall for Ruby stable
$ rvm reinstall 1.9.3-p194
// Use Ruby 1.9.3-p194
$ rvm use 1.9.3-p194 --default
// Check my ruby version
$ ruby -v

4. Install Compass

// Make sure all is good
$ sudo gem update --system
// Some XML Tools
$ sudo gem install builder
// Install Compass
$ sudo gem install compass
// Here's where things went wacky, so Installed the kitchen sink - over-install-panic-attack!
$ sudo gem install haml
$ sudo gem install haml-edge
$ sudo gem install rails
// Oh it's a damn bug see: 
// http://stackoverflow.com/questions/10610254/cant-install-compass-via-rvm
$ rubygems-bundler-uninstaller
// Test Compass
$ compass version

5. Install my favorite Compass add-ons

// Oily_PNG to for sprite creation performance
$ sudo gem install oily_png
// Susy because grids are awesome - Now this will install some alpha SASS and Compass code but why not.
$ sudo gem install susy --pre
// Normailze CSS sortof-reset
$ sudo gem install compass-normalize