Have you heard of Logstash / ElasticSearch / Kibana? I don’t wanna oversell it, but it’s AMAZING!
I’ll start with a screenshot. You know you want this. I have to blur a few things to keep some 53cr375 about my environment.
This is my configuration for collecting Windows event logs. I’m still working out the differences between the Windows XP, Server 2008R2, and Windows 7 computers I’m collecting logs from, but this has already proven very useful.
Managing Google Chrome is a lot easier than Mozilla Firefox was! There are quite a few tools and they’re well documented! This is my cheat sheet. It’s based around windows xp and windows 7 since that’s what I mainly support at work.
“After you’ve installed Chrome through alternate installer, users who’ve already installed Chrome in their user accounts will be notified that the browser has updated to a system-wide version the next time they sign in and open the browser. In some cases, they may need to recreate their profile information, such as bookmarks and browsing history, if they were formerly using a more recent version of the browser.”
Just install the MSI
msiexec /q /i “\\server\path\to\GoogleChromeStandaloneEnterprise.msi”
Issues / Gotchas
Unfortunately, nothing is perfect. I had chrome installed under my user before. When I launched chrome after installing the all user version, it removed the install under my user. It did not show a window and would not open when I clicked chrome again. Killing the processes or rebooting fixes it.
Even more fun! Templates for managing chrome settings!
Sometimes you have to support older devices. Sometimes doing so is painful with newer equipment. My latest problem was with Windows 7 32 bit and a HP LaserJet 4000TN. I was trying to set up a TCP/IP connection, but Windows 7 did not have the drivers. If windows update works for you, press windows update and the driver will be in the list. This is clearly the easiest way to install it. Unfortunately for me, something wonky is keeping me from downloading the driver list from windows update, so I did it manually. This is also very helpful for an offline install of the printer.
Search for the printer you want. In my case it was “HP LaserJet 4000” without the quotes. Exactly what I want, at the top of the list!
Title - Microsoft driver update for HP LaserJet 4000 Series PCL 5
Products - Windows 7,Windows Driver Testing Client
Classification - Drivers (Printers)
I went through adding it to the basket, clicking view basket, and downloading. I found the folder “Microsoft driver update for HP LaserJet 4000 Series PCL 5” with the file X86-all-4189_1228a7cf7b1aac21346b20cb6e21db409dde9e72.cab and extracted the cab file to a flash drive using my favorite compression tool, 7zip. http://www.7-zip.org/
From here i was able to use “have disk” to install the driver.
I think I’ll keep a copy of this around. It supports many more printers. I’ve extracted a list from the prnhp001.Inf and included it below.
The cameras I’m using were like $10 at walmart and are so crappy they don’t have a website. I can’t recommend using these.
Difficulty: the driver for these cameras is so cheap that it will cause windows to bluescreen if you plug two of them into the same computer.
Please, I beg you, find yourself something better, like a 2.0 MP autofocus webcam by rocketfish, like $15 on eBay.
I had recently installed mythbuntu in virtualbox on my laptop so I could test my video transcode scripts. It already had apache installed and configured, so i just installed imagemagick and created a symbolic link to my web dir.
cam1.jpg cam2.jpg cam.sh montage.jpg pic
raging@mythrage:~/pictemp$ cat cam.sh
# Loop forever
# grab jpeg frames from dorgem
wget -O cam1.jpg http://192.168.1.5:8083
wget -O cam2.jpg http://192.168.1.6:8082
# cameras are mounted sideways. rotate left 90 degrees
convert cam1.jpg -rotate -90 cam1.jpg
convert cam2.jpg -rotate -90 cam2.jpg
# I’m still not sure about montage, but this seems to be working
montage cam1.jpg cam2.jpg -geometry +4+4 montage.jpg
done # Start over
sudo ln -s /home/raging/pictemp/ /var/www/pic
The mythbuntu VM was at 192.168.1.4, so I set the source of the ipcam to http://220.127.116.11/pic/montage.jpg and had it detect dimensions. I launched splitcam and skype. I have 2 accounts, so i signed in to different accounts and called myself, seeing video in stereo!
I’m not a fan of doing tedious things over and over, so I try to engineer around the problems, if possible. I’ve sanitized the scripts below a little, but the general idea is still there. We had a medication dispensing cart that didn’t have a bulk user manager, so all user accounts had to be created through the GUI. That would really suck… so I made a list of accounts in Excel, made some autohotkey shortcuts to run a few vbscripts to throw keypresses into a VNC session. I used autoit to handle mouse movements because the recorder tool that comes with it is just too easy to use.
I’ve been thinking about home automation again lately. I’m not exactly happy with X-10, but the price is close to what I can afford for now. The software has been pretty much reduced to a couple perl scripts calling heyu connected to my CM11a X-10 serial port interface… but I can dream.
My first attempt at designing a CNC router failed miserably. Perhaps a version 2 can be built with what I’ve learned. But for now, I bought a set of plans. http://solsylva.com/cnc/13x13x5.shtml
I liked the 3 axis kits available from Keling Technology. 425 in-oz stepper motors, C10 breakout board, KL-4030 microstepping driver, and power supplies. Wired up bipolar parallel, initial runs 1/4 stepping at 1.8A. I was occasionally losing steps on the Z axis, so I increased the power to that stepper a bit. http://www.kelinginc.net/
Software for driving the steppers… I used a demo of Mach3 at first because it seems to be extremely well supported all over the internets, but $175 seems a bit steep considering EMC2 has many of the same features, a simpler UI, and is completely free. I will have to compare again after I’ve used the machine more. http://www.machsupport.com/ http://linuxcnc.org/
So how to tell Mach3 or EMC2 what to draw? My first attempt was with cambam. It wasn’t difficult, but could have been easier. I started with a logo, opened it with Paint.NET, converted to greyscale. Then opened it with inkscape, traced the logo and resized and removed parts I didn’t want to engrave. Saved that as a DXF file and opened with cambam. I suspect Inkscape saves DXF files in mm or pica since I had to resize in cambam as well. I removed extra lines, converted arcs to polyline, and joined them to create many fewer lines. I then created an engraving and exported gcode. http://www.cambam.co.uk/ http://www.inkscape.org/ http://www.getpaint.net/