For faster connection speed and more flexibility.
- Start Xcode in command line by running this in commandline
/Applications/Xcode.app/Contents/MacOS/Xcode - Start downloading of the simulator
- Cancel it. YES CANCEL IT!
- You will get a message like this:
For faster connection speed and more flexibility.
/Applications/Xcode.app/Contents/MacOS/Xcode| 'use strict'; | |
| module.exports = function CustomError(message, extra) { | |
| Error.captureStackTrace(this, this.constructor); | |
| this.name = this.constructor.name; | |
| this.message = message; | |
| this.extra = extra; | |
| }; | |
| require('util').inherits(module.exports, Error); |
I was using Boot2Docker 1.2 (OSX) and wanted to use volume for MongoDB. First nothing was happening because 1.2 has no Guest Additions and volumes don't work. There is a workaround by making a boot2docker.iso from master which has Guest Additions.
But then Mongo didn't like putting data on VirtualBox's shared folders:
[initandlisten] WARNING: This file system is not supported. For further information see:
[initandlisten] http://dochub.mongodb.org/core/unsupported-filesystems
| # Edit this file as you like and merge with $HOME/.gitconfig (global) or .git/config (given repo only) | |
| # | |
| # See https://help.github.com/articles/set-up-git | |
| # | |
| # See http://git-scm.com/docs/git-config | |
| # or http://www.kernel.org/pub/software/scm/git/docs/git-config.html | |
| # | |
| # See http://git-scm.com/book/en/Customizing-Git-Git-Configuration | |
| # or http://progit.org/book/ch7-1.html | |
| # |
| /** | |
| * Prevent click events after a touchend. | |
| * | |
| * Inspired/copy-paste from this article of Google by Ryan Fioravanti | |
| * https://developers.google.com/mobile/articles/fast_buttons#ghost | |
| * | |
| * USAGE: | |
| * Prevent the click event for an certain element | |
| * ```` | |
| * PreventGhostClick(myElement); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| This fix is from Jico Baligod in the comments on here: | |
| http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more | |
| (apologies for being unable to permalink directly to the comment) | |
| ------ | |
| In CircleCI, you can add this to your circle.yml file for a fix: | |
| machine: | |
| pre: |
| ; CouchDB Config | |
| ; Drop in PREFIX/local.d/npmjs.ini | |
| [couch_httpd_auth] | |
| public_fields = appdotnet, avatar, avatarMedium, avatarLarge, date, email, fields, freenode, fullname, github, homepage, name, roles, twitter, type, _id, _rev | |
| users_db_public = true | |
| [httpd] | |
| secure_rewrites = false |
| #!/bin/bash | |
| # Source: http://blog.nonuby.com/blog/2012/07/05/copying-env-vars-from-one-heroku-app-to-another/ | |
| set -e | |
| sourceApp="$1" | |
| targetApp="$2" | |
| while read key value; do |
| #!/usr/bin/env bash | |
| curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz | |
| mkdir vim && tar xzvf vim.tar.gz -C vim | |
| export PATH=$PATH:/app/vim/bin |