Skip to content

Instantly share code, notes, and snippets.

View tranphuquy19's full-sized avatar
🐢
Doraneko

Doraneko tranphuquy19

🐢
Doraneko
  • Vietnam
View GitHub Profile
Tính năng Istio Linkerd Consul
Thông tin chung
Viết bằng Golang
Mã nguồn mở Có https://github.com/istio/istio Có https://github.com/linkerd/linkerd2 Có https://github.com/hashicorp/consul
Có bản hỗ trợ thương mại Tính năng beta sẵn có trên GCP
Tài liệu hướng dẫn
Được chống lưng bởi Google IBM Buoyant. Các CTO đều là những người làm hạ tầng cho Twitter tách ra để mở công ty riêng HashiCorp. CTO là những người rất trẻ và xây dựng được công ty thành công ty tỷ đô
Phiên bản hiện tại 1.6 2.8 1.8
Kiến trúc sử dụng
Môi trường áp dụng Kubernetes + VM Chỉ có Kubernetes Kubernetes + VM
@tranphuquy19
tranphuquy19 / Guest OS Descriptors by VMware Platform.md
Created November 25, 2022 02:46 — forked from dcode/Guest OS Descriptors by VMware Platform.md
When using Packer (or other vmx editing needs), I needed to know what the `guest_os_type` should be according to what platform it was running on. Here you go. If it isn't listed in a column, it didn't exist at that time.
ESXi 6.5 ESXi 6.7 VMware Fusion 11 Guest Description
CRXPod1-64 VMware CRX Pod 1
CRXSys1-64 VMware CRX Sys 1
amazonlinux2-64 Amazon Linux 2 or higher, 64-Bit
asianux3Guest asianux3Guest asianux3 Asianux Server 3
asianux3_64Guest asianux3_64Guest asianux3-64 Asianux Server 3, 64-Bit
asianux4Guest asianux4Guest asianux4 Asia Linux 4
asianux4_64Guest asianux4_64Guest as
@tranphuquy19
tranphuquy19 / Makefile
Created September 22, 2022 17:39 — forked from geta6/Makefile
Makefile for node.js application
#
# Makefile for node application
# by @geta6
#
NODE = node
NPM = npm
PM2 = ./node_modules/.bin/pm2
BOWER = ./node_modules/.bin/bower
@tranphuquy19
tranphuquy19 / gnome.sh
Created March 24, 2022 12:02 — forked from rbellamy/gnome.sh
gnome 3.6.2
# GNOME 3.6.2
# stole fair and square from https://gist.github.com/musinsky/2402448#file-gnome-sh
gsettings set org.gnome.desktop.default-applications.terminal exec 'gnome-terminal --geometry=96x24+0-0'
gsettings set org.gnome.desktop.default-applications.terminal exec-arg '-x'
gsettings set org.gnome.desktop.background picture-options 'none'
gsettings set org.gnome.desktop.background color-shading-type 'vertical'
gsettings set org.gnome.desktop.background primary-color '#3C78B4' # (Red: 60 Green: 120 Blue: 180)
gsettings set org.gnome.desktop.background secondary-color '#1E3C5A' # (Red: 30 Green: 60 Blue: 90)
@tranphuquy19
tranphuquy19 / macbook.sh
Created March 24, 2022 11:54 — forked from tech-otaku/macbook.sh
Ubuntu Desktop Configuration on MacBook Pro
#!/usr/bin/env bash
# Note: LOGIN SCREEN SCALE (200%), LOGIN SCREEN SIZE (1152x864) and DISPLAY SCALE (200%) below are dependant on
# Virtual Machine > Settings > Display > 'Use full resolution for Retina display' in VMware Fusion being checked
# (gui.fitGuestUsingNativeDisplayResolution = "TRUE" in .vmx file)
# Get the installed Ubuntu version e.g. 20, 18, 16 etc.
VERSION=$(lsb_release -r | awk '{print $2}' | cut -d '.' -f 1)
@tranphuquy19
tranphuquy19 / disable-update-reboot.ps1
Created February 9, 2022 08:46 — forked from fredkilbourn/disable-update-reboot.ps1
Disable Windows 10 Update Restart
$task = Get-ScheduledTask | Where-Object `
{ `
$_.TaskPath -eq "\Microsoft\Windows\UpdateOrchestrator\" -and `
$_.TaskName -eq "Reboot" `
}
$task_file = "C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot"
if( $task -eq $null )
{
@tranphuquy19
tranphuquy19 / download.sh
Last active October 7, 2021 10:52 — forked from mgeeky/openvas-automate.sh
OpenVAS automation script.
#!/bin/bash
FEED_HOME="https://community.greenbone.net/t/about-greenbone-community-feed-gcf/1224"
FEED_VENDOR="Greenbone Networks GmbH"
write_feed_xml () {
FEED_VERSION=`cat $FEED_DIR/timestamp`
mkdir -p $FEED_DIR
@tranphuquy19
tranphuquy19 / install_php71_opensuse.sh
Last active July 30, 2021 11:19 — forked from jniltinho/install_php71_opensuse.sh
Install PHP 7.4 on OpenSUSE
#!/bin/bash
### Install PHP 7.4 on OPenSUSE 42.2 64Bits
### https://build.opensuse.org/package/view_file/devel:languages:php/php7/php7.spec?expand=1
### https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/
### http://www.shaunfreeman.name/compiling-php-7-on-centos/
zypper in openssl-devel
zypper in gcc gcc-c++ libxml2-devel pkgconfig libbz2-devel curl-devel libwebp-devel
@tranphuquy19
tranphuquy19 / dart_flutter_why_not.md
Created June 30, 2021 00:53 — forked from coder7eeN/dart_flutter_why_not.md
Dart và Flutter, tại sao không?

Part 1. Mọi thứ đều bắt đầu từ những thứ cơ bản nhất

Khi nhắc đến việc làm sao để tạo ra 1 ứng dụng mobile thì thứ mọi người sẽ lặp tức nghĩ ngay đến là native app (Android và iOS), nhưng bên cạnh đó vẫn còn rất nhiều công nghệ có thể giúp bạn tạo ra 1 ứng dụng mobile như Cordova, Webview (WeChat), Ionic, Xamarin và React Native. Tất cả các framework, platform đó đều hổ trợ người dùng tạo ra được 1 ứng dụng mobile theo ý muốn của mình. Và để không bỏ lỡ cuộc vui thì Google cũng đã mang đến cho người dùng đứa con mới nhất của mình - Flutter - nó kế thừa cũng như nổi bật hơn các công nghệ hybrid app kia. Vậy thì làm sao để có thể sử dụng, có thể tạo ra được những sản phẩm theo ý muốn của mình? Bài viết với những kiến thức của bản thân mình sẽ đem đến cho bạn có được 1 số kiến thức cơ bản nhất để có thể tự mình "chiến" và "khám phá" Flutter.

Dart Language

Bao giờ cũng vậy, bạn muốn "chiến" hoặc "chỉ học để biết" 1 library, 1 framework, 1 platform thì ngôn ngữ (language) sử dụng để build

@tranphuquy19
tranphuquy19 / install_kubeadm.sh
Last active April 20, 2021 10:02
Install KubeADM
#!/usr/bin/env bash
# Set hostname
hostnamectl set-hostname master # for master node
# ================================================================
# Install Docker
# ================================================================
# CentOS/RHEL