Chiara’s sewing machine is broken.Â The needle seems to collide with the hook.Â It looks like the timing and hopefully the internet can save the day on this one.Â It costs $60 to repair a sewing machine and I’m sure not much more to buy a new one.
Link to sewusa.com page on adjusting timing.
I was leant a Dell Latitude D810 that has a Synaptics touchpad.Â Eventually, I had to admit that the tap-to-click setting was a little to sensitive and kind of annoying (most frequently, I accidently clicked things in my bookmarks toolbar in Firefox).Â I found that I could disable the tap-to-click feature by adding the line:
Â OptionÂ Â Â Â Â Â "MaxTapTime"Â Â Â Â Â Â "0"
to the appropriate section of my /etc/X11/xorg.conf file so that it looks like this:
Â Â Â IdentifierÂ Â Â "Synaptics Touchpad"
Â Â Â DriverÂ Â Â Â Â Â "synaptics"
Â Â Â OptionÂ Â Â Â Â Â "SendCoreEvents"Â Â Â "true"
Â Â Â OptionÂ Â Â Â Â Â "Device"Â Â Â Â Â Â "/dev/psaux"
Â Â Â OptionÂ Â Â Â Â Â "Protocol"Â Â Â Â Â Â "auto-dev"
Â Â Â OptionÂ Â Â Â Â Â "HorizEdgeScroll"Â Â Â "0"
Â Â Â OptionÂ Â Â Â Â Â "MaxTapTime"Â Â Â Â Â Â "0"
Search and Replace in Multiple Files
perl -pi -w -e 's/search/replace/g;' *.php
Source: How to do a search and replace over multiple files
Compare two strings (when one of them is a subprocess)
diff <(md5 -q ~/Downloads/ubuntu-16.04.1-desktop-amd64.iso) <(echo "17643c29e3c4609818f26becf76d29a3")
Source: Process Substitution
Scroll Up/Down: Page Up/Page Down keys
Tim says to check out Kaati rolls while I’m traveling.
This wiki page has info on how to configure e-mail integration in eventum which Boxcar uses to handle tech trouble tickets. I wanted to turn off auto issue creation because we get a lot of e-mails that don’t neccessarily want to become issues and then there’s the overhead of closing the issue.
The Allied Media Conference is taking proposals for some web development. Josh asked me about Drupal vs. Joomla, and I’m not that familiar with Joomla. This thread seemed to offer some insight.
kdenlive is the software I started using to play around with video editing on linux.
I’ve long wanted to be able to do a substitution or other command on a visual block. It turns out that there is a vim script called vis.vim to help you do this.
I read mail using a lot of different clients. So, I wanted to seperate my mail filtering rules from my mail client. Imapfilter does the trick and though it’s configuration language is daunting at first glance, it’s not too bad.
I was wondering how to drop all tables in a MySQL DB from the command line:
mysqldump -u username -ppassword –add-drop-table –no-data database | grep ^DROP | mysql -u username -ppassword database
The CD burning program that I use under linux doesn’t support burning mp3s to audio cds directly, so I have to convert!
for i in *.mp3; do lame –decode $i `basename $i .mp3`.wav; done
The Linux MP3 CD Burning mini-HOWTO was super-helpful with this.
$ mplayer rtsp://real.npr.org:80/real.npr.na-central/fa/20060414_fa_01.rm -ao pcm:file=hater.wav -vc dummy -vo null
This page was helpful as a reference.
When my friend Leanne was passing through town last month, we went for a short hike around Lake Griffey.Â While we were hiking, she mentioned that she really liked a comic called Potshots and that she was disappointed that her local paper had stopped carrying the comic.Â Luckily, the comics are available on the web.Â Leanne isn’t super internet-connected, so I offered to compile some of the potshots and send them to her in the mail.Â I used wget to download them, but I needed to find a way to print the images many-to-a-page.
I eventually came upon using ImageMagick‘s montage command.Â This worked pretty well for me:
C:\Documents and Settings\ghing\Desktop\potshots>U:\ImageMagick-6.2.6-Q16\montag
e.exe -tile 2×5 -adjoin *.gif -geometry 300×190 sheet.png
Then I could just view and print the composite images in firefox, provided I made my margins small and zoomed in first.
Potshots is pretty interesting.Â The artist who draws them was once called “history’s only full time, professional published eppigramist.” The black and white illustrations with clever phrases definitely have this feeling of antiquity to them.Â The sayings have a strange tone as well, that can be heartfealt but also sarcastic. Â So, they come off as a weird hybrid of Family Circle and Edward Gorey.
In the event that I switch mail providers, its good to have a backup. I found the isync program that seems like it will do a good job with this. Here is the command line I used to do the backup:
isync -1 -M mail_backup/ -L -s imap.myisp.com -u imap_username -a