Skip to content

Instantly share code, notes, and snippets.

View SpiZeak's full-sized avatar

Max SpiZeak

View GitHub Profile
@SpiZeak
SpiZeak / svn2git.sh
Last active May 14, 2020 12:32 — forked from mlocati/svn2git.sh
Convert SVN repository to GIT
#!/bin/bash
# This script was written for Ubuntu 14.04 and 16.04
# Other operating systems may need a few changes
WORK_DIR=~/svn2git
AUTHORS_FILE=$WORK_DIR/authors.txt
GITDIR_DIRTY=$WORK_DIR/dirty
GITDIR_FINAL=$WORK_DIR/final
@chrisvasey
chrisvasey / .htaccess
Created August 7, 2017 08:43
Bedrock .htaccess for shared hosting - rewrite to /web directory
Options -Indexes
# .htaccess primary domain to web redirect
# this file must be in the (public_html | web ) folder of your hosting account
# make the changes to the file according to the instructions.
<IfModule mod_rewrite.c>
# Do not change this line.
RewriteEngine on
# Change %host% to be your primary domain.