Skip to content

Huang Shiyang

Shawn's TechBlog

Tag: linux

linux

htop

Huang Shiyang November 16, 2020November 16, 2020

Most people familiar with Linux have used the top command line utility to see what process is taking the most CPU or memory. There’s a similar utility called htop that is much easier to use for normal tasks. The first great thing about htop... Read More | Share it now!

golang

Cross-Compiling Golang …

Huang Shiyang August 11, 2020

Compiling your go code into a binary is pretty simple: This will build the binary for your current OS and architecture. But compiling binaries for other operating systems and even architectures is also possible. You just need to modify a few... Read More | Share it now!

linux

关于大内存页面 transparent_hugepage

Huang Shiyang June 30, 2020June 30, 2020

Transparent Huge Pages (THP) are enabled by default in RHEL 6 for all applications. The kernel attempts to allocate hugepages whenever possible and any Linux process will receive 2MB pages if the mmap region is 2MB naturally aligned. The main kernel... Read More | Share it now!

linux

在 Vim 中优雅地查找和替换

Huang Shiyang June 5, 2020June 5, 2020

总有人问我 Vim 中能不能查找,当然能!而且是超级强的查找! 这篇文章来详细介绍 Vim 中查找相关的设置和使用方法。... Read More | Share it now!

linux

apk add python not working

Huang Shiyang June 5, 2020June 5, 2020

It will install python3 automatically with pip. python (version 2) has been decommissioned from latest packages. ... Read More | Share it now!

linux

How to upload a file to Google Drive from the command line

Huang Shiyang March 18, 2020March 18, 2020

I’ve been looking at several linux projects here recently, such as LibreNMS, and you’ll need to be sure you are backing them up. I wanted to quickly backup a compressed copy of my LibreNMS install and so I went looking for a super easy way to... Read More | Share it now!

ansible

Ansible 用 Vault 管理敏感资料

Huang Shiyang March 16, 2020March 16, 2020

导入 Ansible 组态工具,多少会使用明文 (Plain text) 在 Playbooks 里存放敏感资料 (sensitive data) 1,更别说我们还会搭配 Git 版本系统使用,这很可能会造成潜在的资安风险!接下来冻仁将通过 Vault... Read More | Share it now!

linux

Get video media information

Huang Shiyang October 10, 2019October 10, 2019

Give mediainfo a try. On the command line type mediainfo input.mkv. For more detailed video information mediainfo --fullscan input.mkv. ... Read More | Share it now!

linux

How to check if a variable is set in Bash?

Huang Shiyang September 25, 2019September 25, 2019

where ${var+x} is a parameter expansion which evaluates to nothing if var is unset, and substitutes the string x otherwise. To check for non-null/non-zero string variable, i.e. if set, use It’s the opposite of -z. I find myself... Read More | Share it now!

linux

rm Linux 反向删除/排除制定文件(夹)

Huang Shiyang September 25, 2019September 25, 2019

... Read More | Share it now!

  • 1
  • 2
  • 3
  • …
  • 11
  • >

Search

Tags

angularjs avro aws build cassandra centos command docker git github google cloud hadoop hive hortonworks hostname install cluster iptables jar java javascript json kafka kerberos kubernetes linux mac mapr mapreduce mongodb mysql nginx nodejs npm Prometheus python RabbitMQ raspberry pi redis schema shell ssl time ubuntu vi yum

Categories

  • 3d printer
  • Android
  • AngularJS
  • ansible
  • avro
  • AWS
  • C++
  • cassandra
  • CICD
  • Cloud
  • Database
  • Dataguise
  • Django
  • Docker
  • EC2
  • elasticsearch
  • express
  • Game
  • github
  • golang
  • Google Cloud
  • Google Map
  • Hadoop
  • helm
  • hexo
  • Hive
  • IOS
  • Java
  • Javascript
  • jekyll
  • jenkins
  • Kafka
  • kubernetes
  • linux
  • Log
  • Mac
  • Maven
  • Mongodb
  • MySQL
  • networking
  • nginx
  • nifi
  • Nodejs
  • Photoshop
  • PHP
  • Pig
  • prometheus
  • Python
  • RabbitMQ
  • raspberry pi
  • redis
  • Scala
  • Schema Registry
  • sublime
  • tenserflow
  • terraform
  • testing
  • TFS
  • Uncategorized
  • website
  • windows
  • 杂篇
April 2021
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  
« Jan    

Recent Posts

  • How to trigger a Kubernetes cronjob manually
  • python终止线程
  • python2 python3 hash() function
  • htop
  • Fakeapp

Archives

  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015

Count per Day

  • 630287Total reads:
  • 424129Total visitors:
  • 59Visitors today:
  • 0Visitors currently online:

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress | Theme: Amadeus by Themeisle.