Skip to content

Instantly share code, notes, and snippets.

@nicholaelaw
nicholaelaw / General.md
Last active July 6, 2021 07:56
Configuring A VPS Server

First Boot

Packages

As root

yum update
yum install -y epel-release
yum install -y git wget 

Keybase proof

I hereby claim:

  • I am nicholaelaw on github.
  • I am nicholaelaw (https://keybase.io/nicholaelaw) on keybase.
  • I have a public key ASBuB5mosd9vtAP5UE1IzhXlg45rI-c_7VzWkc1dC5D7FAo

To claim this, I am signing this object:

@nicholaelaw
nicholaelaw / Set up GitHub push with SSH keys.md
Last active July 30, 2018 20:07 — forked from developius/README.md
How to work with GitHub. Solutions to various problem.

SSH Keys

Generate ssh key:

ssh-keygen -t rsa -C "[email protected]"

Copy the contents of the file ~/.ssh/id_rsa.pub to your SSH keys in your GitHub account settings. Test SSH key:

ssh -T [email protected]
@nicholaelaw
nicholaelaw / Preferences.sublime-settings
Last active December 7, 2017 21:25
Sublime Text 3 packages and settings
{
"color_scheme": "Packages/DA UI/DA Dark.tmTheme",
"default_line_ending": "unix",
"ensure_newline_at_eof_on_save": true,
"fallback_encoding": "GBK",
"font_face": "Noto Sans Mono CJK SC Regular",
"font_size": 10,
"ignored_packages":
[
"Vintage"

Font Face

A mixin for writing @font-face rules in SASS.

Usage

Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.

@include font-face(Samplino, fonts/Samplino);