laradock/laradock#1699 (comment)
https://stackoverflow.com/questions/42889241/how-to-increase-vm-max-map-count
需要调大系统的 max_map_count
设置
sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
sudo sysctl -p
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 1.613 s | |
[INFO] Finished at: 2021-10-10T17:33:29+08:00 | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project zipkin: Resolution of annotationProcessorPath dependencies failed: Unable to get dependency information for com.google.errorprone:javac:jar:9+181-r4173-1: Failed to retrieve POM for com.google.errorprone:javac:jar:9+181-r4173-1: Could not transfer artifact com.google.errorprone:javac:pom:9+181-r4173-1 from/to nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public): Authorization failed for http://maven.aliyun.com/nexus/content/groups/public/com/google/errorprone/javac/9+181-r4173-1/javac-9+181-r4173-1.pom 403 Forbidden | |
[ERROR] com.google.errorprone: |
laradock/laradock#1699 (comment)
https://stackoverflow.com/questions/42889241/how-to-increase-vm-max-map-count
需要调大系统的 max_map_count
设置
sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
sudo sysctl -p
sudo sed -i "s/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g" /etc/apt/sources.list |
PUT ttemplate/_doc/1 | |
{ | |
"someNumber": "1", | |
"someDate": "2019/02/03" | |
} | |
GET ttemplate/_mapping | |
GET _cat/indices |
package main | |
import ( | |
"fmt" | |
"sync" | |
) | |
var x = 0 | |
func sendNumber(wg *sync.WaitGroup, ch chan<- int, nump *int) { |
basePath: / | |
definitions: {} | |
host: httpbin.org | |
info: | |
contact: | |
email: [email protected] | |
responsibleDeveloper: Kenneth Reitz | |
responsibleOrganization: Kenneth Reitz | |
url: 'https://kennethreitz.org' | |
description: 'A simple HTTP Request & Response Service.<br/> <br/> <b>Run locally: </b> <code>$ docker run -p 80:80 kennethreitz/httpbin</code>' |
#include <stdio.h> | |
#include <string.h> | |
char prog[80]; | |
int progIndex; | |
char *rwtab[6] = {"begin", "if", "then", "while", "do", "end"}; | |
const int SYN_ERROR = -1; | |
const int SYN_EXIT = 0; | |
const int SYN_NUM = 11; |
unbind ^b | |
set -g prefix 'C-x' | |
# 设置窗口的数字从1开始 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
bind r source-file ~/.tmux.conf \; display-message "Config reload" | |
bind h select-pane -L |
#!/usr/bin/env bash | |
# checking for xmkmf... no | |
# checking for X... (cached) no | |
# checking if X11 header files can be found... no | |
# checking --enable-gui argument... no GUI support | |
# checking for X11/SM/SMlib.h... (cached) no | |
## if you meet the above situation on ubuntu 16.04, please follow the following cmd | |
# sudo apt-get install xorg-dev |