Category: Technology

Geek, Lighting Tech, Maker

Windows / Linux Antivirus hack

Download a copy of avast linux from  http://www.avast.com/ run this on a Linux machine, pop windows hard drives in and clean viruses off of them. If you have issues mounting the HDD install ntfs support. To install ntfs support use the following command: sudo apt-get install ntfs-3g Additionally scanning can also be done this over …

Shell qualifiers

Shell Qualifiers are elements you can add to shell scripts to enhance system operation, examples include: Phonem Description Element shebang Establishing command processor #! shebout Identify expos-able help line ## sheborg Identify structural element #* sheblog Toggle Logging in script #> shebangEstablishing command processor #! sheboutIdentify expos-able help line ## sheborgIdentify structural line #* sheblogIdentify …

.bash_fluff

great things to put in bash Find this or that ls | grep ‘this|that’ List files used today alias ld=’ls -alt | grep $(date +%F)’ Sans Comments alias sc=’egrep -v “^[[:space:]]*(#.*)?$”‘ Dairy Queen what is in a directory alias dq=’du -h –max-depth=1′ Calve Very small memory alternate alias dq=’ls -1 |xargs du -h -s’ Bash …

Linux speed hacks

Preload Install an application called prefetch which preloads commonly used files. It may take a few days for the program to learn your preferences so be patient. soon you will notice a significant boost in speed for your most commonly used applications. Note: Prefetch has been renamed to preload sudo apt-get install preload TMPRAM If you have …

TiddlePie – A simple command line tool to download, edit and email tiddlers

About TiddlePie: As you may have read in my earlier post. you can send tiddles to a blogger blog via email. Here is a script that makes things a lot easier. This is based on my previous post  “How to import your TiddlyWiki into a Blogger Blog ” and has been refined and is simple and easy …

TiddlyWiki Tricks

Tiddly Tricksin bash, to count the number of pipes in each line try: cat test_table.tdl |while read line; do echo $line |sed ‘s/[^|]//g’ |wc -c; done where test_table.tdl is the file.use this as a here doc dropped into less: while read line; do echo $line |sed ‘s/[^|]//g’ |wc -c; done << end | less -NS …

eeepc ssh on startup

Start ssh server in EeePC After installing ssh server, I create a file /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh, below is the content:     #!/bin/sh     /etc/init.d/ssh restart So it will start the ssh server after booting up. Don’t forget sudo chmod +x /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh. By: Flint

How to import your TiddlyWiki into a Blogger Blog

UPDATE–11/20/2012: Take a look at My program TiddlePie. It is a simple command line tool to download, edit and email tiddlers. First Download the Geekland Tiddler from  docbox.flint.com:8081/geeklandwget http://docbox.flint.com:8081/geekland/?action=export -O GeekLand.html The following counts the number of  tiddlers in the Wiki cat GeekLand.html |grep ‘<div tiddler=”‘|wc -l output: 208 Print only a specific tiddler in the …

How to Set up Drupal CMS

The following illustrates a set-by-step process that I took for my Drupal installation and set-up. As your needs may differ than mine, the particular “themes” and “modules” I am using may differ from what would work best for you. I hope that through these general instructions, you will be able to walk through a successful …

SSL in a Nutshell

I’m going to skip the commands and just give you a clue as to what the steps are. Generate a key that will be used to encrypt stuff. Name it something like host.key. Use the key to create a Certificate Signing Request (CSR) e.g. host.csr which asks for specific information about which entity is requesting the key for …