Category: Script

Geek, Lighting Tech, Maker

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

DirecTV Whole Home DVR Setup – Part 2

Now that you have the DVR set up and ready it is time to set up your Mini Recievers for the rest of your house. Mini Receiver This box hooks up to the other TVs in your house. One per TV. To Set it up plug it into the Power, TV and satellite line. Then Just Like the …

DirtecTV Whole Home DVR- Self Setup. Part 1

First You Start With your DVR Box Plug Plug the included Ethernet cable into this box and then wireless router Under the door that holds the DirectTV Card their is a little red button. Push the red button. Wait.  Once your screen returns to the DirecTV programming you are all set. Thats it for this Part 1 

Arduino TSP RC Car

Made With: Taking the Arduino, Dallas Semiconductor one-wire temperature sensor, the Arduino Motor sheild, and a bluetooth Module. Let us make a Temperature Sensing Car!!! As Seen at the Vermont Code Camp 2012 Step 1 Load the following code into your Arduino: /*************************************************************Remote Control Car W/ 1 wireBY: Chris Yarger*************************************************************/// load 1 wire libs#include <OneWire.h>#include …