Skip to content

Instantly share code, notes, and snippets.

View bwangelme's full-sized avatar
🚀
把 Star 当做收藏在用,点起来很随性。GitHub 全是各种 Tutorial 和 Demo

bwangel bwangelme

🚀
把 Star 当做收藏在用,点起来很随性。GitHub 全是各种 Tutorial 和 Demo
View GitHub Profile
@bwangelme
bwangelme / error.txt
Created October 10, 2021 10:34
build zipkin error
[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:
@bwangelme
bwangelme / file.md
Last active November 16, 2020 08:12
ES 退出,错误码 78
@bwangelme
bwangelme / replace.sh
Last active November 16, 2020 08:12
Ubuntu 替换安装源
sudo sed -i "s/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g" /etc/apt/sources.list
@bwangelme
bwangelme / template.txt
Created May 6, 2020 16:18
ES 中的 index template 和 Dynamic Template
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) {

免费项目实战课程

  1. 不知道简历的项目要写什么?想边做项目边学习新技能?本项目致力于给程序员提供网络上最好的免费项目实战课程
  2. 为了达到这个目标,我们搜索了国内外大量的不同平台的网络课程以及技术博客,并经过初步的筛选,免费的项目并不代表质量低,有时候免费的反而才是最好的。
  3. 网络课程质量参差不齐,学习前可以先对比再谨慎选择,若课程有涉及以下几种情况的话,请提交 issue。
    • 涉及大量广告
    • 需要付费才能学习完整课程
    • 过时,不适合当前开发环境
    • 错漏百出,质量非常低
  4. 课程排序按照字符串从小到大升序排列
@bwangelme
bwangelme / swagger.yaml
Created November 26, 2019 15:38
httpbin swagger config
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;
@bwangelme
bwangelme / tmux.conf
Created October 27, 2019 08:34
tmux 配置
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
@bwangelme
bwangelme / build.sh
Created August 31, 2019 10:19
build vim
#!/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