Skip to content

Instantly share code, notes, and snippets.

@kevin70
kevin70 / docker-ce-ubuntu-17.10.md
Created December 11, 2017 04:51 — forked from levsthings/docker-ce-ubuntu-17.10.md
Install Docker CE on Ubuntu 17.10

Installing Docker CE on Ubuntu 17.10 Artful Aardvark

As of 20/10/2017, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker.

If you are used to installing Docker to your development machine with get-docker script, that won't work either. So the solution is to install Docker CE from the zesty package.

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
@kevin70
kevin70 / README-Template.md
Created April 23, 2018 01:22 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@kevin70
kevin70 / atomix.java
Created May 14, 2018 10:02 — forked from kris-zhang/atomix.java
atomix api学习
/*
* Alipay.com Inc.
* Copyright (c) 2004-2017 All Rights Reserved.
*/
package com.alipay.kris.other.atomix;
import java.time.Duration;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.CompletableFuture;
@kevin70
kevin70 / git-prune.md
Created September 10, 2018 08:48 — forked from dgoguerra/git-prune.md
Prune branches and tags deleted in the remote
# prune branches deleted in origin
git remote prune origin

# prune tags
# http://stackoverflow.com/questions/1841341/remove-local-tags-that-are-no-longer-on-the-remote-repository
git fetch --prune <remote> '+refs/tags/*:refs/tags/*'
@kevin70
kevin70 / Creating your start and stop script
Created December 1, 2021 02:22 — forked from MathOliveira/Creating your start and stop script
Creating your shell script to start/stop a Java application on Linux
With this script you can turn your jar file into a service on linux.
Change the MATH constant to the name of your application and make sure you are correctly specifying
the locationsof the files used in the variables.
For the correct operation of the script install it in the directory init.d and release its access as below:
chmod 755 *your_script*

Some of the Redis best practices content has moved

This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out : https://docs.microsoft.com/azure/azure-cache-for-redis/cache-best-practices.

NOTE: Client specific guidance listed below is still valid and should still be considered. I will update this document once all content has been moved.