yannis assael | the blog

  • Home
  • About
  • Categories
    • Android
    • Computing
    • iOS
    • Machine Learning
    • MacOSX
  • GitHub
  • Mobile Apps
  • yannisassael.com


Posts Tagged ‘mac’

OpenMP for Mac OS X El Capitan (Torch7)

Written by iassael on 14/03/2016. Posted in computing, machine learning, macosx

Having followed a plethora of guides to achieve proper OpenMP support on OS X, this is how it can be done:

  1. Install Homebrew
  2. run “brew update” (don’t skip that 🙂 )
  3. run “brew install clang-omp”
  4. add the following lines to ~/.profile
    export PATH=/usr/local/bin:$PATH

    # CLANG-OMP
    export CC=clang-omp
    export CXX=clang-omp++

    # Brew Libs
    export C_INCLUDE_PATH=/usr/local/include:$C_INCLUDE_PATH
    export CPLUS_INCLUDE_PATH=/usr/local/include:$CPLUS_INCLUDE_PATH
    export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH
    export DYLD_LIBRARY_PATH=/usr/local/lib:$DYLD_LIBRARY_PATH

  • Continue Reading
  • No Comments

Toch7 Intel MKL not found

Written by iassael on 04/06/2015. Posted in computing, machine learning

I am on Mac OS X Yosemite, and although I had installed Intel MKL properly, I was getting a mkl_intel_lp64 not found message when I was trying to install Torch7.

The solution was found by adding the following links to your .profile.

source /opt/intel/composer_xe_2015.3.187/bin/compilervars.sh intel64

and most importantly:

export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:/opt/intel/compilers_and_libraries/mac/include:/opt/intel/mkl/include
export CMAKE_LIBRARY_PATH=$CMAKE_LIBRARY_PATH:/opt/intel/compilers_and_libraries/mac/lib:/opt/intel/mkl/lib

  • Continue Reading
  • No Comments

Safari Tab Switching with CMD+Num

Written by iassael on 05/11/2012. Posted in macosx

Safari Tab Switching is a Safari SIMBL plugin which allow switching between tabs using Cmd+1-9.
https://github.com/rs/SafariTabSwitching

  • Continue Reading
  • No Comments

SSH Auto Login – MacOS X

Written by iassael on 23/10/2012. Posted in computing

  1. Create your set of keys:
    Start up the Terminal application and run:
    ssh-keygen -t rsassh-keygen will the ask where to store the public key it is about to create. Normally the default suggestion works just fine (~/.ssh/id_rsa.pub). ssh-keygen then ask you to enter a pass phrase. Please use something secure here and please also remember it.
  2. Copy the public key to your SSH server
    Copy the newly created public key to the SSH server(s) you need to auto login into by using your favourite transport method. Please be careful not to overwrite ~/.ssh/authorized_keys if it already exist! This is how I personally copy the key, might not be your preferred method:

    • If authorized_keys exist: 
      cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat - >> ~/.ssh/authorized_keys"
    • If authorized_keys does not exist: 
      scp ~/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys
  3. Optional step: You might consider restricting file access to the file authorized_keys on the SSH server. chmod 0600 ~/.ssh/authorized_keys to even further improve your system security.
  • Continue Reading
  • No Comments

Magic Mouse on Windows 7

Written by iassael on 29/05/2012. Posted in computing, general, iOS


Fully working Magic Mouse everything is here: http://www.trackpadmagic.com/magic-mouse/download

  • Continue Reading
  • No Comments

Status Barred – Crop your iPhone/iPad Screenshots for Appstore

Written by iassael on 15/05/2012. Posted in computing, iOS

Status BarredCrops your iOS screenshots to remove the status bar. Removing the status bar is recommended by apple before submitting to iTunes Connect and being displayed on the app store (Page 13 in the iTunes Connect Developer Guide).

Supports:
-iPod/iPhone non retina display (portrait & landscape)
-iPod/iPhone retina display (portrait & landscape)
-iPad (portrait & landscape)

  • Continue Reading
  • No Comments

Mac OS σε Windows? Ακόμα πιο εύκολα! (v2)

Written by iassael on 17/05/2010. Posted in general

subtitle(Πως να κάνετε το pc σας λειτουργικό ακόμα και για μία νοικοκυρά)…

Προχθές ανακάλυψα τον πιο εύκολο τρόπο για να βάλετε Mac στο pc σας.
Αρχικά, κατεβάζουμε ένα “αυθεντικό” :p cd Mac και το VirtualBox 3.2.0 beta 3 από εδώ
(http://download.virtualbox.org/virtualbox/3.2.0_BETA3/)
Τέλος θα χρειαστούμε και ένα cd για Boot (http://www.mediafire.com/?lnekzzyjcti)

Αφού εγκαταστήσετε το VB, κάνετε ένα νέο Virtual Machine επιλέγοντας Mac OS X. Αφού το δημιουργήσετε
1) Επιλέγετε 128 Video Memory
2) Από την επιλογή System κάνετε uncheck to Enable EFI
3) Κάνετε Mount το iso που μόλις κατεβάσατε.

Ανοίγεται το virtual machine κάνοντας boot από το CD. Αφού φορτώσει κάνετε mount το DVD των Mac που βρήκατε… Πατάτε F5 και επιλέγετε το CD που εμφανίζει.
Στην εγκατάσταση των Mac αφαιρέστε απλώς τα Printing και τα Language Files.

Το Virtual Mac είναι έτοιμο (= pc για νοικοκυρές). Κάθε φορά κάνετε boot από το EmpireEfi CD…

  • Continue Reading
  • No Comments

Mac OS σε Windows? Μα, φυσικά!

Written by iassael on 26/12/2009. Posted in computing

Mac OS σε Windows? Μα, φυσικά!
Εγκαταστήστε Mac OS σε περιβάλλον Windows

Τον τελευταίο καιρό η γνωστή σε όλους μας Apple έχει αρχίσει να αποκτά καθημερινά ολοένα και περισσότερους νέους «οπαδούς», στον τομέα των φορητών συσκευών [βλ. iPhone] αλλά και στον τομέα των υπολογιστών. Τα Mac OS από πάντα φημίζονταν για την απλότητα, την ταχύτητα όπως και την ευκολία που προσφέρουν στους χρήστες, συγκεντρώνοντας ένα μεγάλο κοινό κυρίως στον χώρο της γραφιστικής και της μουσικής. Αρκετοί είναι οι χρήστες που αποφασίζουν να κατευθυνθούνε προς την «μεριά» της Αpple, όμως μπορεί κάποιος να λειτουργεί αποκλειστικά Mac OS;

Η απάντηση είναι όχι εφόσον είστε ένας advanced user, ακόμα και αν προσφέρονται δυνατότητες για συμβατική προσομοίωση προγραμμάτων Windows [βλ. wine]. Έτσι και αλλιώς πολλοί είναι αυτοί οι οποίοι έχουν περάσει στον Dual-Boot Mac τους, Windows. Επίσης οι Mac αν και είναι πολύ όμορφοι, δεν αποτέλεσαν ποτέ μια οικονομική λύση στην αγορά υπολογιστών. Οπότε ας προσπαθήσουμε να φέρουμε σε πέρας το αντίθετο, δηλαδή να εγκαταστήσουμε Mac OS X στο Desktop ή Laptop μας.

Εδώ και καιρό κυκλοφορούν πολλές εκδόσεις των Mac OS, προσαρμοσμένες στην αρχιτεκτονική x86 των PC. Το όλο project έχει ονομαστεί OSX86 [wiki.osx86project.org] και κυκλοφορεί σε διάφορες διανομές.

  • Continue Reading
  • 2 Comments