Skip to content

Instantly share code, notes, and snippets.

View racheliurui's full-sized avatar

Rachel Rui Liu racheliurui

View GitHub Profile
@racheliurui
racheliurui / site-to-site.md
Created November 10, 2022 05:12 — forked from kosyfrances/site-to-site.md
Steps to set up one tunnel IPSec Site to site VPN on AWS and a VM on another cloud provider (Packet) running Strongswan
@racheliurui
racheliurui / BrewBindInstallAndSetupMacOS.sh
Created April 26, 2022 06:09 — forked from Ikkyusan1/BrewBindInstallAndSetupMacOS.sh
Install and setup bind (named) on MacOS 11 Big Sur with brew
#!/bin/bash
# MacOS 11 Big Sur
# Homebrew 3.3.9
# bind: stable 9.16.24
# Local caching NS server
# 1) INSTALL BIND
@racheliurui
racheliurui / CloudWatchLogsToS3.yml
Created April 30, 2021 07:31 — forked from sakamaki-kazuyoshi/CloudWatchLogsToS3.yml
Export Cloudwatch Logs data to S3 via Amazon Kinesis Data Firehose.
AWSTemplateFormatVersion: '2010-09-09'
# ------------------------------------------------------------#
# Metadata
# ------------------------------------------------------------#
Metadata:
AWS::CloudFormation::Interface:
ParameterGroups:
- Label:
default: "Kinesis Data Firehose Configuration"
Parameters:
@racheliurui
racheliurui / cidr.py
Created September 13, 2020 11:12 — forked from islander/cidr.py
Merge CIDR blocks into super blocks if possible
#!/usr/bin/env python
#
# Example 1: All blocks in list.txt, one CIDR per line
# cat list.txt | cidr.py
#
# Example 2: Echo CIDR blocks to stdout
# echo 1.2.3.0/25 1.2.3.128/25 | cidr.py
import sys
from netaddr import *
@racheliurui
racheliurui / multiple_ssh_setting.md
Created December 26, 2019 09:30 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

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