国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
https://daringfireball.net/projects/markdown/syntax#precode
syntax
\*literal asterisks\*
output
*literal asterisks*
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Extends the Array with the Flatten method | |
/// </summary> | |
public static class Flattener { | |
/// <summary> | |
/// Given a N-dimensional array, flattens it into a new one-dimensional array without modifying the elements' order |
############################################################################# | |
# Full Imports | |
from __future__ import division | |
import math | |
import random | |
""" | |
This is a pure Python implementation of the K-means Clustering algorithmn. The | |
original can be found here: |
// Country list source: https://www.dhl.com/en/country_profile.html#.XwODEJNKjOQ | |
// Country abbreviation source: https://planetarynames.wr.usgs.gov/Abbreviations | |
// Postal code: https://gist.githubusercontent.com/jamesbar2/1c677c22df8f21e869cca7e439fc3f5b/raw/21662445653ac861f8ab81caa8cfaee3185aed15/postal-codes.json | |
// Postal code: https://en.wikipedia.org/wiki/List_of_postal_codes | |
// Country/territory items with no postal code regexes or ranges either do not require postal codes | |
// or there may not be enough information for that country/territory | |
export const COUNTRY_ADDRESS_POSTALS = [{ | |
abbrev: 'AF', |
_
(underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
0
(zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)$
(dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$
will delete from wherever your cursor is till the end of the linef<character>
to move cursor to the first occurrence of <character>
f(
to move cursor to first occurence of (
t<character>
to move cursor to upto but not on the first occurrence of <character>
t(
to move cursor to first occurence of (
-------------------------------------------------------------------- | |
-- Queries related to distribution of metadata. | |
-- Find the number of users per profile. | |
SELECT count(id), Profile.name | |
FROM User | |
WHERE User.IsActive = true | |
GROUP BY Profile.name | |
-- Find the distribution of Apex classes per namespace. | |
select count(id), NameSpacePrefix |
javascript:(function() { | |
function h(html) { | |
return html.replace(/<p>/g, "\n") | |
.replace(/<\/p>/g, "\n") | |
.replace(/<b>/g, "**") | |
.replace(/<\/b>/g, "**") | |
.replace(/<strong>/g, "**") | |
.replace(/<\/strong>/g, "**") | |
.replace(/<i>/g, "_") | |
.replace(/<\/i>/g, "_") |
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |