This script set help your renew your certificate from Let's Encrypt.
Suppose you have a domain example.com
-
Generate a private key
mkdir -p /etc/letsencrypt
openssl genrsa 2048 > /etc/letsencrypt/example.com.key
#include <functional> | |
#include <iostream> | |
#include <utility> | |
template<typename Comparator, typename T> | |
typename std::enable_if< | |
std::is_same< | |
bool, | |
decltype(std::declval<const Comparator &>()(std::declval<const T &>(), std::declval<const T &>())) | |
>::value, |
interface RandomEngine { | |
randomUint32(): number; | |
} | |
const PARAM_R = 3.44428647676; | |
/* tabulated values for the heigt of the Ziggurat levels */ | |
const ytab = [ | |
1, 0.963598623011, 0.936280813353, 0.913041104253, 0.892278506696, 0.873239356919, 0.855496407634, 0.838778928349, |
/// | |
/// This is free and unencumbered software released into the public domain. | |
/// | |
/// Anyone is free to copy, modify, publish, use, compile, sell, or | |
/// distribute this software, either in source code form or as a compiled | |
/// binary, for any purpose, commercial or non-commercial, and by any | |
/// means. | |
/// | |
/// In jurisdictions that recognize copyright laws, the author or authors | |
/// of this software dedicate any and all copyright interest in the |
import {MyClass} from './test-file'; | |
test('stub', async () => { | |
await new MyClass().function(); | |
}); |
class KubernetesCli < Formula | |
desc "Kubernetes command-line interface" | |
homepage "https://kubernetes.io/" | |
url "https://github.com/kubernetes/kubernetes.git", | |
:tag => "v1.17.4", | |
:revision => "8d8aa39598534325ad77120c120a22b3a990b5ea" | |
head "https://github.com/kubernetes/kubernetes.git" | |
bottle do | |
cellar :any_skip_relocation |
import {DefaultNamingStrategy, Table, VersionColumn, CreateDateColumn, UpdateDateColumn} from 'typeorm'; | |
import {camelCase} from 'typeorm/util/StringUtils'; | |
export class NamingStrategy extends DefaultNamingStrategy { | |
name: string; | |
columnName(propertyName: string, customName: string | undefined, embeddedPrefixes: string[]): string { | |
let name = [customName || propertyName]; | |
if (embeddedPrefixes.length > 0) { | |
name = embeddedPrefixes.concat(name); |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/lanxingcan/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="candy" | |
# Uncomment the following line to use case-sensitive completion. |
C++ 17 Value Category System
-----------------------------
| glvalue | |
-----------------------------
| lvalue | xvalue | prvalue |
-----------------------------
| | rvalue |
-----------------------------
/* | |
* Copyright (C) 2016 LAN Xingcan | |
* All right reserved | |
* | |
* Permission to use, copy, modify, and/or distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |