Clone (disk to disk) Ubuntu (14.x) LVM2 to a larger harddisk with Clonezilla and GParted and allocate free space within Ubuntu

How to clone Ubuntu 14.04.5 LTS (GNU/Linux 3.16.0-30-generic i686) to a larger disk? In the following I'll go through the process of expanding a lvm2-pv image that holds ubuntu-root to a larger disk!   A Clonezilla --- A1 Prepare LIVE USB (clone clonzilla http://clonezilla.org/downloads.php via etcher https://etcher.io to usb pendrive) A2 Boot your Clonezilla LIVE via USB A3 Clonezilla live (Default settings, VGA 800x600) Choose language Choose keyboard layout Choose "Start Clonezilla" Choose "device-device" (work directly...) Choose "Beginner" Choose "disk_to_local_disk" Choose source disk Choose target disk Choose -sfsck Choose -pa choose Start Cloning (accept confirmations) Choose poweroff   B Gparted ---…

0 Comments

CUDA (8.x, 9.x) problems with MATLAB (2017b) and Mac OS (10.12.6)

No matter if you mess around with energy savings ("GPU auto switch") or force your GPU to select either intern or discrete GPU mode ("gfxCardStatus" application): this thing will not work! Best way to use parallel computing in MATLAB though, uninstall CUDA and use MATLAB's "parallel cpu toolbox", or use an eGPU.         *This only holds for Apple MacBooks with an internal discrete GPU e.g. NVidia GT650M or GT750M (so models before 2016)

0 Comments

Uninstall Nvidia CUDA (8.x, 9.x) on Mac OS 10.x

According to http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#uninstall  running just sudo /usr/bin/uninstall_cuda_drv.pl should be enough to uninstall any version of NVidia's CUDA driver, but ... it fails (there's no such file at all)! So, I went through the following steps semi-manually to remove it successfully: sudo /Developer/NVIDIA/CUDA-8.0/bin/uninstall_cuda_8.0.pl sudo /Developer/NVIDIA/CUDA-9.0/bin/uninstall_cuda_9.0.pl sudo rm -rf /System/Library/Extensions/CUDA.kext sudo rm -rf /Library/Frameworks/CUDA.framework sudo rm -rf /Library/LaunchAgents/com.nvidia.CUDASoftwareUpdate.plist sudo rm -rf /Library/PreferencePanes/CUDA/Preferences.prefPane sudo rm -rf /System/Library/StartupItems/CUDA sudo rm -rf /Developer/NVIDIA/CUDA* sudo rm -rf /usr/local/cuda Restart your system and "right-click" and remove the CUDA preference icon in the system control app.

0 Comments

QDirStat port: iDirStat monitors your disk space; QDirStat and WinDirStat for Mac OS

MAC OS X Sierra 10.12.X compatible disk space monitor and statistic user interface and editor (25.05.2017) Download Edited QDirStat: base at https://github.com/shundhammer/qdirstat which based on http://kdirstat.sourceforge.net Qt-based directory statistics: KDirStat without any KDE -- from the author of the original KDirStat. (c) 2015-2017 Stefan Hundhammer Stefan.Hundhammer@gmx.de Target Platforms: Linux, BSD, Unix-like systems, License: GPL V2, Updated: 2017-05-25 QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up. This is a Qt-only port of the old Qt3/KDE3-based KDirStat, now based on the latest Qt 5. It does not need any KDE libs or infrastructure. It runs on every…

3 Comments

Fix Xcode 8.x.x (8.2.1) and Qt 5.x (5.6 and 5.7) project error: “Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Solution for the following Qt Creator - Project ERROR: "Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild" Edit file: /<Qt.app path>/5.6/clang_64/mkspecs/features/mac/default_pre.prf Replace:  isEmpty($$list($$system("/usr/bin/xcrun -find xrun 2>/dev/null"))): \ By:            isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \

0 Comments

EyeTV with OSCAM and eyetvCamd (supports libusb, smartreader, smargo, USB, SSL, OS X 10.11.x, 64Bit) A Mac OS X Oscam server with USB support for external readers

OSCam with ssl, libusb support - os x changed its ssl library support - libusb must be installed for external usb cardreader support 1. I recommend "brew" to install openssl 1.1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 1.2. brew install openssl 1.3. this will install openssl to /usr/local/Cellar/openssl/xxx/ 1.4. as oscam will look for openssl in /usr/local/include and /usr/local/lib you are welcome to link or copy it there manually 2. download libusb from here http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2 2.1 configure, make, make install it 3. build oscam with ssl and usb support 3.1. get scam sources here: svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn I recommend to checkout…

4 Comments

Fix TensorFlow Python 0.10.0rc0 ProtoBuf Error

        Hi, if you have trouble to use Google's TensorFlow Python API with MAC OS X: Uninstall all previous TensorFlow and ProtoBuffer installations: pip uninstall tensorflow pip uninstall protobuf brew uninstall protobuf Reinstall TensorFlow (Update URL to latest master): export TF_BINARY_URL= https://storage. googleapis.com /tensorflow/mac/cpu/tensorflow-0.10.0rc0-py2-none-any.whl pip install --upgrade $TF_BINARY_URL Test TensorFlow (Python script): import tensorflow as tf hello = tf.constant('Hello, TensorFlow!') sess = tf.Session() print(sess.run(hello)) a = tf.constant(10) b = tf.constant(32) print(sess.run(a + b))  

0 Comments

Fix missing libraries of an existing Mac OS binary by adding a correct @rpath command

Adding missing library path to an existing OS X binary: For example: open tracker (see https://github.com/opentrack/opentrack) misses the correct relative @rpath: otool -l /Applications/opentrack.app/Contents/MacOS/opentrack.bin | grep @rpath name @rpath/QtWidgets.framework/Versions/5/QtWidgets (offset 24) name @rpath/QtGui.framework/Versions/5/QtGui (offset 24) name @rpath/QtNetwork.framework/Versions/5/QtNetwork (offset 24) name @rpath/QtCore.framework/Versions/5/QtCore (offset 24) Where @rpath is at: Load command 28 cmd LC_RPATH cmdsize 56 path /Users/sthalik/dev/opentrack/build/install (offset 12) Load command 29 cmd LC_RPATH cmdsize 56 path /Users/sthalik/Qt5.5.1/5.5/clang_64/lib (offset 12) Wrong path set for local Qt's libraries In order to fix this: we should add a custom @rpath for all libraries not being deployed with the executable or being linked with libs…

1 Comment

Smartcard Reader Library for Atmel32u4 and Arduino (ISO-7816) Protocol T1 T=1

Info: For those of you who are interested in building their own Arduino based smart card reader/writer interface with the commonly used T=1 protocol (see ISO-7816). - See the hardware sketch in order to get a feeling for the hardware setup! - Feel free to look at the Example.cpp to get into to my library with "ease"! -  If you want to use a cpu timer as external clock, see the following: /* * See Atmel32u4 - Specification at Page 90ff * Frequency = Clock / (2 * N * (1 + OCR1A)) * N = Prescaler Factor: 1,8,64,256,1024 * * 8Mhz: * Frequency =…

1 Comment

EyeTV freezing solved: eyetvcamd with OSCAM with CCCam (new Proxy and Splitter)

Hey guys, Proxies: It took me quite some effort to test/verify all the buggy OSCam versions that are not capable of sharing key requests/answers free of freezers. The essence of my findings is that OSCam version 1.20 r 10009/10010 broke the possibility to split a single line into several "client lines". This has to do with caching methods introduced in 1.20 r10000+. Easy fix: do not use OSCam 1.20 revision > 10000! Download LineSplitter Publish: As many of u ask me to publish sources of eyetvcamd (ORF HD Fix): I actually think about it, but I am still working on it...…

0 Comments