brew install mongodb
Set up launchctl to auto start mongod
$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
/usr/local/opt/mongodb/ is a symlink to /usr/local/Cellar/mongodb/x.y.z (e.g., 2.4.9)
| /* | |
| * ADC.hpp | |
| * | |
| * Created on: 06/06/2016 | |
| * Author: puc | |
| */ | |
| #include <avr/io.h> | |
| // | |
| // Results+Rx.swift | |
| // | |
| // Make Realm auto-updating Results observable. Works with Realm 0.98 and later, RxSwift 2.1.0 and later. | |
| // | |
| // Created by Florent Pillet on 12/02/16. | |
| // Copyright (c) 2016 Florent Pillet. All rights reserved. | |
| // | |
| import Foundation |
| ## Collection of posts/videos I've found useful while researching mvvm | |
| https://speakerdeck.com/jspahrsummers/code-reuse-with-mvvm | |
| http://cocoasamurai.blogspot.com/2013/03/basic-mvvm-with-reactivecocoa.html | |
| http://www.teehanlax.com/blog/model-view-viewmodel-for-ios/ | |
| http://martinfowler.com/eaaDev/PresentationModel.html | |
| http://twocentstudios.com/blog/2014/06/08/on-mvvm-and-architecture-questions/ |
| { | |
| "estados": [ | |
| { | |
| "sigla": "AC", | |
| "nome": "Acre", | |
| "cidades": [ | |
| "Acrelândia", | |
| "Assis Brasil", | |
| "Brasiléia", | |
| "Bujari", |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| Lisa Dziuba [10:01] | |
| @artnosenko hi, here is my list, which I used when started learning Swift | |
| 1. Apple guides :pray: | |
| https://developer.apple.com/library/content/referencelibrary/GettingStarted/DevelopiOSAppsSwift/index.html#//apple_ref/doc/uid/TP40015214-CH2-SW1 | |
| 2. Stanford lectures (free!) : | |
| https://itunes.apple.com/in/course/developing-ios-10-apps-swift/id1198467120 | |
| 3. raywenderlich.com tutorials |
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html & https://gist.github.com/thom-nic/6011715
Download the following files from Oracle
instantclient-basic-macos.x64-12.1.0.2.0.zip instantclient-sdk-macos.x64-12.1.0.2.0.zip
| // The trick is to link the DeviceSupport folder from the beta to the stable version. | |
| // sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) | |
| // Support iOS 13.2 devices (Xcode 11.2) with Xcode 11.1: | |
| sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.2 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
| // Xcode 10.3 to Xcode 11 | |
| sudo ln -s /Applications/Xcode-11.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.0 /Applications/Xcode-10.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
| // Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions |
| #!/bin/bash | |
| echo "Removing unavailable simulators..." | |
| xcrun simctl delete unavailable | |
| echo "Brew cleanup..." | |
| brew cleanup | |
| echo "Removing Xcode Caches..." | |
| rm -rf ~/Library/Caches/com.apple.dt.Xcode |