Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
- Installing Homebrew is effortless, open Terminal and enter :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
This is my attempt to give Scala newcomers a quick-and-easy rundown to the prerequisite steps they need to a) try Scala, and b) get a standard project up and running on their machine. I'm not going to talk about the language at all; there are plenty of better resources a google search away. This is just focused on the prerequisite tooling and machine setup. I will not be assuming you have any background in JVM languages. So if you're coming from Python, Ruby, JavaScript, Haskell, or anywhere… I hope to present the information you need without assuming anything.
Disclaimer It has been over a decade since I was new to Scala, and when I was new to Scala, I was coming from a Java and Ruby background. This has probably caused me to unknowingly make some assumptions. Please feel free to call me out in comments/tweets!
One assumption I'm knowingly making is that you're on a Unix-like platform. Sorry, Windows users.
/** | |
* The examples provided by Facebook are for non-commercial testing and | |
* evaluation purposes only. | |
* | |
* Facebook reserves all rights not expressly granted. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
* FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL | |
* FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
This terminal command increases the minimum Apple Bitpool setting - which improves overall sound, and removes crackling and stuttering.
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 45
Source:http://bencollier.net/2011/04/improve-compressed-bluetooth-audio-on-mac/
package com.timmeh.openhr.openholidays.model | |
import slick.driver.H2Driver.api._ | |
import slick.collection.heterogeneous._ | |
import syntax._ | |
//// This file demonstrates how to map more than 22 columns to a nested case class using a HList | |
class LargeTableExample3(tag: Tag) | |
extends Table[LargeUnnestedTableRow](tag, "LARGE_TABLE") { | |
def id = column[Int]("ID", O.PrimaryKey) |
package streams.utils | |
import java.util.concurrent.ThreadLocalRandom | |
import akka.NotUsed | |
import akka.stream._ | |
import akka.stream.scaladsl.Source | |
import akka.stream.stage._ | |
import scala.concurrent.duration._ |
package com.dvMENTALmadness | |
import akka.actor.ActorSystem | |
import slick.driver.PostgresDriver.api._ | |
import scala.collection.immutable.Stream._ | |
import scala.concurrent.duration._ | |
import scala.concurrent.{Future, Await} | |
import akka.stream._ | |
import akka.stream.scaladsl._ |
<br /><br /> | |
# React Native: Animated | |
ReactEurope 2015, Paris - Spencer Ahrens - Facebook | |
<br /><br /> | |
## Fluid Interactions | |
- People expect smooth, delightful experiences |
import React, { | |
Component, | |
} from 'react'; | |
import { | |
StyleSheet, | |
Text, | |
View, | |
Animated, | |
Easing, |