Skip to content

Instantly share code, notes, and snippets.

View arm1n's full-sized avatar

Armin Pfurtscheller arm1n

View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
classNames:['c-box-body']
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Page Title issue #37'
});
@arm1n
arm1n / controllers.application.js
Last active January 4, 2017 09:07
ember-page-title issue #37
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Page Title issue #37'
});
@arm1n
arm1n / phpswap
Created February 2, 2013 13:31
This is a convenience script to switch between different php5 versions installed via macports. The script simply changes the httpd.conf file located in /opt/local/apache2/conf/httpd.conf with sed. It's believed that you have installed your php versions with 'sudo port install php5x-apache2handler'.
#!/bin/bash
#-------------------------------------------------------------------------------
# PHPSWAP for changing php5 versions installed via macports in apache2 config.
#
# @author armin.pfurtscheller@locandy.com
# @license MIT License
#
# Kindly referring to the following useful help pages:
# http://mark-story.com/posts/view/maintaining-two-versions-of-php-with-macports