1 eggplant
1 tomato
2 spoons of thick tomato sauce
1-2 onions
2 pieces of garlic
salt
pepper
spices
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
// print compileClasspath before compiling the code | |
compileJava.doFirst { | |
sourceSets.main.compileClasspath.each { println it } | |
} | |
// include classes from main into other sourceset, e.g. for integration tests, etc. | |
sourceSets { | |
anotherSet { |
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
> cat anonymous_access.json | |
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": [ | |
"s3:GetObject", | |
"s3:ListBucket" | |
], |
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
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
// Settings | |
const char* ssid= "WHATSHEORDER"; | |
const char* password = "xxx"; | |
IPAddress ip(192,168,178,128); | |
IPAddress subnet(255,255,255,0); | |
IPAddress gateway(192,168,178,1); |
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
s3: | |
accesskey: xxx | |
secretkey: xxxx | |
region: us-east-1 | |
regionendpoint: https://s3.company.com:8082 | |
bucket: my-docker-registry | |
encrypt: false | |
secure: true | |
v4auth: true | |
chunksize: 5242880 |
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
# Take the offical registry image in version 2.6 | |
FROM registry:2.6 | |
# Copy over the StorageGRID self-signed certificate and Root CA, then update them | |
COPY root-ca.pem sgws-cert.pem /usr/local/share/ca-certificates/ | |
RUN update-ca-certificates | |
EXPOSE 5000 5001 | |
ENTRYPOINT ["registry"] |
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
<ReplicationConfiguration> | |
<Rule> | |
<Status>Enabled</Status> | |
<Prefix></Prefix> | |
<Destination> | |
<Bucket>arn:aws:s3:::sgws11-rocks</Bucket> | |
</Destination> | |
</Rule> | |
</ReplicationConfiguration> |
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
var restify = require('restify'); | |
var builder = require('botbuilder'); | |
var botbuilder_azure = require("botbuilder-azure"); | |
// Setup Restify Server | |
var server = restify.createServer(); | |
server.listen(process.env.port || process.env.PORT || 3978, function () { | |
console.log('%s listening to %s', server.name, server.url); | |
}); | |
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
bot.dialog('/', [ | |
function (session) { | |
var msg = new builder.Message(session) | |
.text("Hello, I can help you with:") | |
.suggestedActions( | |
builder.SuggestedActions.create( | |
session, [ | |
builder.CardAction.imBack(session, "Option 1", "Something 1"), | |
builder.CardAction.imBack(session, "Option 2", "Something 2"), | |
builder.CardAction.imBack(session, "Option 3", "Something 3")] |
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
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: azure-vote-back | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: azure-vote-back |
OlderNewer