This file contains hidden or 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> | |
| <head> | |
| </head> | |
| <body> | |
| <div style="float:left"> | |
| <video controls width="250"> | |
| <source src="/media/examples/flower.mp4" |
This file contains hidden or 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
| // The following data should be run in the console while viewing the page https://read.amazon.com/ | |
| // It will export a CSV file called "download" which can (and should) be renamed with a .csv extension | |
| var db = openDatabase('K4W', '3', 'thedatabase', 1024 * 1024); | |
| getAmazonCsv = function() { | |
| // Set header for CSV export line - change this if you change the fields used | |
| var csvData = "ASIN,Title,Authors,PurchaseDate\n"; | |
| db.transaction(function(tx) { |
This file contains hidden or 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
| Visual Studio Enterprise 2017 for Mac (Preview) | |
| Version 7.6 Preview (7.6 build 711) | |
| Installation UUID: 71d6029a-504c-4497-994e-cf0311359b9f | |
| Runtime: | |
| Mono 5.12.0.226 (2018-02/9824e260f56) (64-bit) | |
| GTK+ 2.24.23 (Raleigh theme) | |
| Xamarin.Mac 4.4.0.36 (master / 0c7c49a6) | |
| Package version: 512000226 |
This file contains hidden or 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
| { | |
| "runtimeTarget": { | |
| "name": ".NETStandard,Version=v2.0/", | |
| "signature": "4036a07a131b5ffdc1bb11ac1ce7735f1a963874" | |
| }, | |
| "compilationOptions": {}, | |
| "targets": { | |
| ".NETStandard,Version=v2.0": {}, | |
| ".NETStandard,Version=v2.0/": { | |
| "testfunc-src/1.0.0": { |
This file contains hidden or 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
| -module(sub_server). | |
| -behaviour(gen_server). | |
| -export([start_link/0]). | |
| %% gen_server callbacks | |
| -export([init/1, | |
| handle_call/3, | |
| handle_cast/2, |
This file contains hidden or 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
| connect() -> | |
| io:format("Connecting~n"), | |
| Hostname = "mybroker.servicebus.windows.net", | |
| Port = 5671, | |
| User = <<"test">>, | |
| Password = <<"xxxxxx=">>, | |
| OpnConf = #{address => Hostname, | |
| port => Port, |
This file contains hidden or 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
| -module(mod_echobot). | |
| -author('Steven Livingstone-Perez'). | |
| -behavior(gen_server). | |
| -behavior(gen_mod). | |
| %% Interface | |
| -export([start_link/2]). |
This file contains hidden or 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
| #only get the ip of the seed | |
| if [[ -z ${SEED_CONTAINER_IP} ]] ; then | |
| SEED_CONTAINER_IP=$(docker inspect "${CONTAINER_ID}" | grep IPAddress | cut -d '"' -f 4) | |
| SEED_CONTAINER_IP=$(echo $SEED_CONTAINER_IP | tr -d ' ') | |
| fi | |
| docker run -e "DOCKER_RIAK_CLUSTER_SIZE=${DOCKER_RIAK_CLUSTER_SIZE}" \ | |
| -e "DOCKER_RIAK_AUTOMATIC_CLUSTERING=${DOCKER_RIAK_AUTOMATIC_CLUSTERING}" \ | |
| -e "DOCKER_RIAK_BACKEND=${DOCKER_RIAK_BACKEND}" \ | |
| -e "SEED_PORT_8098_TCP_ADDR=${SEED_CONTAINER_IP}" \ |