Skip to content

Instantly share code, notes, and snippets.

@tomcangbk
tomcangbk / v.php
Created January 29, 2019 15:36 — forked from fangj99/v.php
抖音无水印下载地址
<?php
/**
* Created by PhpStorm.
* User: aric
* Date: 18/7/10 上午9:34
*/
//获取重定向最终网址
function get_redirect_final_target($url)
{
@tomcangbk
tomcangbk / setup-kubernetes-ubuntu-16.md
Created January 8, 2019 03:05 — forked from ruanbekker/setup-kubernetes-ubuntu-16.md
Install a 3 Node Kubernetes Cluster on Ubuntu 16

Master: Dependencies

apt update && apt upgrade -y
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -

cat <<EOF > /etc/apt/sources.list.d/kubernetes.list
deb http://apt.kubernetes.io/ kubernetes-xenial main
EOF
@tomcangbk
tomcangbk / remove_complete_mariaDB.sh
Created July 3, 2018 09:54 — forked from clonn/remove_complete_mariaDB.sh
remove complete mariaDB in ubuntu
sudo apt-get remove mariadb-server
sudo apt-get remove --auto-remove mariadb-server
sudo apt-get purge mariadb-server
sudo apt-get purge --auto-remove mariadb-server
@tomcangbk
tomcangbk / README.md
Created June 8, 2018 11:01 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@tomcangbk
tomcangbk / ec2.tf
Created January 9, 2018 07:45 — forked from solarce/ec2.tf
terraform.io example template for ec2 instance with tags
# The various ${var.foo} come from variables.tf
# Specify the provider and access details
provider "aws" {
region = "${var.aws_region}"
access_key = "${var.aws_access_key}"
secret_key = "${var.aws_secret_key}"
}