Bookmarks with My Notes
Backup
- Rsync Backups and Snapshoting - Anthony Thyssen
Rsync Backups and Snapshoting
Making incremental backups (snapshots) with rsync
It’s actually very easy to use rsync to create multiple snapshot of a backup.
All you have to do is create a hard linked copy of the backup tree before (or after) you run rsync. Each snapshot will have a hardlinked copy of the files, so each snapshot uses very little extra disk space.
Then when a file changes, rsync will unlink and recreate that files, while leaving the old version of the changed file older hardlinked snapshots untouched.
This means you can have many ‘snapshots’ of your backup (hours, days, etc) each with a copy of the files as they existed at the time the snapshot was made, with only the changed files using extra disk space. A very efficent of disk space for a snapshot system.
However, be warned that file premissions, and ownership is shared via hardlinks, so if later updated changes some files owner or permission than ALL the copies of that linked file will also recieved the same change. This is the only cavat with a hardlinked snapshot system.
- PSA: Backups
- Also: https://www.jwz.org/doc/backups.html
Dear Lazyweb, and also a certain you-know-who-you-are who should certainly know better by now, I am here to tell you about backups. It’s very simple.
. . .
$ sudo rsync -vax --delete --ignore-errors / /Volumes/Backup/
If your version of rsync supports the
--xattrs
and--acls
options (it probably does), use those too.If you have a desktop computer, have this happen every morning at 5AM by creating a temporary text file containing this line:
0 5 * * * rsync -vax --delete --ignore-errors / /Volumes/Backup/
and then doing sudo crontab -u root that-file
. . .
You have a computer. It came with a hard drive in it. Go buy two more drives of the same size or larger. If the drive in your computer is SATA2, get SATA2. If it’s a 2.5” laptop drive, get two of those. Brand doesn’t matter, but physical measurements and connectors should match. – By: Jamie Zawinski, 2007.
- Also: https://www.jwz.org/doc/backups.html
- crontab_backup_script
Inspired by http://www.jwz.org/blog/2007/09/psa-backups/ and extended to maintain off-line backups.
Inspired by jwz’s method for on-line backups and modified in light of the CryptoLocker malware to use off-line storage, this script runs nightly to synchronise
rsync
backups.The method used to mount and unmount off-line storage is Mac OS X-specific, but this script backs up data residing on co-located servers, Windows machines, Macs, and web servers.
The
line_to_put_in_crontab
should be put in root’s crontab.The backup volumes are kept unmounted; they really should be kept physically unplugged and powered off in case CryptoLocker gets smart enough in future to try mounting disks before it goes hunting.
- GitHub - nickjeffrey/kvm_backup: Backup scripts for KVM virtual machines
Simple shell scripts to perform backup of KVM virtual machines. Runs from cron on your KVM host(s).
Supported backup destinations include local disk path, remote NFS share, another remote KVM host.
- Backing up FreeBSD and other Unix systems
I have a 3-Tbyte server running FreeBSD-6.1 that handles versioned backups. I don’t bother with encrypting the filenames or hashes because we control the box, and if I’m not at work, other admins might need to restore something quickly.
We have around 3.7 million files from 5 other servers backed up under two 1.5-Tbyte filesystems, /mir01 and /mir02. My setup looks like this:
[ . . . ]
Rsync Snapshots
- linux-timemachine – Rsync-based OSX-like time machine for Linux, MacOS and BSD for atomic and resumable local and remote backups
Rsync-based OSX-like time machine for Linux, MacOS and BSD for atomic and resumable local and remote backups.
timemachine is a tiny and stable KISS (https://web.archive.org/web/20220411220714/https://en.wikipedia.org/wiki/KISS_principle) driven and POSIX (https://web.archive.org/web/20220411142007/https://en.wikipedia.org/wiki/POSIX) compliant script that mimics the behavior of OSX’s timemachine. It uses rsync (https://web.archive.org/web/20220411142007/https://linux.die.net/man/1/rsync) to incrementally back up your data to a different directory, hard disk or remote server via SSH. All operations are incremental, atomic and automatically resumable.
By default it uses the rsync options: –recursive, –perms, –owner, –group, –times and –links. In case your target filesystem does not support any of those options or you cannot use them due to missing permission, you can explicitly disable them via –no-perms, –no-owner, –no-group, –no-times, and –copy-links. See FAQ (https://web.archive.org/web/20220411142007/https://github.com/cytopia/linux-timemachine#bulb-faq) for examples.
Motivation
The goal of this project is to have a cross-operating system and minimal as possible backup script that can be easily reviewed by anyone without great effort. Additionally it should provide one task only and do it well without the need of external requirements and only rely on default installed tools.
Retention
As described above this project is KISS driven and only tries to do one job: back up your data.
Retention is a delicate topic as you want to be sure that data is removed as intended. For this there are already well-established tools that do an excellent job and have proven themselves over time: tmpreaper (https://web.archive.org/web/20220411142007/http://manpages.ubuntu.com/manpages/precise/man8/tmpreaper.8.html) and tmpwatch (https://web.archive.org/web/20220411142007/https://linux.die.net/man/8/tmpwatch).
Reliability
The script is written and maintained with maximum care. In order to retain a reliable and stable backup solution, a lot of effort goes into a vast amount of integration and regression tests (https://web.archive.org/web/20220411142007/https://github.com/cytopia/linux-timemachine/actions). These tests not only give you measurable confidence, but also help new contributors to not accidentally introduce new or old bugs.
FAQ
Q: Should I add trailing directory slashes (/)? A: Trailing directory slashes only matter for the source directory and will not make a difference if added to the destination directory.
- rsync-time-backup – Time Machine style backup with rsync
This script offers Time Machine-style backup using rsync. It creates incremental backups of files and directories to the destination of your choice. The backups are structured in a way that makes it easy to recover any file at any point in time.
ZFS Snapshots
ZFS
Documentation
- Feather Wiki - A tiny tool for simple, self-contained wikis!
Feather Wiki is a lightning-fast infinitely extensible tool for creating non-linear notebooks, databases, and wikis. Inspired by TiddlyWiki, the app itself is contained within a single 58-kilobyte HTML file that runs right in your browser. Publishing your content for the world to see is as simple as uploading that file to a web server, and updating content is as simple as overwriting the file.
Unlike TiddlyWiki, Feather Wiki reduces loading time on even the slowest internet connections by keeping the file size as small as possible while still using a style reminiscent of other popular wikis. With low-level access to its underlying code framework, you can customize Feather Wiki to do almost anything you want.
- MDwiki - Markdown based Wiki done 100% on the client via JavaScript
MDwiki is a CMS/Wiki completely built in HTML5/Javascript and runs 100% on the client. No special software installation or server side processing is required. Just upload the mdwiki.html shipped with MDwiki into the same directory as your markdown files and you are good to go!
Features
- Built completely in Javascript/HTML5 and does not require any local or remote installations
- Uses Markdown as its input markup language
- Built on top of jQuery and Bootstrap3 to work cross-browser, with responsive layout
- Extends Markdown with special Gimmicks that add rich client functions, like syntax highlighting via hightlight.js, GitHub Gists, or Google Maps for geo data
- Themeable through Bootstrap compatibility, supports all themes from bootswatch
Requirements
- Webspace (or a web server that can serve static files) - can be local
- Any modern Webbrowser
- mdwiki.html file
- Documentation - Oatmeal
Documentation
Here are some scattered thoughts on writing and maintaining documentation. My experience doing this is wholly confined to software development, but I think most of this advice is general enough to make sense in other domains, too.
All text is hypertext.
One thing well
I think good documentation picks a lane and runs there. It doesn’t try to be everything for everyone all at once.
The lanes available:
- Tutorials, learning-oriented (teaching someone to cook)
- How-to guides, problem-oriented (a recipe for cooking a specific thing)
- Explanation, understanding-oriented (historical overview of an ingredient’s cultural importance)
- Reference, information-oriented (an encyclopedia article about an ingredient)
Each of these maps fairly well to an audience:
- Tutorials are for folks who are totally new to a thing
- How-to guides are a step up from tutorials and help you learn idioms and best practices of a space
- Explanation is useful when needing to convey the value of a thing
- Reference is generally for experts who are cozy doing the thing
whitebophir - Online collaborative Whiteboard that is simple, free, easy to use and to deploy
- whitebophir - Free online collaborative whiteboard WBO
The public board is accessible to everyone. It is a happily disorganized mess where you can meet with anonymous strangers and draw together. Everything there is ephemeral.
Visualization
Editor
ed
- Ed Mastery - Michael W Lucas
Let me be perfectly clear: ed(1) is the standard Unix text editor. If you don’t know ed, you’re not a sysadmin. You’re a mere dabbler. A dilettante. Deficient.
Forty years after ed’s introduction, internationally acclaimed author Michael W Lucas has finally unlocked the mysteries of ed for everyone. With Ed Mastery, you too can become a proper sysadmin.
Ed Mastery will help you:
- understand buffers and addresses
- insert, remove, and mangle text
- master file management and shell escapes
- comprehend regular expressions, searches, and substitutions
- create high-performance scripts for transforming files
You must be at least this competent to use this computer. Read Ed Mastery today!
“I’m glad someone’s finally giving ed the attention it deserves.”
~ Ken Thompson, co-creator of Unix
- ed Cheatsheet
SDF Public Access UNIX System - Free Shell Account and Shell Access
Vi
Writing
- Lab Notebooks
What wet-lab chemistry can teach software engineers
- Paper
Paper is good. Somehow, a blank page and a pen makes the universe open up before you. Why paper has this unique power is a mystery to me, but I think we should all stop trying to resist this reality and just accept it.
[ . . . ]
So let me offer a few observations about paper. These all seem quite obvious. But it took me years to find them, and they’ve led me to a non-traditional lifestyle, paper-wise.
Observation 1: The primary value of paper is to facilitate thinking.
Observation 2: If you don’t have a “system”, you won’t get much benefit from paper.
Observation 3: User experience matters.
Observation 4: Categorization is hard.
[ . . . ]
My current system, the first one I actually like, is this:
- Buy three-hole punched printer paper.
- Write on it.
- Everything goes into a single-three ringed notebook in chronological order, no exceptions.
- When that notebook is full, take the paper out, put a sheet of brown cardstock on each end, and put brass fasteners through the holes.
- That “book” then goes on a bookshelf, never to be looked at again.
- Note Taking, Writing and Life Organization Using Plain Text Files
The Why: Advantages and Disadvantages of Plaintext Files
“Writing is thinking. To write well is to think clearly. That’s why it’s so hard.” – David McCullough
Writing is arguably the critical ingredient to how we think and learn. If you can’t write about something coherently and intelligibly, then your thinking on that topic or subject is vague and incomplete.
Similarly, I’d argue writing is a key aspect to personal and professional organization too. Often through lists, note-taking, project management tools, or a process journal, we write out our plans, goals, intentions and other aspects that clarify what we want to accomplish. Writing allows us to express vague feelings and turn them into intentions and goals.
- Replace Your To-Do List With Interstitial Journaling To Increase Productivity
A new journaling tactic that immediately kills procrastination and boosts creative insights.
- Get focused with interstitial journaling
Digital Gardens - Personal Wikis - Knowledge Bases
- Felix at Home - Felix Pleşoianu
I’m just a lonely orange cat watching the moon from the windowsill on a starry night. I’m not a social media profile, or an end-point where you can push replies. I’m a person. Talk to me.
[ . . . ]
Personal
- journal: occasional short thoughts
wiki: notes that don’t fit anywhere else
- blog archive: https://felix.plesoianu.ro/blog/index.html
[ . . . ]
- web directory: hundreds of links in context Bounty of bookmarks
This is my personal web directory; a way to do something with my browser bookmarks instead of hoarding them. There are two parts. Around eight hundred are divided between the categories below as of February 2025. More were moved to The Web Curator:
This is my personal link directory; a way to do something with my browser bookmarks instead of hoarding them. Over nine hundred are divided between the categories in the sidebar as of late November 2023. The hard part was recalling why I wanted to keep some of them.
Specifically, this is an experimental mirror of the initial static website with more pages and better organization, but ideally it should become its own thing someday.
Motivation
The web is huge. Each part of my website has a web directory of its own, on top of the big one with everything else in it. I’m not alone in this, either. We all need to do it just to keep track of stuff somewhat, and it’s still overwhelming. But we can! That’s what links are for. That’s how the web works, by design.
The age of big, impersonal directories has passed, but web curation is more important than ever. The big search engines have betrayed people. There’s a new generation, but it will need time to catch up. And it’s not easy to make a search engine. A web directory can be as simple as one web page divided into sections. In fact an awesome list or blogroll is little more than that. Yet they hold the web together. And nobody needs permission to make their own.
Sub Pages
- WebSeitz/wiki
This is the publicly-readable WikiLog Digital Garden (20k pages, starting from 2002) of Bill Seitz (a Product Manager and CTO).
- Hack Your Life With A Private Wiki Notebook, Getting Things Done, And Other Systems
Hack Your Life with a Private Wiki Notebook: Mash Up “Getting Things Done” and Other Systems
- Maggie Appleton - A Brief History & Ethos of the Digital Garden - A newly revived philosophy for publishing personal knowledge on the web
My small collection highlighted a number of sites that are taking a new approach to the way we publish personal knowledge on the web.
- Digital garden - Dan Cătălin Burzo - Guides, resources, and writing in progress
- Technical notes
- My toolbox: Favorite software libraries, command-line cheatsheets, etc.
- Snippets: Small bits of useful code.
- Releasing JavaScript: How to write & maintain open-source JavaScript projects.
- DOM Events Diagram: A visual reference of DOM Event interface inheritance.
- Microinteractions: Details in interaction design.
- Input methods: A compendium of ways users can insert text into an editor.
- Literal garden
- Rețetar: A growing collection of our favorite recipes. Written in Romanian.
- Grow notes: Notes on growing edible plants.
- Indoor plant care: Some notes on caring for indoor plants.
- Past writings
- React Recipes: Documents ways of working with React.js.
- WordPress Template Hierarchy: A visual guide to how templates relate to each other in WordPress.
- Technical notes
Inspiration
- edstrom.dev - about
Hello. On this homepage, I publish some of my notes.
Notes of what?
What not? They can include: study notes, taken while I learn; guides / tips; cheatsheets; observations; movie lists and other attempts to systematize; open questions / confusions.
Most of all, it’s not a blog. Blogs (and social media) tend to peg each post to a point in time, so that they age like milk and not like wine. That’s the “stream” in The Garden and the Stream. I always saw more sense in the “garden” a.k.a. evergreen/long content, where you continually reuse, refine and exitend your pages.
If there’s any guiding principle, it’s the notion of a slipbox as described by Book: How to Take Smart Notes, though as of [2023-11-23 Thu] I think future-me wouldn’t call this a good slipbox just yet.
It may make sense to realize the notes existed before the website, they’re not written for it. I was writing them anyway, for my own purposes.
- some files … - every.sdf.org
[ . . . ]
18 directories, 106 files
tree v2.1.0 © 1996 - 2022 by Steve Baker and Thomas Moore
HTML output hacked and copyleft © 1998 by Francesc Rocher
JSON output hacked and copyleft © 2014 by Florian Sesser
Charsets / OS/2 support © 2001 by Kyosuke Tokoro
From ABOUT_THIS_SITE
about this site…
This site is primarily a repository of plain text files (7bit US ASCII) that I have either written, collected or converted. They are mostly set at a fixed column width and may not play nicely with your modern browser or smartphone. All files with a .txt suffix are ASCII. While the site is designed mainly for my own use, I am happy to share it. Please feel free to peruse and/or download anything you find of interest.
The site is automagically generated in html/css by tree-1.8.0 and is hosted by the SDF Public Access UNIX System.
Please note that things around here tend to get added, removed, renamed and/or relocated not infrequently so directly linking to an individual file is probably not a good idea. Best to download a copy for yourself or request a permanent(ish) link.
And any file with my email address at the bottom is something I have scribbled. Therefore, if you have questions or comments, you can contact me at:
every@ma.sdf.org
- Hacks Repo - Jeffrey Paul
From https://sneak.berlin/20191011/stupid-unix-tricks/ : I have a git repository called hacks into which I commit any non-secret code, scripts, snippets, or supporting tooling that isn’t big or important or generic enough to warrant its own repo. This is a good way to get all the little junk you work on up onto a website without creating a billion repositories.
- James’ Coffee Blog
Life Management - Self Management
- Year Compass
YearCompass is a booklet that helps close your year and plan the next one.
Download the booklet: https://yearcompass.com/#download
Blogs
- Random Biology - Commentary and informative articles on science, medicine, and technology
[ . . . ]
Our motto is “Viscus, incompositus, ignavus, nuntius,” which means “Entropy, disorder, disinclination, and messiness.” It is a perfect description of the condition of this website and should give some idea of the probability that we will ever do anything about it.
Our other motto is “No Flash, No Javascript, No animated ads, No cookies, No tracking, no ChatGPT, and No viruses.”
We accept no advertising or donations. We do not sell anything. But if you value what’s posted here, the best way to keep this site alive is by linking to it.
Please note, I am not on Twitter, Facebook, or any other social medium.j If you see a post there claiming to be from me, it’s fake. In support of the First Amendment, this site will not link to any site that is confirmed to engage in political censorship and will not discuss their content, if any.
[ . . . ]
About Us
I am a professor of neurology with a Ph.D. in biophysics. Before I retired, I taught and did research at a small medical school. I receive no compensation of any kind for the opinions and information on this website, but my dolphin is solely responsible for its content. He just says the darnedest things.
~ T. J. Nelson
Postmaster
SMTP
SMTP RFCs
- RFC5322 (used to be RFC822) OpenSMTPD: We deliver ! by Eric Faurot - Presentation at AsiaBSDCon 2013
Exchange Internet messages:
- as defined by RFC5322 (used to be 822)
[ . . . ]
- RFC 5321 OpenSMTPD - Home page (retrieved on Sep 24, 2024)
OpenSMTPD is a free implementation of the server-side SMTP protocol as defined by RFC 5321 [ . . . ]
- What’s this “envelope sender” and “envelope recipient” stuff? - getmail frequently-asked-questions
The “envelope” of an email message is “message metadata”; that is, the message is information, and the envelope is information about the message (information about other information). Knowing this is critical to understanding what a domain or multidrop mailbox is, how it works, and what getmail can do for you.
Others have tried to explain this with varying degrees of success. I’ll use the standard analogy of normal postal (i.e. non-electronic) mail:
[ . . . ]
- The MAIL, RCPT, and DATA verbs aka - What’s this “envelope sender” and “envelope recipient” stuff?
The MAIL, RCPT, and DATA verbs
The server keeps track of an envelope for the client.
The envelope contains any number of envelope recipient addresses and at most one return path. The envelope is empty when it contains no addresses.
When the client connects to the server, the envelope is empty.
For example, after the following responses and requests, the envelope contains the return path
djb@silverton.berkeley.edu
, the recipient addressGod@heaven.af.mil
, and the recipient addressangels@heaven.af.mil
:[ . . . ]
Sendmail
The Architecture of Open Source Applications (Volume 1) - Sendmail - Eric Allman
- Sendmail Made Easy - UUASC (UNIX Users Association of Southern California - LA) - April 3, 2003 - archived from the original on 2008-02-28
Sendmail is configured by the
sendmail.cf
file, which is typically located in either/etc
or/etc/mail
. This file contains literally over a thousand lines of configuration data which most people find intimidating. After reading through this document, you should be able to wade through that file with enough understanding to tell what it is doing.To configure sendmail, though, we do not actually edit the
sendmail.cf
file. Normally you edit a file namedsendmail.mc
, which is used to “compile” thesendmail.cf
file. Thesendmail.mc
file is written in a language calledm4
, which was originally a pre-processor for Fortran (similar to cpp for C).The following is an example of one of the m4 macro files I actually use for one of the mail servers I have configured. This file contains some special changes for the Cyrus IMAP daemon, which I tweaked a bit to use Procmail in the mix as well.
[ . . . ]
- Claus Aßmann at sendmail.org
You’re probably looking for some stuff about sendmail? Here it is:
Tools
- Procmail Quick Start - An introduction to email filtering with a focus on procmail
Copyright (c) Nancy McGough & Infinite Ink, Originally published in 1994 as part of the Filtering Mail FAQ, Last modified 27-Nov-2007
Also, it has a nice Glossary:
For example:
MTA or message transfer agent or mail transport agent or mailer
The underlying program that a mail server uses to send and receive mail messages. There are many MTAs in use today, for example CommuniGate Pro, Courier, Exchange, exim, MMDF, postfix, Post.office, qmail, sendmail, smail, and Zmailer. Note that on some systems the sending MTA is different from the receiving MTA. For more information, see the definition of MTA at FOLDOC, Cameron Laird’s personal notes on message transfer agents, Unix Mail Transport Systems reviewed by JdeBP, and the definition of Message Transfer Agent at Wikipedia.
Productivity
- arbtt - automatic, rule-based time tracker
arbtt is a cross-platform, completely automatic time tracker.
There are lots of time-tracking programs out there that allow you to collect statistics about how you spend your time, which activities are your biggest time-wasters, and so on. However, most of them require explicit action on your part: you have to manually enter what activity or project you’re working on, and that has several disadvantages:
- You need to stop what you’re doing to insert the meta-information, and that breaks your concentration;
- If you are lazy or get annoyed and don’t keep updating it, the statistics will be useless
- You won’t be able to catch a little thing like quickly answering an e-mail or looking for the weather report.
- I’m tired of overwhelming productivity apps, so I created this simple system instead
Key Takeaways
- Use simple, efficient apps for productivity, like TickTick for tasks and Google Calendar for events.
- Keep note-taking simple with Google Docs and Windows Notepad, and streamline your reading process with Feedly, Pocket, and Google Discover.
- Focus on personal habits and discipline, not just the features of productivity apps, to achieve your goals.
Time Management Tips etc. - time-management-tips-etc – Wouter van Oortmerssen
- today.txt - If you do this and only this, today will be a good day
Plain Text (plaintext, plain-text)
- today.txt - Includes a template for today.txt file in plain text
If you do this and only this, today will be a good day.
- Plain Text Journaling System - The Overthinker
Includes a template for plain text daily journaling
- Journal.TXT - Single-Text File Journals - The Human Multi-Document Format for Writers
Write your journal in a single-text file.
- Markwhen - A markdown-like journal language for plainly writing logs, gantt charts, blogs, feeds, notes, journals, diaries, todos, timelines, calendars or anything that happens over time
Output: Calendar Timeline Oneview JSON
- Note Taking, Writing and Life Organization Using Plain Text Files
Fallacy of the Collector
As a self-tracker and documenting guy, I love collecting stuff and tracking different aspects of my life. For example, automation tools like IFTTT and Zapier can make it seamless for me to pull in links, articles and clippings from tools like Todoist or Instapaper. Evernote and most note-taking tools also make it a tad too easily to be used for miscellaneous collecting. Once all of my notes were into plain text, I discovered how much of it was just collected stuff.
The key realization here is that your plain text files system should not just be another collection system. In fact, collecting and aggregating should be a minor aspect of what these systems should do. What our system should help us do is to learn, connect and create and to stay organized.
- Calendar.txt - Keep your calendar in a plain text file
Calendar.txt is versionable, supports all operating systems and easily syncs.
You’re not going to need it before 2033, but here is the short go program to generate calendar.txt templates.
- txt2tags - One source, multiple targets
Txt2tags is a document generator. It reads a text file with minimal markup such as bold and //italic// and converts it to many formats.
- awesome-txt – A collection of awesome .TXT Text tools, formats, services, tips & tricks and more
TeX and LaTeX
- Document Preparation using LaTeX 2e - by Phil Spector
Statistical Computing Facility, Department of Statistics, University of California, Berkeley
Getting Started - LaTeX - Research Guides at Florida Institute of Technology
- The Not So Short Introduction to LaTeX 2e Or LaTeX 2e in 95 minutes
by Tobias Oetiker, Hubert Partl, Irene Hyna and Elisabeth Schlegl
- An introduction to creating documents in LaTeX
Learn to typeset documents in the LaTeX text markup language.
- Create beautiful PDFs in LaTeX
Use the LaTeX markup language to compose documents.
- Manual, LaTeX Reference, Tutorial - LaTeX Suite Quick Start
A (very) quick introduction to Latex-Suite
Latex-Suite is a comprehensive set of scripts to aid in editing, compiling and viewing LaTeX documents. A thorough explanation of the full capabilities of Latex-Suite is described in the user manual. This guide on the other hand, provides a quick 30-45 minute running start to some of the more commonly used functionalities of Latex-Suite.
- Producing Beautiful Documents with TeX and LaTeX
An Extremely Brief Introduction - by Lawrence Hubert, University of Illinois
- How to Produce Professional Documents with LaTeX
A simple guide to learning LaTeX for formatting your professional documents
texlogsieve: (yet another program to) filter and summarize LaTeX log files - Package Documentation
- texlogsieve: (yet another program to) filter and summarize LaTeX log files - Source
Nelson Lago
Tool Makers
Websites
Dotfiles
Unicode
Locally hosted
Networking
- TCP/IP and Linux Network Security with Iptables
This next presentation is an overview of TCP/IP and network security with the Linux Netfilter (iptables) framework. I’ve always thought that a network or firewall administrator needed a good grounding in networking basics, so this was part of a two-hour presentation that was designed to touch on TCP/IP before talking about iptables rulesets. You can download it here in the original Oo.org (OpenOffice.org) or PDF formats, or check it out online:
TCP/IP and Network Security with Iptables - OpenOffice.org
TCP/IP and Network Security with Iptables - PDF
Date: 2006-03-25
One of the books I recommend anyone wanting to seriously broaden their networking knowledge read is Richard Stevens’ masterpiece The Protocols (TCP/IP Illustrated, Volume 1).
TCP/IP Illustrated - Wikipedia
- IP Primer BCNE book - by Jon Fullmer - Brocade_IP_Primer_eBook.pdf
Brocade IP Primer, First Edition
Everything you need to obtain a solid foundation in networking technologies and design concepts
- The TCP/IP Guide - Absolutely Free Online Version - Charles M. Kozierok
A TCP/IP Reference You Can Understand
About: The TCP/IP Guide is a reference resource on the TCP/IP protocol suite that was designed to be not only comprehensive, but comprehensible. Organized using a logical, hierarchical structure, The TCP/IP Guide uses a personal, easy-going writing style that lets anyone understand the technologies that run the Internet. The Guide explains dozens of protocols and technologies in over 1,500 pages. It includes full coverage of PPP, ARP, IP, IPv6, IP NAT, IPSec, Mobile IP, ICMP, RIP, BGP, TCP, UDP, DNS, DHCP, SNMP, FTP, SMTP, NNTP, HTTP, Telnet and much more.
The result of over three years’ work by the author of the widely acclaimed electronic resource The PC Guide, The TCP/IP Guide breaks new ground in technical education, combining understandable text with numerous examples, over 300 full-color illustrations, and numerous ease-of-use features. It is distributed in electronic (PDF) form, resulting in numerous benefits: up-to-date content, lower cost, immediate availability, thousands of hyperlinks between related topics, and instant text search. The TCP Guide is ideal for anyone who wants to really understand how TCP/IP works, including educators, students, networking professionals, and those working towards certifications.
- An Introduction to Computer Networks - Peter L Dordal
Peter L Dordal, Department of Computer Science, Loyola University Chicago
Welcome to the website for An Introduction to Computer Networks, a free and open general-purpose computer-networking textbook, complete with diagrams and exercises. It covers the LAN, internetworking and transport layers, focusing primarily on TCP/IP. Particular attention is paid to congestion; other special topics include queuing, real-time traffic, network management, security, mininet and the ns simulator.
The book is suitable as the primary text for an undergraduate or introductory graduate course in computer networking, as a supplemental text for a wide variety of network-related courses, and as a reference work.
Unix and Linux
- Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing. Whether you’re interested in setting up a secure VPN connection, managing your own hosting environment, working with graphics tools, or implementing robust security measures, this guide provides essential commands and best practices for your needs.
[ . . . l
On a duplex printer the page will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example).
- Unix Text Processing (Hayden Books)
Unix Text Processing, by Dale Dougherty and Tim O’Reilly, was published by Hayden Books in 1987, back when O’Reilly & Associates wrote technical documentation for hire. Hayden later took the book out of print, but Dale and Tim retained the copyright and have decided to make it available through our web site under Creative Commons’ Attribution License.
The UNIX Programming Environment - by Brian W. Kernighan and Rob Pike
- Manipulating Data on Linux - by Harry Mangalam
Version 1.24, Sept 27, 2012
- unixdigest.com
Articles (occasional rants) and tutorials about open source, BSD, GNU/Linux, system administration, programming, and other stuff - the pragmatic way.
- DragonFly BSD Digest
A running description of activity related to DragonFly BSD.
- SDF - Wiki – aka SDF Tutorial Wiki
SDF Public Access UNIX System - Est. 1987
Welcome to SDF User Contributed Tutorials
sdf.org; Public Access UNIX System; A non-commercial Internet community
This is a shared, member contributed, set of tutorials for existing and potential SDF users who are interested in the Internet, the UNIX operating system, and programming languages. The purpose of this wiki is to help new users learn about the SDF Public Access UNIX System and UNIX through practical and useful examples.
Initially, this was a subset of the information from the HTML tutorials at sdf.org -> tutorials.
- SDF, UNIX and Internet tutorials - SDF Public Access UNIX System - Free Shell Account and Shell Access
Two Tutorial Projects
There are currently two overlapping tutorial projects:
- The newer SDF Tutorial wiki, available at wiki.sdf.org. It contains ported versions of all (or nearly all) of the HTML tutorials listed below, plus new content. It also includes Search functionality, and a standardized page format.
- The traditional HTML tutorials, which are linked below. These contain many basic and advanced tutorials created and updated by SDF users over the years.
- The Arch Linux Wiki
Very useful, even for and other Linux distros and BSDs.
- Debian Reference
Debian Reference - broad overview of the Debian system, covers many aspects of system administration through shell-command examples.
- BLFS - Beyond Linux From Scratch
- What is Beyond Linux From Scratch?
Beyond Linux From Scratch (BLFS) is a project that continues where the LFS book finishes. It assists users in developing their systems according to their needs by providing a broad range of instructions for installing and configuring various packages on top of a base LFS system.
- Why would I want a BLFS system?
If you are wondering why you would want a BLFS system or don’t know what LFS is, then you don’t want to be here just yet - you should head over to the LFS Project Homepage where all will be explained.
- What can I do with my BLFS system?
Nearly anything! An LFS system is primed to become a system that fits whatever need you have. BLFS is the book that takes you down your own custom path. You could build an office workstation, a multimedia desktop, a router, a server, or all of the above! And the best part is you only install what you need.
- Linux Resources - Andrew McNabb
Miscellaneous projects, config files, and technical information from my personal experience.
- Linux Cheat Sheets (cheatsheets) - Zintis Perkons
Sysadmin
- Softpanorama
(slightly skeptical) Educational society promoting “Back to basics” movement against IT overcomplexity and bastardization of classic Unix
May the source be with you, but remember the KISS principle ;-)
32 years of Softpanorama educational society which was started in September of 1989 as a monthly floppy based bulletin for PC programmers and was dissolved in September 2021. Web site will exist till June 2024. From now on the content is static.
[ . . . ]
The Last but not Least: Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D
[ . . . ]
This site is perfectly usable without Javascript.
Last modified: September 08, 2021
Please ask yourself five questions:
- Does the surfing become the activity that consumes significant amount of time spent on the computer?
- Does it replace reading books?
- Do you typically read no more than one or two pages of a Web page before you “bounce” out to another page/site?
- Do you save some articles which impressed you, and never ever re-read saved material?
- Are you browsing the Web during lunch breaks, or meals in general?
If you, like me, answer all five questions positively, you might wish to consider scaling down your browsing activities ;-). Of course, this is easier said then done.
~ Dr. Nikolai Bezroukov
[ . . . ]
Nikolai Bezroukov - from Wikipedia Nikolai Bezroukov is a Senior Internet Security Analyst at BASF Corporation, Professor of Computer Science at Fairleigh Dickinson University (NJ) and Webmaster of www.softpanorama.org - Open Source Software University - a volunteer technical site for the United Nations SDNP program that helps with Internet connectivity and distributes Linux to developing countries.
He authored one of the first classification system for computer viruses and an influential Russian language book on the subject – Computer Virology in 1991.
[ . . . ]
Obsession with Internet Browsing and Social Sites
“On-line service is not as reliable as cocaine or alcohol, but in the contemporary world, it is a fairly reliable way of shifting consciousness… Compulsive gamblers are also drawn to the tug of war between mastery and luck. When this attraction becomes an obsession, the computer junkie resembles the intemperate gambler…
Unlike stamp collecting or reading, computers are a psycho-stimulant, and a certain segment of the population can develop addictive behavior in response to that stimulant.”
~ Dr. Shaffer (Harvard), The Addiction Letter, August, 1995
[ . . . ]
According to Wikipedia - Internet addiction disorder:
Information addiction is a condition whereby connected users experience a hit of pleasure, stimulation and escape and technology affects attention span, creativity and focus which has been referred to as pseudo-attention deficit disorder.
While it is certainly possible for information addiction exist without computer (bibliophils, overeager library users, etc. are an example), computer make it mass problem. One of the most common case is related to compulsive “sitting” on Internet many hours a day and abandoning all other tasks and responsibilities.
Some improperly call it Internet addiction disorder, which more properly should be called compulsive behavior (or bad habit), not an addiction.
- Data Center Management and Best Practices
HPC (High Performance Computing)
An Introduction to the HPC Computing Facility - by Harry Mangalam
HPC at UCI/RCIC (University of California - Irvine, Research Cyber Infrastructure Center
High Performance Computing Cluster
Shell
- pure-sh-bible
A collection of pure POSIX sh alternatives to external processes.
XTerm
- XTerm - Terminal emulator for the X Window System.
As a stylistic convention, the capitalized form is “XTerm”, which corresponds to the X resource class name. Similarly, uxterm becomes “UXTerm”.
- xtermcontrol - Dynamically Control Xterm Properties
Xtermcontrol enables dynamic control of xterm properties. It makes it easy to change colors, title, font and geometry of a running xterm, as well as to report the current settings of these properties. Window manipulations de-/iconify, raise/lower, maximize/restore and reset are also supported.
To complete the feature set; xtermcontrol lets advanced users issue any xterm control sequence of their choosing.
The Make Test Video showcase most of xtermcontrol’s options.
- CuteXTerm - Sensible defaults for xterm in the 21st century
What is CuteXTerm?
CuteXTerm is a set of sensible defaults to make the terminal experience on Linux as good as possible, by adapting xterm to the 21st century.
To be precise, CuteXTerm is a set of software (tabbed), fonts (iosevka), and configuration defaults (Xresources, xinitrc, terminfo, application desktop file, shell commands) that together make xterm cute and functional.
Diagrams and Graphs
Minimalism
- barsh - Use your terminal as a bar
- Modify script to display information.
- Run script in terminal.
- Get window manager to use terminal as bar.
- Just another website - Felix Pleşoianu
Minimal stylesheet with only three lines.
This is just another website. Okay, it’s only one page, but single-page sites are all the rage right now. Pardon, single-page apps. You get the idea.
This site is an experiment. It’s similar to others floating around the web (see at the end for a list of references). Its real goal is to make you think.
Think about how much you can do with very little. Like the design of this page? It’s literally a five-line stylesheet. By way of contrast, my homepage has twenty-five. Radical simplicity matters.
- Plain old webpages still matter - Posted Nov 3 2017
Cool
- A single-handed clock (in JavaScript) - Russell Cottrell
One hand is all you need! The earliest clocks and watches, and some historic clocks still in use, only had one hand.
On a 24-hour dial with midnight at the bottom and noon at the top, the position of the hour hand is analogous to the apparent position of the sun.
- Clock Chimes - Russell Cottrell
Clock Chimes runs in the background to play quarter and hour chimes accurately.
It uses a web worker that runs in an operating system thread, independent of the browser. The chime sounds are synthesized, keeping the document size small.
Finance
Parenting
- Parenting for Humans - Emma Svanberg (author)
How to Parent the Child You Have, As the Person You Are
Mental Health
- Anxiety and Procrastination: How They’re Connected and What to Do About It
The relationship between anxiety and procrastination is complex.
- Using a list to manage executive function - The Day Plan system – Overthinking Everything
The Day Plan system
A Day Plan looks a lot like a TODO list. It more or less is a TODO list. But it’s a TODO list that has been optimised for managing anxiety and executive dysfunction, at the cost of not being as good a TODO list.
Day Plan is actually a bad name for it in its current state, but I’ve been calling it that for so long that the name has become part of it and I don’t want to change it. It’s not really a plan though, it’s more like something to relieve your brain of the burden of keeping track of stuff and making decisions.
A Day Plan is a list of things that you could do today. At the end of the day you will throw it away, never to be looked at again. At this point it should ideally still have some items on it that have not been completed.
[ . . . ]
Why is the Day Plan designed this way?
The Day Plan is designed around two principles:
- Externalising your task management into a TODO list is obviously useful in all the normal ways.
- I get massive TODO list anxiety.
It’s been my experience that any TODO list system I use will acquire an ugh field around it that gradually turns it into a thing I’m guiltily avoiding. The Day Plan system is the result of my paring away every source of anxiety from a TODO list.
- Side effects of Cognitive-Behavioral Therapy (CBT)
[ . . . ]
I have done CBT for years, in the short-term with a therapist and now on my own. I have mild OCD and “double depression” (dysthymia with occasional major depression) and find that CBT works for me if 1) I continue to take my antidepressant; 2) if I write things down using structured exercises (as in David Burns’ New Feel-Good Workbook) rather than trying to do it in my head. The antidepressant took down the anxiety level enough that I could actually pay attention to the cognitive distortions rather than counter-arguing them (“But what if I really DID screw up enough that they’ll fire me?”) and writing the exercises down in a structured way also helped me stick to the routin
I would suggest some short-term work with a therapist. It may be that there are some deeper control issues that are coming up that may make it harder to stick with the CBT on your own. This is strongly suggested by the “I can’t relax otherwise I’ll get screwed up”. Many people with truly dysfunctional family backgrounds develop hypervigilance of this sort, where they feel they have to control things that are actually out of their control.
- My life was ruled by panic attacks. Here’s my seven-point guide to tackling anxiety - Tim Clare
Coward: Why We Get Anxious and What We Can Do About It by Tim Clare is published by Canongate.
- Why men should keep a journal
Writing down how you are feeling has immense mental and physical health benefits - and men need it most, says Ollie Aplin.
- The cheesy secret behind successful decision making
Footnotes
[1] From Plain Text - brajeshwar.com:
Plain Text is a loose term for data that represent only characters of readable material but not its graphical representation nor other objects. It may also include a limited number of “whitespace” characters that affect simple arrangement of text, such as spaces, line breaks, or tabulation characters. Plain text is different from formatted text, where style information is included; from structured text, where structural parts of the document such as paragraphs, sections, and the like are identified; and from binary files in which some portions must be interpreted as binary objects.