# modify install script
curl https://raw.github.com/jbhannah/gitlab-installer/master/gitlab-install-el6.sh > gitlab-install-el6.sh
chmod 744 gitlab-install-el6.sh
sed -i "s/https:\/\/raw\.github\.com\/gitlabhq\/gitlab-recipes\/master\/apache\/gitlab/https:\/\/raw\.github\.com\/gitlabhq\/gitlab-recipes\/master\/web-server\/apache\/gitlab\.conf/g" gitlab-install-el6.sh
sed -i "s/https:\/\/raw\.github\.com\/gitlabhq\/gitlabhq\/master\/lib\/support\/init.d\/gitlab/https:\/\/raw\.github\.com\/gitlabhq\/gitlab-recipes\/master\/init\/sysvinit\/centos\/gitlab-unicorn/g" gitlab-install-el6.sh
sed -i "s/GL_GIT_BRANCH=\"6-0-stable\"/GL_GIT_BRANCH=\"6-2-stable\"/g" gitlab-install-el6.sh
Update 2020 Edition: Use something like Airsonic instead. Subsonic's code is closed source at this point, and thus this patch is useless, unless you are using a 9 year old verison of Subsonic for some reason.
A patch to disable the licensing functionality in Subsonic, a GPL-licensed media streaming server/web interface. Use of the mobile apps requires you to get a license after 30 days of trial. You obtain a license via donation.
Except that's not a donation. So, here's a patch to fix that. Support the Subsonic project with a donation that's actually a donation. The program is developed and maintained very well.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Sub AddNewMenu() | |
On Error GoTo ErrHand | |
Dim cbrCmd As CommandBar | |
Dim cbcMenu As CommandBarControl | |
Set cbrCmd = Application.CommandBars("Worksheet Menu Bar") | |
cbrCmd.Controls("方眼紙").Delete |