<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
public extension Optional { | |
/// Stop in the debugger in debug builds if self is `.none`. | |
/// | |
/// Example usage: | |
/// | |
/// guard let value = maybeValue.assertUnwrap() else { return "bogus value" } | |
/// | |
func assertUnwrap(_ message: @autoclosure () -> String? = nil, file: StaticString = #file, function: String = #function, line: UInt = #line) -> Wrapped? { | |
switch self { |
This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.
import UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
var rootVC: UINavigationController? = nil | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
window = UIWindow(frame: UIScreen.main.bounds) |
# !/bin/bash | |
# Copyright (c) 2011 Float Mobile Learning | |
# http://www.floatlearning.com/ | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the |
// App | |
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app', | |
template: '<span>{{ sayHello() }}</span>', | |
}) | |
export class App { | |
public name: string = 'John'; |
<?php | |
// Put your device token here (without spaces): | |
$deviceToken = 'replace-this-text-with-the-device-token-from-remoteRegistration'; | |
// Put your private key's passphrase here: | |
$passphrase = 'YOUR-PASSPHRASE-HERE'; | |
// Put your alert message here: | |
$message = 'My Corona SDK push notification!'; |
// | |
// NSString+Levenshtein.h | |
// PyHelp | |
// | |
// Modified by Michael Bianco on 12/2/11. | |
// <http://mabblog.com> | |
// | |
// Created by Rick Bourner on Sat Aug 09 2003. | |
// rick@bourner.com |