Skip to content

Instantly share code, notes, and snippets.

View ukos-git's full-sized avatar

matthias ukos-git

  • University of Würzburg, Germany
  • germany
View GitHub Profile
@ukos-git
ukos-git / test.json
Created April 26, 2019 11:32
plotly test
{
"data": [
{
"x0": 0,
"dx": 1,
"y": [
0,
1,
8,
27,
@ukos-git
ukos-git / vpn-uniwue.sh
Created December 1, 2018 16:14
connect to vpn of university wuerzburg, germany (add credentials to separate conf file)
#!/bin/bash
#set -e
# script to connect to uni wuerzburg vpn
# https://www.rz.uni-wuerzburg.de/dienste/it_sicherheit/vpn/
#
# cisco password found by Chunguang Liang
# http://drliang.blogspot.de/2013/02/how-to-connect-vpn-of-uni-wuerzburg-via.html
LOG_FILE="/var/local/log/vpn-uniwue.log"
@ukos-git
ukos-git / bashrc_debian_red
Created August 1, 2018 16:25
red color prompt for the hostname
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@ukos-git
ukos-git / install-office2013.sh
Last active November 12, 2024 19:37
install microsoft office 2013 pro
#!/bin/bash
check_wine() {
if ! wine --version | grep -e 'wine-2'
then
echo "consider installing wine-2.1"
apt-cache policy wine32 wine-development
exit 1
fi
}
@ukos-git
ukos-git / patch-vmware12.sh
Last active September 8, 2018 08:48
download and patch vmware 12.5.9 from mkubecek's repo
#!/bin/bash
#
# script for downloading and installing
# https://github.com/mkubecek/vmware-host-modules
#
# License GPL
#
CWD=$(pwd)
VMWARE_VERSION="workstation-12.5.9"
@ukos-git
ukos-git / arch2debian-vmware-patches
Created February 13, 2018 20:15
workaround for vmware-patches from arch git repository to work with debian.
#!/bin/bash
#
# workaround for vmware-patches from arch git repository to work with debian.
# fixes by ukos-git
# License GPL
#
# arch git source (License GPL)
# https://aur.archlinux.org/packages/vmware-patch/
# https://wiki.archlinux.org/index.php/Vmware
#
#!/bin/bash
#
# source: https://askubuntu.com/questions/1002349/install-a-program-automatically-with-terminal-which-has-menus
# dependencies: sudo imagemagick xvfb
# constants
SERVERNUM=99
SCREENSHOT=status.png
CROSSWORKS_PID=
XVFB_PID=