Monthly Archives: May 2013

OpenWRT web

uHTTPd Embedded Lua uHTTPd supports running Lua in-process, which can speed up Lua CGI scripts. It is unclear whether LuCI supports running in this embedded interpreter. LuCI seems to work fine (if not better) with the embedded Lua interpreter. [email protected]:~# … Continue reading

Posted in Infrastructure | Tagged , , , | Leave a comment

Program Documentation

So these are my ideas on how to document projects. There are three types of documentation types: User guides Targetted and end-users of the software and people who want a brief overview. Man pages Again targetted at end-users but also … Continue reading

Posted in IT development | Tagged , , | Leave a comment

Git Tutorials

Reference for Git tutorials http://linux.yyz.us/git-howto.html http://git.or.cz/course/svn.html http://spheredev.org/wiki/Git_for_the_lazy http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html http://www.kernel.org/pub/software/scm/git/docs/everyday.html https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial

Posted in git | Tagged , , | Leave a comment

Remote Bridging

Connecting Two Remote Local Networks With Transparent Bridging Technique Sometimes we need to connect two or more geographically distrubuted ethernet networks to one broadcast domain. There can be two different office networks of some company which uses smb protocol partially … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

ArchLinux tips

Custom Repos and Packages In the repo directory, put all the packages in there. repo-add ./custom.db.tar.gz ./* Add to pacman.conf: [custom] SigLevel = [Package|Databse]Never|Optional|Required Server = path-to-repo See also repo-remove. A package database is a tar file, optionally compressed. Valid … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Native Kerberos Authentication with SSH

Pre-requisites First off, you’ll need to make sure that the OpenSSH server’s Kerberos configuration (in /etc/krb5.conf) is correct and works, and that the server’s keytab (typically /etc/krb5.keytab) contains an entry for host/[email protected] (case-sensitive). I won’t go into details on how … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Network wiring notes – 8P8C / RJ45

What you were probably looking forT568A/B (10-BASE-T and 100-BASE-TX): With pin positions are counted from left to right with the contacts facing you (clip on the back) and pointing up (cable coming out the bottom): Color (568B) Pin Color(568A) Orange-white … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

Emacs Cheat Sheet

Cursor Motion Key Cursor Motion C-f Forward one character C-b Backward one character C-n Next line C-p Previous line C-a Beginning of line C-e End of line C-v Next screenful M-v Previous screenful M-< Beginning of buffer M-> End of … Continue reading

Posted in IT | Tagged , | Leave a comment

Kerberos howtos

Kerberos is a network authentication protocol which works on the basis of “tickets” to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner. (Source Kerberos_(protocol) ) Backups Create backup: kdb5_util dump … Continue reading

Posted in IT development | Tagged , , , , | Leave a comment

Mirroring a Gitorious repository to GitHub

There is nothing special with GitHub and Gitorious here. This technique would work exactly the same the other way around or with other servers. In a nutshell # Inital setup git clone –mirror git://gitorious.org/weasyprint/weasyprint.git weasyprint GIT_DIR=weasyprint git remote add github … Continue reading

Posted in git | Tagged , | Leave a comment