Menu
blog.headdesk.me
blog.headdesk.me

Tag: featured

Recursive programming

This morning I passed by my secondary school campus. It has changed a lot with 2 brand new buildings. I started to learn programing in that school, where they taught me about palindrome and some very basic programming lessons. I don’t even remember what language was used back then. Probably basic. Then I remember learning about OO…

Loading

LXC and CentOS 7

LXC has quickly become my favorate test bed. Starting a CentOS 7 container is however slightly complicated.

Loading

First glance on CoreOS

CoreOS seems to be gaining momentum. It happens to be available on Azure so I spun up an instance and tried. Once it’s up, ssh to it and then launch a ubuntu docker instance [bash light=”true”]xpk-core01 ~ # docker run -t -i ubuntu /bin/bash root@cf1c4da1b078:/# root@cf1c4da1b078:/# lsb_release -a No LSB modules are available. Distributor ID:…

Loading

Teaming NICs with teamd

On recent version of Fefora, CentOS, and RHEL, it is possible to use teamd to setup link aggregation. Teamd is more configurable and it allows load balancing on LACP. Here we will walk through the simple configurations using old-fashion config files. To setup load balancing without switch support (or when both connection go to the same…

Loading

Convert number to human readable format

Sure you can do the math yourself but why not trust a tool. coreutils include a tool called numfmt which can convert a number to human readable format. Much like when you run df -h. On mac homebrew, the tool is called gnumfmt. Give it a try: [code] $ gnumfmt –to=iec-i –suffix=B 4812939778547 4.4TiB $…

Loading

iBasso DX90 and AKG K550 – Impressive and disappointed

Got my hands on a DX90 a couple days ago, what a DAP. Its dual Sabre DAC delivers a lot of details in all ranges. From the high to the mid to the bass, I’m getting supreme quality. I don’t think there are emphasis on any range, they’re equally impressive. But as a little bit…

Loading

Redhat Cluster on CentOS 6

In this example, I configured 2x cloud instances as cluster nodes, 1x cloud instance as iSCSI target, exporting the quorum disk for the cluster. http://www.headdesk.me/Redhat_Cluster_on_CentOS_6

Loading

Working with JSON output from AWSCLI

The program looks short but the way Python handles JSON is not very elegant. JSON is supposed to be a serialized object, so it should be processed as an object. But here, it’s processed as an array. [python] #!/usr/bin/python import json import sys print "Usage: cat JSON | BasicParse.py | column -t" jsonInput = sys.stdin…

Loading

  • Previous
  • 1
  • 2
  • aws (14)
  • coffee (2)
  • headfi (1)
  • linux (9)
  • others (61)
  • security (2)
  • tech (41)
  • terraform (3)
  • wordpress (2)

Loading

apache aws awscli azure backup boot cloud coffee docker ec2 EL8 ElasticBeanstalk espresso featured git kernel lelit linux lvm meltdown MFA nat gateway php power proliant python rdp Redhat RHEL rpm Ryzen scp security smartarray smart switch snapshot spectre tech terraform ubuntu ubuntu upgrade vpn windows wordpress workspace

©2026 blog.headdesk.me | Powered by SuperbThemes