All librairies used are free and open source.
/*
See https://pdfbox.apache.org
See https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox for released artifacts| # Use the official Node.js 12 image. | |
| # https://hub.docker.com/_/node | |
| FROM node:12 | |
| # Create and change to the app directory. | |
| WORKDIR /usr/src/app | |
| # Copy application dependency manifests to the container image. | |
| # A wildcard is used to ensure both package.json AND package-lock.json are copied. | |
| # Copying this separately prevents re-running npm install on every code change. | |
| COPY package*.json ./ | |
| # Install production dependencies. |
| using System.Web.Mvc; | |
| namespace MyApp | |
| { | |
| public class CarController : Controller | |
| { | |
| //... | |
| public ActionResult Edit(CarModel model) | |
| { |
| public class MemoryCacheManager | |
| { | |
| #region Fields | |
| private readonly IMemoryCache _cache; | |
| /// <summary> | |
| /// All keys of cache | |
| /// </summary> | |
| /// <remarks>Dictionary value indicating whether a key still exists in cache</remarks> |
| // | |
| // Simple example of using net.Socket but here we capture the | |
| // right events and attempt to re-establish the connection when | |
| // is is closed either because of an error establishing a | |
| // connection or when the server closes the connection. | |
| // | |
| // Requires | |
| var net = require('net'); |
| <?php | |
| error_reporting(0); | |
| header('Content-Type: text/json'); | |
| header('Charset: UTF-8'); | |
| $request = $_POST; | |
| $merchant_id = 'YOUR MERCHANT ID'; |
| Item | Specification |
|---|---|
| Custom access key | environment MINIO_ACCESS_KEY |
| Custom secret key | environment MINIO_SECRET_KEY |
| Turn off web browser | environment MINIO_BROWSER=off |
| Listening on bucket notifications | using an extended S3 API |
| Support for bucket notifications | postgres, amqp, nats, elasticsearch, redis, kafka (in-progress) |
| Shared Backend (FS) | In-progress |
| server { | |
| listen 443 ssl; | |
| server_name xxx.xx.io | |
| ssl on; | |
| ssl_certificate /etc/asterisk/certs/xxx.io.pem; | |
| ssl_certificate_key /etc/asterisk/certs/xxx.io.key; | |
| ssl_session_timeout 5m; |
| .rounded-corners-gradient-borders { | |
| width: 300px; | |
| height: 80px; | |
| border: double 4px transparent; | |
| border-radius: 80px; | |
| background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff); | |
| background-origin: border-box; | |
| background-clip: content-box, border-box; | |
| } |
| Author's punctuation style is preserved. | |
| Challenge: | |
| - Assume most recent language standard are available (ES6) | |
| - We expect good performance. | |
| - If missing more requirements details, just make reasonable assumptions of your own. | |
| - Solution must be simple and compact. | |
| No defensive coding, no comments, no unrequested features. | |
| Only one file 10-20 lines of code | |
| - Work only inside Google Docs: no external editor/IDE/debugger, no copy-paste to/from such an editor. |