git pull
git commit –am “comments”
| /** | |
| * Given an array of coins type, and an array of quatity for each type, | |
| * find out the possible sums. | |
| */ | |
| function Set() { | |
| this.set = {}; | |
| } | |
| Set.prototype.add = function(value) { | |
| if (!this.set[value]) this.set[value] = true; | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>Test</title> | |
| <link rel="stylesheet" href=""> | |
| <style> | |
| body { background-color: rice; } | |
| ul { |
| export class GeoMock { | |
| constructor() { | |
| if (typeof navigator === "undefined" || navigator === null) { | |
| window.navigator = {}; | |
| } | |
| if (navigator.geolocation == null) { | |
| window.navigator.geolocation = {}; | |
| } | |
| navigator.geolocation.delay = 1000; | |
| navigator.geolocation.shouldFail = true; |
| RUN apt-get -y install debconf-utils | |
| RUN add-apt-repository -y ppa:webupd8team/java | |
| RUN apt-get update | |
| RUN echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections | |
| RUN apt-get -y install oracle-java8-installer |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Text.RegularExpressions; | |
| using NLog; | |
| using WebGrease.Css.Ast.Selectors; |
| import java.util.List; | |
| import java.util.LinkedList; | |
| class ArtWork { | |
| private String serialNumber; | |
| private double price; | |
| private String material; | |
| private String type; | |
| private String series; |
Inspect container and filter by its property
docker inspect -f '{{ .NetworkSettings.IPAddress }}' container_name
Run a nginx container in a detached interactive terminal that maps the host port 8088 to the nginx webserver port and open a shell in the interactive terminal.
docker run -dit --name my-nginx -p 8088:80 nginx /bin/bash
| license: gpl-3.0 | |
| height: 420 | |
| border: no |
| license: gpl-3.0 | |
| height: 440 | |
| border: no |