Skip to content

Instantly share code, notes, and snippets.

Frank Meus fmeus

Block or report user

Report or block fmeus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:b75c40291653762f44badf0b87dfcee7

Steps to migrate from SVN to GitLab

This process worked for me. I take no responsibility for any damage or loss incurred as a result of following or not following these steps or, for that matter, anything else you might do or not do.

Setup

  • SVN is hosted at svn.domain.com.au.
  • SVN is accessible via http (other protocols should work).
  • GitLab is hosted at git.domain.com.au and:
@fmeus
fmeus / gist:3b40f03cae2892f768ce99bc6938e3c4
Created Sep 25, 2016 — forked from reidransom/gist:6042016
Auto-starting VirtualBox VMs on OS X
View gist:3b40f03cae2892f768ce99bc6938e3c4

Auto-starting VirtualBox VMs on OS X

After finding a lot of other posts on the topic that didn't work out for me this one did the trick so I'm reposting for my own sense of self preservation.

Link to original article.

Copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.

sudo cp \
    /Applications/VirtualBox.app/Contents/MacOS/org.virtualbox.vboxautostart.plist \
View 2015-08-25-improving-code-highlighting.md

Date: 25/08/2015 Permalink: improving-code-highlighting Tags: blogging, styling, jquery, html

Improving code highlighting

Since I have turned on line-numbering for code blocks, it gets applied to all blocks of code. This has a couple of downsides

  • Numbering and syntax-highlighting gets applied to every code block regardless if it is displaying programming code or not
  • Line-numbering always starts at line 1, when sometimes the code displayed is an excerpt of a larger piece
You can’t perform that action at this time.