How to add you xcode project to github

So you created a brand new xcode project and selected a local repository and are wondering how to add it to github?

Fear not, below steps to make it happen:


  1. Navigate to the path of your xcode project and run:
    git remote add foodTracker
  2. Pull the changes
    Git will complain of “fatal: refusing to merge unrelated histories”  solution”–allow-unrelated-histories” use the option
    git pull REPOSITORY master –allow-unrelated-histories
  3. Now you should be able to push from xcode

Other useful commands:

  • git show remote
  • git remote remove REPOSITORY

Happy coding!

Checking what your Mac is loading at startup and userlogon

Summary from:

Apps loaded at startup

  1. /Library/StartupItems
  2. /Library/LaunchDaemons
  3. /System/Library/LaunchDaemons

User (ran at user logon):

  1.  ~/Library/LaunchAgents
    • Found this guy:
    • Google updater, decided to keep it, but if you want to read mode try this post
  2. /Library/LaunchAgents/
  3. /System/Library/LaunchAgents/


  1. crontab -l

Kernell extensions

  1. kextstat | grep YOUR_QUERY

Login and LogOut Hooks:

  1. defaults read LoginHook
  2. defaults read LogoutHook

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
  • Look for a new program that will pop up and btw show available packages from here:
  • I installed the “popular” option and that got rid of the issue

Happy coding,


  Resource 'tokenizers/punkt/PY3/english.pickle' not found.
  Please use the NLTK Downloader to obtain the resource:  >>>
  Searched in:
    - '/Users/josuegc/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
    - ''