I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
| ' Example function call: =BuildHTMLTable(A1:D5) | |
| Public Function BuildHTMLTable(rng As Range) As String | |
| ' Given a Range of Cells, build a Bootstrap HTML table, using the formatting | |
| ' specified in the Excel cells. If "header" is specified to equal true, assumes | |
| ' the first row in the table is a header row. | |
| Dim last_r As Long: last_r = rng.Cells(1, 1).Row | |
| Dim tds As New Collection | |
| Dim txt As String | |
| Dim isFirstRow As Boolean: isFirstRow = True |
| import java.io.*; | |
| import java.util.logging.*; | |
| import javax.xml.bind.DatatypeConverter; | |
| /** | |
| * Hashing with SHA1 | |
| * | |
| * @param input String to hash | |
| * @return String hashed | |
| */ |
| 第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo: | |
| cd /etc/yum.repos.d/ | |
| vim nginx.repo | |
| 填写如下内容: | |
| [nginx] | |
| name=nginx repo |
| #!/usr/bin/python | |
| import xml.etree.ElementTree as ET | |
| import requests | |
| import uuid | |
| params = {'cup2hreq': 'foo', 'cup2key': 'bar'} | |
| platform = 'mac' | |
| os_version = '10.12' |
Follow [steps][1]:
Import-Module 'C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath d:\scratch\vmx\VM-disk1.vmdk -VhdType DynamicHardDisk -VhdFormat vhdx -destination c:\vm-disk1To send a request via the sandbox, you can use pm.sendRequest.
pm.test("Status code is 200", function () {
pm.sendRequest('https://postman-echo.com/get', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});
Lookup the open port:
iptables -L -n
Add new open port:
//open 8080 port
iptables -I IN_public_allow -p tcp --dport 8080 -j ACCEPT
| #!/bin/bash | |
| # This script has to be run as your confluence user or root | |
| # Create a backup of, and attempt to restore a confluence h2 internal database | |
| # Go home. | |
| cd ~ | |
| # Stop confluence | |
| /opt/atlassian/confluence/bin/stop-confluence.sh | |
| # Really though... |