Skip to content

Instantly share code, notes, and snippets.

View BruceZu's full-sized avatar

Bruce Zu BruceZu

View GitHub Profile
X11, or XWindows as it is known is the graphical interface for Unix/Linux,
where Quartz (including Quartz Extreme) is the graphical interface layer for OSX,
the Finder is for OS9 and below,
and Windows is (or rather, was) for DOS.
x11 : Unix/Linux
Quartz, Quartz Extreme : OSX
Finder : OS9 and below
Windows : DOS
@BruceZu
BruceZu / System Design.md
Created April 18, 2016 04:44 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Interview Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@BruceZu
BruceZu / javadoc.bzl
Created October 26, 2016 22:14 — forked from kchodorow/javadoc.bzl
Javadoc-generating rule for Bazel
# Copyright 2015 The Bazel 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
# distributed under the License is distributed on an "AS IS" BASIS,
localhost and pad name
K8s and docker
ansible cannot ping the control machine itself
@BruceZu
BruceZu / gist:492b76d738f6f8f0ee16c620c6795e08
Created December 14, 2016 22:28
check service centOS
check service centOS
@BruceZu
BruceZu / gist:15acf167296662b4dc140d8a53a22fd5
Created December 14, 2016 23:03
Ansible -C --check dryrun
Ansible -C --check. Dry run
Git asks for username everytime when git push via http
Ansible register and listen can not be parameterized