Skip to content

Instantly share code, notes, and snippets.

View jphustman's full-sized avatar
💭
Testing on Prod

Jeremey Hustman jphustman

💭
Testing on Prod
  • Juneau, Alaska
  • 21:55 (UTC -08:00)
View GitHub Profile
@jphustman
jphustman / gist:f35eee5eff763561a4754a115cdcf992
Created July 11, 2016 23:15
code.google.com ConvertingSvnToGit
ConvertingSvnToGit
Moving a project from using Subversion for code hosting to Git
git Updated Mar 26, 2013 by jasonhall@google.com
Convert your project from Subversion to Git
Follow the following instructions to switch your project from Subversion to Git:
Go to your existing open source project, choose the Administer tab, and then choose the Source sub-tab.
Change the repository type to Git
Import your code into the Git code repository as described in the 'How to Convert Subversion History to Git' section below
In the same manner you imported your code, import your wiki into the Git wiki repository. Make sure to use the path of the wiki in your subversion repository (e.g. http://projectname.googlecode.com/svn/wiki) and the Hg wiki repository (http://code.google.com/p/projectname.wiki/)
gulp.task('install', function () {
return gulp.src(['./bower.json', './package.json'])
.pipe($.install());
});
gulp.task('vendor-scripts', ['install'], function () {
return gulp.src(wiredep().js)
.pipe(gulp.dest(config.tmp + '/vendor'));
});
@jphustman
jphustman / gist:5516515
Last active December 16, 2015 23:49
Fedora 18 x64 LAMP + Railo 4.0

** Install LAMP ** It seems like I keep figuring this out over and over, so here are the steps.

#Fedora 18, install LAMP from here works great for me
http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-fedora-18-lamp

# Get the Apache server headers
yum install httpd-devel -y

** Railo 4.0 **

@jphustman
jphustman / gist:5516165
Last active December 16, 2015 23:49
Installing Railo 4.0 on CentOS 5.9 x86_64 (with cPanel/WHM)

Step one:

#Run EasyApache within WHM to include required PHP and Apache modules.
#Mod_perl is required for Railo.

Step two:

#Remove yum locks (made by WHM)
vi /etc/yum.conf

#Comment out line 2 starting "exlude="

@jphustman
jphustman / .jshintrc
Last active December 14, 2015 23:19 — forked from haschek/.jshintrc
Updated strict JSHint configuration (no comments allowed in JSON)
{
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"es3": true,
"forin": true,
"immed": true,
"indent": 4,
"latedef": true,