Author: josmx

How to enable locate command in Mac

  sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist For more ways to use find and locate check this nice article: https://www.cnet.com/news/how-to-find-files-via-the-os-x-terminal/

Checking what your Mac is loading at startup and userlogon

Summary from: http://osxdaily.com/2010/02/17/track-down-all-startup-login-script-and-application-launches-in-mac-os-x/ Apps loaded at startup /Library/StartupItems /Library/LaunchDaemons /System/Library/LaunchDaemons User (ran at user logon):  ~/Library/LaunchAgents Found this guy: com.google.keystone.agent.plist Google updater, decided to keep it, but if you want to read mode try this post /Library/LaunchAgents/ /System/Library/LaunchAgents/ Crons: crontab -l Kernell extensions kextstat | grep YOUR_QUERY Login and LogOut Hooks: defaults read com.apple.loginwindow LoginHook defaults…

Read the full article

Keras 2 API tips

“Old” Keras Dense declaration in Keras 2 API : model.add(Dense(11, input_dim=11, init=”uniform”, activation=”relu”)) is now: Dense(11, input_dim=11, activation=”relu”, kernel_initializer=”uniform”) If when adding you TypeError: add() got an unexpected keyword argument ‘init’   UserWarning: The `nb_epoch` argument in `fit` has been renamed `epochs`. warnings.warn(‘The `nb_epoch` argument in `fit` ‘

How to install nltk (Windows and Mac)

If you are getting this error: ‘tokenizers/punkt/PY3/english.pickle’ Most likely is because you haven’t downloaded necessary nltk packages, don’t worry is quite easy: Open a terminal (cmd in Windows) Run Python by typing in the terminal Window python then write everything belo conda install -c anaconda nltk import nltk nltk.download() Look for a new program that will…

Read the full article

Trouble installing R studio in Anaconda

I was having issues installing R studio in Anaconda Navigator, below the solution (pretty obvious but may be helpful if you are getting started: J05:~ josuegc$ sudo conda install -c r rstudio J05:~ josuegc$ sudo conda install -c r/label/borked rstudio Source: https://anaconda.org/r/rstudio