Skip to content

Instantly share code, notes, and snippets.

View dumbdonkey's full-sized avatar

mobel dumbdonkey

  • hangzhou@China
View GitHub Profile
@dumbdonkey
dumbdonkey / vue_route_dynamic_addr_example.vue
Created January 16, 2020 03:49
vue_route地址栏变化完整例子
<template>
<div>
<el-form label-position="left" ref="form" :model="form">
<el-row>
<el-col :span="12">
<el-form-item prop="timeRange" label="时间" :rules="[{ required: true,message: '时间范围不能为空'}]">
<el-date-picker
@dumbdonkey
dumbdonkey / multiple-deploy-keys-multiple-private-repos-github-ssh-config.md
Created December 18, 2019 02:33 — forked from gubatron/multiple-deploy-keys-multiple-private-repos-github-ssh-config.md
How to configure multiple deploy keys for different private github repositories on the same computer without using ssh-agent

Let's say alice is a github.com user, with 2 or more private repositories repoN. For this example we'll work with just two repositories named repo1 and repo2

https://github.com/alice/repo1

https://github.com/alice/repo2

You need to be to pull from these repositories without entering a passwords probably on a server, or on multiple servers. You want to perform git pull origin master for example, and you want this to happen without asking for a password.

@Test(expected = IllegalArgumentException.class)
public void badArchiveFileName() {
ArchiveFile archiveFile = new ArchiveFile("/ab/c/a.txt");
}
@dumbdonkey
dumbdonkey / gist:2802b538779f8672b7e7b5aa9eb5a451
Last active January 16, 2020 03:51
maven生成版本号
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>timestamp-property</id>
<goals>
<goal>timestamp-property</goal>
</goals>