[MAC] HowTo clone Ubuntu (14.x <) LVM2 disk to a larger disk (disk to disk) with Clonezilla & GParted & 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 … [Read more…]

[MAC] MATLAB (2017b) + CUDA (8.x, 9.x) + Macbook Pro (Mid. 2012) + OS X Sierra (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.         … [Read more…]

[MAC] How to uninstall Nvidia CUDA (here 8.x & 9.x) on OS X 10.12.6 Sierra

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 … [Read more…]

[MAC CC] Download CryptoCoin NiceHash – nheqminer 5.0c for Mac OS X (10.12)

Compiled the latest miner (cpu and gpu/cuda8 support) from the sources here https://github.com/nicehash/nheqminer. Provide the binaries for miners interested to mine coins on Apple hardware and software. All you have to do is, 1) install cuda 8 and 2) run the miner e.g.:  ./nheqminer-cpu -d 0 -t 16 -e 1 -l zec.suprnova.cc:2142 -u workername -p … [Read more…]

[MAC] iDirStat – monitor your disk space; Free MAC OS X alternatives of: DaisyDisk, Disk Inventory X, QDirStat and WinDirStat (Sierra 10.12.x)

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 … [Read more…]

[MAC] OS X 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”))): \

[MAC OS X] EyeTV OSCAM + eyetvCamd + libusb + smartreader + smargo + USB + SSL + OS X 10.11.x + 64Bit + 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 … [Read more…]

[MAC OS X] 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 … [Read more…]

[MAC OS X] Fix missing libraries of an existing binary by adding correct @rpath rpath LC_RPATH commands to the executable

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 … [Read more…]