Owncloud Setup Tutorial – Ubuntu 14.04 LTS – Bugfixes: php, utf8, untrusted, ssl, apache

1. Preparation - ubuntu 14.04 Long Time Support - Any Edition i386/amd64 - VMware/Native Bootable USB Stick MAC OS X diskutil list diskutil unmountDisk /dev/disk2 hdiutil convert -format UDRW -o Downloads/ubuntu-14.04.2-server-i386 Downloads/ubuntu-14.04.2-server-i386.iso sudo dd if=Downloads/ubuntu-14.04.2-server-amd64.dmg of=/dev/rdisk2 bs=1m diskutil eject /dev/disk2 2. Install Ubuntu Switch to root user (sudo su root) apt-get update apt-get upgrade 2.1 Setup Network nano /etc/network/interfaces Edit according to your settings: auto eth0 iface eth0 inet static address netmask gateway dns-nameservers 3. Database - mysql apt get-install apache2 php5 php5-mysql MySQL Setup: user: root password: password mysql -u root -p create database dbname; CREATE…

1 Comment

COQ – Calculus of Inductive Constructions – Sublime – OS X 10.10.X

0. Preparation As of OS X 10.10 the official coq IDE version (Coq 8.4pl5) is not working. 0.1 Install brew Enter your terminal ans execute: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 0.2 Install coq brew install coq 0.3 Install coqide brew install Caskroom/cask/coqide   1. Install "Sublime Package Control": If for some reason the console installation instructions do not work for you (such as having a proxy on your network), perform the following steps to manually install Package Control: Click the Preferences > Browse Packages… menu Browse up a folder and then into the Installed Packages/ folder Download Package Control.sublime-package and copy it into the Installed Packages/ directory Restart Sublime Text 2.…


Mac OS Yosemite is in the house, but “brew” leaves?

Recently I got an undefined error "0", using brew 0.9.5: /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory /usr/local/bin/brew: line 23: /usr/local/Library/brew.rb: Undefined error: 0 I really do not know, why it is Ruby 1.8 (it is very old) being used here, but typing "ruby -version" leads to the fact, that we currently run Ruby of Version 2.0. So fixing this is pretty simple: 1. Open this file: "/usr/local/Library/brew.rb" (may depend, where exactly you have installed brew to -> see the error message!) 2. Edit the 1st line (replace 1.8 with your current version -> mine = 2.0)…


Fix: Mac OS Yosemite and MATLAB 2014a vs. Java

Fix MATLAB 2014a for Yosemite 10.10 ---------------------------------------------------- 0. Download Patch Fix MATLAB2014a OSX10 Yosemite 1. Right Click "/Applications/MATLAB_R2014a.app" 1.1. Select "Show Package Contents" 1.2. Replace "Info.plist" in "/Applications/MATLAB_R2014a.app/Contents/" with this one 2. Copy "patch" folder into "/Applications/MATLAB_R2014a.app/java/"   Comparison:


SoftCam OSCam example of CAIDs and their usage with OSCam

Content of your oscam.conf file # protocols [newcamd] port = 15000@1702:000000;15001@1833:000000;15002@09C4:000000; 15003@098C:000000;15004@1830:000000;15005@0B00:000000; The Ports are necessary for EyeTV/eyetvCamd/OSCam to know how to communicate with each other. The example line above show us how to access for example Sky.de(15000-15003) HD+(15004) and MTV(15005) cards. If you switch to one of these providers in EyeTV keep in mind that you need to select the according CAID in eyetvcamd to tunnel the port initially. You can get the latest CAIDs  HERE 


Mac OS USB Pendrive Installation has never been easier since Apple!

Apple finally found out that in some cases it'll be a lifesaver to have an OS installation medium :) So they finally integrated a nifty OS X Mavericks USB Pendrive Creator Tool called "createinstallmedia" which can be found within your Mavericks Image file: First download the latest copy of Mavericks from Apples Appstore and type in the following command into your MACs terminal prompt: sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/<PATH TO YOUR USB PENDRIVE> --applicationpath /Applications/Install\ OS\ X\ Mavericks.app/ --nointeraction


Update on SoftCam Toolkit

[UPDATE] Here 07/2014 I am planning on doing a huge update on my SoftCam Toolkit. So currently i am working on the fusion of eyetvcamd, oscam and softcamd. Useability is a big point too... Here is a new version that autostarts your softcams and plugins, when and if eyetv starts: SoftCAMonitor.app


Mac OS pyQt 4.x or 5.x: Solving typical problems (ImportError: No module named PyQt4)

Installation: brew install pyqt Open up terminal and check: 1. "which python" -> Wrong: /usr/bin (Apple) -> Right: /usr/local/bin (brew) 2. "brew doctor" 3. "export" Setup your PATH correctly to /usr/local/bin before /usr/bin -> export PATH=/usr/local/bin:/usr/bin:$PATH Usage: I would recommend using QtCreator to setup a drag and drop User Interface (*.ui) File. Afterwards  we must compile the UI-File into python code (wrap it): pyuic4 mainwindow.ui -o mainwindow.py If you have a Resource File QRC- File too you have to previously do: pyrcc4 mainwindow.qrc -o mainwindow_rc.py Keep in mind to replace the names according to your filenames ;) so... pyrcc4 <resourcefilename>.qrc…


Alias vs. Rsync vs. SSH

A small nifty script, to sync any folder on a local machine to a remote server, and running any command to be executed at the server e.g. in a specified folder alias sync="cd <foldertosync@local> && rsync -avP --progress -e ssh <foldertosync@local> <username>@<serveraddress>:<foldertosync@server> && ssh -X <username>@<serveraddress> -t \"cd <foldertosync@server>; bash --login\""