Skip to content

Instantly share code, notes, and snippets.

View laijs's full-sized avatar

Lai Jiangshan laijs

  • AntGroup
  • Nanjing
View GitHub Profile

Command

compose help

hyper --host=tcp://147.75.195.39:6443 compose --help

Usage:	hyper compose [OPTIONS] <COMMAND>

Commands:
 create Creates containers for a service
Only in lib/glog/: convenient_api.go
Only in /home/lei/src/github.com/golang/glog: .git
diff -bur /home/lei/src/github.com/golang/glog/glog_file.go lib/glog/glog_file.go
--- /home/lei/src/github.com/golang/glog/glog_file.go 2015-10-20 21:42:19.825139152 +0800
+++ lib/glog/glog_file.go 2015-09-23 20:32:27.913525822 +0800
@@ -43,8 +43,13 @@
func createLogDirs() {
if *logDir != "" {
logDirs = append(logDirs, *logDir)
- }
/*
Copyright 2015 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@feiskyer
feiskyer / ceph-deploy.md
Last active August 29, 2015 14:27
Ceph deployment via ceph-deploy
@carmark
carmark / how-to.md
Last active August 29, 2015 14:25

1, download the hyper files from https://mega.co.nz/#F!mo0xXTRJ!LMViLJRGy2zm--pRVJ6Z_A

2, copy the hyper/config to /var/lib/hyper/config

3, make dir at /var/lib/docker/vbox/images

mkdir -p /var/lib/docker/vbox/images/

4, copy the hyper/100...00.vdi to /var/lib/docker/vbox/images/

@walkerjeffd
walkerjeffd / Synology-Diskstation-Git.md
Last active May 19, 2024 21:30
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation