next.js, nginx, reverse-proxy, ssl
$ sudo apt-get update
$ sudo apt-get install nginx letsencrypt
//Spaces can be changed to "+" or encoded as "%20". | |
//Linking to a location (No directions) | |
https://www.google.com/maps?q=760+West+Genesee+Street+Syracuse+NY+13204 | |
//No starting point (User input required to generate directions). | |
https://www.google.com/maps?daddr=760+West+Genesee+Street+Syracuse+NY+13204 | |
//With a set location as starting point (Automatically generates directions with no user input required). | |
https://www.google.com/maps?saddr=760+West+Genesee+Street+Syracuse+NY+13204&daddr=314+Avery+Avenue+Syracuse+NY+13204 |
#!/bin/bash | |
ADB_PATH="/Users/$(whoami)/Library/Android/sdk/platform-tools" | |
PACKAGE_NAME="com.company.app" | |
DB_NAME="default.realm" | |
DESTINATION_PATH="/Users/$(whoami)/Downloads/${DB_NAME}" | |
NOT_PRESENT="List of devices attached" | |
ADB_FOUND=`${ADB_PATH}/adb devices | tail -2 | head -1 | cut -f 1 | sed 's/ *$//g'` | |
if [[ ${ADB_FOUND} == ${NOT_PRESENT} ]]; then | |
echo "Make sure a device is connected" | |
else |
// Create CustomView.xib, set File's Owner to CustomView. | |
// Link the top level view in the XIB to the contentView outlet. | |
class CustomView : UIView { | |
@IBOutlet private var contentView:UIView? | |
// other outlets | |
override init(frame: CGRect) { // for using CustomView in code | |
super.init(frame: frame) | |
self.commonInit() |
https://github.com/Carthage/Carthage/issues/3019#issuecomment-664099506 |