Skip to content

Instantly share code, notes, and snippets.

View percyvega's full-sized avatar

Percy Vega percyvega

View GitHub Profile

CONCEPTS

Take a clone of a remote repository and run git branch -a (to show all the branches git knows about). It will probably look something like this:
	* master
	  remotes/origin/HEAD -> origin/master
	  remotes/origin/master
Here, master is a branch in the local repository. remotes/origin/master is a branch named master on the remote named origin. You can refer to this as either origin/master, as in:
	git diff origin/master..master
You can also refer to it as remotes/origin/master:

git diff remotes/origin/master..master

  1. BLACK, RED are hot wires, carrying power from the service panel to the electrical device.
  2. WHITE wires are neutral, meaning they carry power back to the service panel.
  3. GREEN (or bare copper) wires are ground wires.

Ceiling Fan: Connect the tip of the ceiling COPPER wire with the tip of the GREEN ground wires (one from the fan, and another one from the fan base).

Connect all WHITE neutral wires (ceiling, receiver and fan).

When one records, it should easily reach -12db, and only as loud as -6db, otherwise it will over-modulate.

For podacasts Convert it to mono and then encode at 64kbps joint stereo MP3 to get the best size / quality / compatibility ratio. Joint stereo would be essentially mono in this case but some old players don't support mono very well.

Cables:

SSL

  1. 1-way SSL (a.k.a. Server Authentication)
    1. Client confirms the server’s identity via the server’s provided certificate by verifying it with a CA (Certificate Authority).
    2. Then the Public Key contained in the received certificate is used along the Session Key to encrypt all sent/received messages.
  2. 2-way SSL (a.k.a. Client Authentication, Mutual Authentication)
    1. Server and Client confirm the other’s identity after each share their own public certificate by verifying it with a CA.
    2. Then the Public Key contained in the received certificate is used along the Session Key to encrypt all sent messages.

Keystore