Inside the function declaration all values are assigned to variables, so using variable syntax on the outside seems to make sense too.
$api->getFriends($screen_name = 'phpdrama', $include_user_entities = true);
Pro:
backend app1 { | |
.host = "1.1.1.1"; | |
.port = "80"; | |
} | |
backend app2 { | |
.host = "2.2.2.2"; | |
.port = "80"; | |
} |
/* | |
Nice to study. Original here http://www.20thingsilearned.com/js/twentythings.min.js | |
*/ | |
var TT = TT || {}; | |
TT.PAGE_WIDTH = 800; | |
TT.PAGE_HEIGHT = 500; | |
TT.PAGE_MIN_WIDTH = 1000; | |
TT.PAGE_MIN_HEIGHT = 680; | |
TT.PAGE_MARGIN_LEFT = 32; |
:+1: | |
:-1: | |
:airplane: | |
:art: | |
:bear: | |
:beer: | |
:bike: | |
:bomb: | |
:book: | |
:bulb: |
in OS X 10.4 to macOS sierra 10.12 and maybe higher!
Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
``inspect_mate`` provides more methods to get information about class attribute | |
than the standard library ``inspect``. | |
This module is Python2/3 compatible, tested under Py2.7, 3.3, 3.4, 3.5, 3.6. | |
Includes tester function to check: |
This is the common component:
# Create a single load balancer for all Atlassian services
resource "aws_alb" "atlassian" {
name = "${var.name}"
internal = false
idle_timeout = "300"
security_groups = [
"${aws_security_group.atlassian-alb.id}",
export class UniswapBot { | |
public static async create(hubAddress: string, tokenOneSymbol: string, tokenTwoSymbol: string) { | |
const environment = createEnvironment(); | |
const hub = new Hub(environment, hubAddress); | |
const routes = await hub.getRoutes(); | |
const manager = await hub.getManager(); | |
const account = (await environment.client.getAccounts())[0]; |
locals { | |
ssc = jsondecode(data.local_file.ssc-output.content) | |
} | |
resource "aws_iam_user" "repo" { | |
name = "${var.origin}-${var.env}-codecommit-user" | |
path = "/${var.app}/${var.env}/" | |