This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
method: 'POST', | |
path: '/hello', | |
config: require('../../index.js').postHelloConfig, | |
handler: require('../../controllers/helloPostHandler.js').helloPostHandler | |
} | |
var postHelloConfig = { | |
auth: 'false', | |
payload: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('the_content','prepend_this'); | |
function prepend_this($content) | |
{ | |
$content = '<div class="container" style="background-image: url(\'' . the_post_thumbnail_url() . '\'"><div id="safe-area-back">' . $content; | |
$content = $content . "</div></div>"; | |
return $content; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function send_order( $lob_api, $address_line1, $address_line2, $address_city, | |
$address_state, $address_zip, $name, $email = null, $phone = null ) { | |
//var_dump(func_get_args()); | |
try { | |
$this->to_address = $this->lob->addresses()->create(array( | |
'address_line1' => $address_line1, | |
'address_line2' => $address_line2, | |
'address_city' => $address_city, | |
'address_state' => $address_state, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let state = { | |
todos: [ | |
{ title: 'First todo', complete: false }, | |
{ title: 'Second todo', complete: false }, | |
{ title: 'Third todo', complete: false }, | |
], | |
} | |
var ul = document.createElement("ul") | |
document.body.appendChild(ul) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('tasks', { | |
template: '#tasks-template', | |
created: function () { | |
this.fetchTaskList() | |
}, | |
methods: { | |
fetchTaskList: function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Lesson</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<style> | |
.completed { text-decoration: line-through; } | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+AWS_BACKOFF_BASE_EXPONENT: | |
+ name: Set base of the exponent to use for exponential backoff. | |
+ default: 2 | |
+ description: Set base of the exponent to use for exponential backoff. | |
+ env: | |
+ - name: AWS_BACKOFF_BASE_EXPONENT: | |
+ ini: | |
+ - {key: backoff, section: aws_backoff } | |
+ type: int | |
+AWS_BACKOFF_DELAY: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
units = {'INVALID': {'unit_id': 0}, | |
'NEUTRAL_BATTLESTATIONMINERALFIELD': {'unit_id': 886}, | |
'NEUTRAL_BATTLESTATIONMINERALFIELD750': {'unit_id': 887}, | |
'NEUTRAL_COLLAPSIBLEROCKTOWERDEBRIS': {'unit_id': 490}, | |
'NEUTRAL_COLLAPSIBLEROCKTOWERDIAGONAL': {'unit_id': 588}, | |
'NEUTRAL_COLLAPSIBLEROCKTOWERPUSHUNIT': {'unit_id': 561}, | |
'NEUTRAL_COLLAPSIBLETERRANTOWERDEBRIS': {'unit_id': 485}, | |
'NEUTRAL_COLLAPSIBLETERRANTOWERDIAGONAL': {'unit_id': 589}, | |
'NEUTRAL_COLLAPSIBLETERRANTOWERPUSHUNIT': {'unit_id': 562}, | |
'NEUTRAL_COLLAPSIBLETERRANTOWERPUSHUNITRAMPLEFT': {'unit_id': 559}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
d4b661389920 s2client-game "/SC2/3.16.1/StarC..." 20 seconds ago Up 35 seconds 0.0.0.0:16023->12000/tcp quizzical_mayer | |
091836fa375e s2client-game "/SC2/3.16.1/StarC..." 20 seconds ago Up 35 seconds 0.0.0.0:22963->12000/tcp suspicious_bhabha | |
ae7dbf10871d s2client-game "/SC2/3.16.1/StarC..." 20 seconds ago Up 35 seconds 0.0.0.0:22488->12000/tcp musing_visvesvaraya |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from absl import flags | |
from absl.testing import absltest as basetest | |
from absl.testing import xml_reporter | |
import unittest | |
import os | |
FLAGS = flags.FLAGS | |
FLAGS.mark_as_parsed() | |
if __name__ == '__main__': |
OlderNewer