Skip to content

Instantly share code, notes, and snippets.

View pietsch's full-sized avatar

Christian Pietsch pietsch

View GitHub Profile
@pietsch
pietsch / guess_encoding
Created March 5, 2014 16:10
guess_encoding from openSUSE's kbd package
#! /usr/bin/perl -w
#
# encoding.pl -- guess charset encoding
#
# (C) 2007, [email protected], Novell Inc.
# Distribute under GPLv2
#
# 2006-12-05, jw, V0.1 -- only framework.
# 2007-01-23, jw, V0.2 -- utf8 and latin1 for ttys.
# 2007-02-08, jw, V0.3 -- utf8 and latin1 for files.
@pietsch
pietsch / gist:a74f810277a52f3a0fb9
Last active February 17, 2016 10:35
How to install GitLab CI on openSUSE 12.3 GNU/Linux

Installing GitHub CI 5.0 on openSUSE 12.3

Although this GNU/Linux distro is not supported, were are already running GitLab on an openSUSE server, so let's see if we can set up a GitLab CI (Continuous Integration) server on openSUSE, too. These notes are basically a translation of http://doc.gitlab.com/ci/install/installation.html to SuSE. See also other unofficial GitLab installation guides: https://github.com/gitlabhq/gitlab-public-wiki/wiki/Unofficial-Installation-Guides

1. Packages / Dependencies

Installing the prerequisites is already a hassle, but I was able to map most of the Debian package names to SuSE's naming scheme using distromatch. So here we go:

sudo ln -s /usr/bin/vi /usr/local/bin/editor  ## give your favourite text editor a standard name