Skip to content

Instantly share code, notes, and snippets.

View Yexiaoxing's full-sized avatar
👋
Hey :)

Xiaoxing Ye Yexiaoxing

👋
Hey :)
View GitHub Profile

What / Why

Deploy key is a SSH key set in your repo to grant client read-only (as well as r/w, if you want) access to your repo.

As the name says, its primary function is to be used in the deploy process, where only read access is needed. Therefore keep the repo safe from the attack, in case the server side is fallen.

How to

  1. Generate a ssh key
@Yexiaoxing
Yexiaoxing / cusz_course_reg_ocr_byebye.js
Last active December 24, 2017 13:40
CUHK-Shenzhen Course Registration VCode OCR, Byebye!
// ==UserScript==
// @name Ultra OCR for CUHKSZ Course Reg.
// @namespace http://example.com/
// @version 0.2
// @description try to take over the world!
// @author You
// @match http://course.computercomity.com:81/psc/csprd/EMPLOYEE/HRMS/c/SA_LEARNER_SERVICES.*
// @match http://116.31.95.2:81/psc/csprd/EMPLOYEE/HRMS/c/SA_LEARNER_SERVICES.*
// @grant none
// ==/UserScript==
@Yexiaoxing
Yexiaoxing / docker-compose.yaml
Created January 4, 2018 18:01
Docker Compose for Mailman 3
version: '2'
services:
mailman-core:
image: maxking/mailman-core:0.1
container_name: mailman-core
hostname: mailman-core
volumes:
- /opt/mailman/core:/opt/mailman/
stop_grace_period: 30s

Keybase proof

I hereby claim:

  • I am yexiaoxing on github.
  • I am xiaoxing (https://keybase.io/xiaoxing) on keybase.
  • I have a public key ASDx-9uuXG23882q6mP0pC4izhqt9PT9stXTrkxipLOzeQo

To claim this, I am signing this object: