I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis
onto
the box and here's how I did it and some things to look
out for.
To install:
export DYLD_LIBRARY_PATH=/usr/local/opt/gdal2/lib:$DYLD_LIBRARY_PATH |
_hashCode java/lang/Object.hashCode()I | |
_getClass java/lang/Object.getClass()Ljava/lang/Class; | |
_clone java/lang/Object.clone()Ljava/lang/Object; | |
_dabs java/lang/Math.abs(D)D | |
_dsin java/lang/Math.sin(D)D | |
_dcos java/lang/Math.cos(D)D | |
_dtan java/lang/Math.tan(D)D | |
_datan2 java/lang/Math.atan2(DD)D | |
_dsqrt java/lang/Math.sqrt(D)D | |
_dlog java/lang/Math.log(D)D |
#! /usr/bin/env bash | |
# Insert a USB key. | |
# if needed initialize it with MS/DOS FAT and MBR | |
# Download the Mint ISO image | |
# Convert the ISO -> IMG | |
hdiutil convert -format UDRW -o linuxmint-20.1-cinnamon-64bit linuxmint-20.1-cinnamon-64bit.iso | |
# Check where the USB drive has been mounted |
# 清华大学: | |
cd "$(brew --repo)" | |
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git | |
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" | |
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git | |
# 手动修改 bottles 地址: | |
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles | |
# 或: |
const module = { exports: {} }; | |
let exports = module.exports; | |
const GeneratorFunction = function*(){}.constructor; | |
const iteratorSymbol = (typeof Symbol === "function" && Symbol.iterator) || "@@iterator"; | |
const MISSING = {}; | |
/** | |
* A generator function is always called as a constructor. If multiple | |
* generators share the same prototype, and you put generators on that shared |
This guide is intended to walk you through installation of a valid SSL on your server for your site at example.com.
This example is using root
user, you may need to use sudo
if you encounter problems such as write permissions.
acme.sh
folder in your home directory and more importantly create an everyday cron job to check and renew certificates if needed.