Skip to content

Luxing Huang

Thoughs and things

IPSec over GRE setup tutorial

I have done some searching on the internet and found little about this specific topic, hence this post.

Continue reading “IPSec over GRE setup tutorial”

Posted byLuxing HuangAugust 6, 2016July 5, 2017Posted inTechie StuffTags: encryption, gre, ipsec, tunnel4 Comments on IPSec over GRE setup tutorial

Port range forwarding using iptables

Ranged port forwarding has its uses. I want to port forward port number 1025 to 50000 from Machine A to Machine B’s 1025 to 50000. Here is how I did it with iptables.
Continue reading “Port range forwarding using iptables”

Posted byLuxing HuangJuly 17, 2016Posted inTechie StuffTags: iptables, port forwarding, rangeLeave a comment on Port range forwarding using iptables

OpenSSH hang after SSH2_MSG_SERVICE_ACCEPT

One of my servers back in China has a really sloooow connection to some of the famous DNS servers, like Google’s or OpenDNS. I happen to come across a performance issue related to DNS issue when I was logging into that server.
Continue reading “OpenSSH hang after SSH2_MSG_SERVICE_ACCEPT”

Posted byLuxing HuangJuly 2, 2016Posted inTechie StuffTags: dns, server, ssh, sshdLeave a comment on OpenSSH hang after SSH2_MSG_SERVICE_ACCEPT

Operate Django from directly executing python file over command line

Recently I came across a problem which took me some time to find out.

I want to write a script that can take arguments to add user to my Django app. This problem was encountered:
Continue reading “Operate Django from directly executing python file over command line”

Posted byLuxing HuangMay 31, 2016Posted inPersonalLeave a comment on Operate Django from directly executing python file over command line

Fix Mutt auto complete problem

I was using 1.5.x version of Mutt and recently upgraded to 1.6.x. When I tried to use tab key to select from my aliases, it wouldn’t work and will show Query command not defined error.
Continue reading “Fix Mutt auto complete problem”

Posted byLuxing HuangMay 3, 2016May 6, 2016Posted inPersonalLeave a comment on Fix Mutt auto complete problem

Let Firefox support h264 video in Fedora

H264 decoder is proprietary. Hence no default installation on fresh Fedora. We need to add rpmfusion repositories and other packages to support firefox streaming/playing h264 format.
Continue reading “Let Firefox support h264 video in Fedora”

Posted byLuxing HuangApril 23, 2016April 23, 2016Posted inLearning NotesLeave a comment on Let Firefox support h264 video in Fedora

Install XeLaTeX in Fedora

A note to myself. I tried to install XeLaTeX to my freshly installed Fedora 23.
Continue reading “Install XeLaTeX in Fedora”

Posted byLuxing HuangApril 8, 2016April 8, 2016Posted inLearning Notes, PersonalTags: latex, xelatexLeave a comment on Install XeLaTeX in Fedora

Sending email with Python

This is a note from learning Python’s email and smtplib modules.
Most of emails nowadays consists of 3 parts: plain text content, HTML content and attachments. Python’s smtplib library indeed saved us a lot of work.
Continue reading “Sending email with Python”

Posted byLuxing HuangMarch 22, 2016May 31, 2016Posted inTechie StuffTags: email, python, smtplib, tlsLeave a comment on Sending email with Python

Fix SQLite3 dependency issue for dnf

Recently when I did a dnf update I saw broken package for sqlite on my Fedora 23. Then I attempt to re-install that by removing it.

rpm -e --nodeps sqlite

Then shit hit the fan.
Continue reading “Fix SQLite3 dependency issue for dnf”

Posted byLuxing HuangFebruary 26, 2016February 29, 2016Posted inLearning Notes, Techie StuffTags: dnf, rpm, sqliteLeave a comment on Fix SQLite3 dependency issue for dnf

Enabling gpg-agent

When I was following this tutorial to setup GnuPG for mutt account profiles on my personal laptop, I hit gpg-agent is not available in this session error when I was trying to decrypt my profile. Also, I have to type my password for every time when I try decryption.

This is annoying.
Continue reading “Enabling gpg-agent”

Posted byLuxing HuangFebruary 21, 2016February 21, 2016Posted inTechie StuffTags: agent, daemon, gnupg, gpg, setupLeave a comment on Enabling gpg-agent

Posts pagination

Newer posts 1 2 3 4 5 … 9 Older posts

Pages

  • About Me

Categories

  • Learning Notes
  • Personal
  • Techie Stuff

Recent Posts

  • Reset SnappyMail admin portal password
  • Lenovo Y510p BIOS flash to remove wifi card whitelist
  • Lenovo Legion 5 Gen 6 AMD with nvidia backlight issue under Manjaro
  • Screenshot crop to clipboard under Linux
  • Purchased a Minisforum X35G
  • Make virtual ethernet the default
  • Put CPU under Performance mode in Linux
  • mutt integration with Gmail using OAuth
  • Resolve virsh start a domain (VM) failed problem
  • GitLab LFS setup

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Recent Comments

  • Luxing Huang on mutt integration with Gmail using OAuth
  • John Hinsdale on mutt integration with Gmail using OAuth
  • Luxing Huang on Purchased a Minisforum X35G
  • jorgevf on Purchased a Minisforum X35G
  • jorgevf on Purchased a Minisforum X35G

Archives

  • March 2025
  • July 2021
  • April 2021
  • December 2020
  • July 2020
  • February 2020
  • July 2019
  • June 2019
  • December 2018
  • November 2018
  • October 2018
  • June 2018
  • February 2018
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • June 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • October 2014
  • July 2014
  • June 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
Luxing Huang, Proudly powered by WordPress.