AC measurement using a Multi-Meter
by tgutwin
Posted on Saturday Jan 13, 2024 at 08:24PM in Technology
Simple multi-meters probably will not give you an accurate AC reading (in AC mode) when checking the DC side of a rectification circuit. You really need to use an oscilloscope.
Read MoreTags: electronics
I'm Still Here ...
by tgutwin
Posted on Thursday Dec 21, 2023 at 10:38AM in General
(Trying to) Install NVIDIA driver on ASUS Zenbook Fedora
by tgutwin
Posted on Sunday Jun 03, 2018 at 08:08PM in Technology
It did not work because I could not disable intel video chipset in my uefi bios. :(
Read MoreASUS Zenbook UX501V - Upgrade F27 to F28
by tgutwin
Posted on Sunday Jun 03, 2018 at 04:52PM in Technology
UPDATE to F30. and Fixed acpi (see grub commandine below)
NVidia driver issues still persist, but I finally debugged (and disabled) acpi consistent errors that had be plaguing me in F27.
I added a kernel boot param to my Grub2 commandline.
- acpi=off
use the following to fix grub
grubby --info=ALL
grubby --remove-args="acpi=off" --update-kernel /boot/vmlinuz-5.4.19-100.fc30.x86_64grubby --set-default /boot/vmlinuz-5.4.19-100.fc30.x86_64
grub2-mkconfig
grubby --info=ALL
You can also remove a kernel from the grub menu with
grubby --remove-kernel=/boot/vmlinuz-5.5.10-100.fc30.x86_64
You can also remove the actual kernels
rpm -qa kernel
dnf remove kernel-5.5.16-100.fc30.x86_64Shrink Gnome 3 Titlebar
by tgutwin
Posted on Monday Sep 04, 2017 at 07:34PM in Linux
The default window titlebars in Gnome on Fedora 26 ar too fat (thick), so I wanted to reduce their size.
They are config'd in the Themes (/usr/share/Themes or ~/.themes) gtk.css
OR
in a CSS file in ~/.config/gtk-3.0/gtk.css
Read More
Tags: fedora
FIXED - Jura Milk Foam Splattering
by tgutwin
Posted on Saturday Feb 04, 2017 at 12:38PM in General
I have a Jura Z6 Super Automatic Espresso/coffee maker.
Recently I noticed it was NOT making a nice smooth stream of milk foam when previously it had been. It now was splattering all around the cup and not making much milk foam froth.
I fixed it.
Creating a JAR file with only the classes needed
by tgutwin
Posted on Sunday Jan 29, 2017 at 01:46PM in Programming
Have
you ever wanted to create a JAR file for your Java class but only
wanted to collect and jar the class files required by your class?
I found a very useful class to do this for you:
It is called: ZipLock written by Stuart D. Gathman at his company Business Management Systems.
Direct link to Original ZipLock.java file.
Its perfectly simple and OpenSource! Thanks Stuart.
I also wrote a simple bash script below to wrap the calling of the java class...
Tags: java opensource
Neutron Music Player Song Ratings - Database transfer
by tgutwin
Posted on Thursday Jan 19, 2017 at 08:24PM in Technology
Neutron Music Player Song Ratings: I needed to transfer all the 1000s of song ratings from an old android pad to a new one. I figured out how to access and restore the song ratings in the Neutron music player (Android) SQLite database.
See the SQL, database tables and how I did it.
LedNet Proxy
by tgutwin
Posted on Sunday Dec 18, 2016 at 06:40PM in Programming
I want to control a LED light Strip with the 5 channel (rgbw) LEDNet controller that I bought. I want to use my own software. Thankfully others have figured out the IP messaging packet, so I wrote my own little app that lets me program/control a Strip of RGBw LEDs.
The ultimate intent is to be able to control it using My UDI ISY-994
home controller.
Tags: isy java opensource
Zip Download Servlet
by tgutwin
Posted on Sunday Oct 16, 2016 at 12:33PM in Programming
I needed a simple Java Servlet to zip a directory of files (or a single file) with parameters to dynamically specify what to zip up.
It does NOT create a temp file; it zips and streams the output directly to the client.
its called ZipFiles.
Here it is...
Read MoreRaspberry Pi2 Pi4J Java - RGB LED Example
by tgutwin
Posted on Tuesday Jan 26, 2016 at 08:41PM in Technology
I have started to get some useful sample/examples completed on my Raspberry Pi2. Here is the Schematic and Java code to control an RGB LED.
I also have examples for:
- controlling multiple GPIO pins with external transistor driven LEDs and Java Pi4J code that times their cycling.
- Pulse Width Modulation (PWM) control of GPIO pins and an RGP LED.
These will be discussed in other posts.
Read MoreRip Linux Desktop Speaker Audio Stream
by tgutwin
Posted on Tuesday Jan 26, 2016 at 08:33PM in Linux
A quick one liner (using PulseAudio) to rip the audio being output to your linux desktop speakers and convert it to Vorbis Ogg file.
Using pacat...
Read MoreTags: linux pulseaudio vorbis
Bluetooth Pairing to HP mouse with no pairing code
by tgutwin
Posted on Tuesday Jan 26, 2016 at 08:32PM in Technology
[FIXED] The Gnome Bluetooth GUI via settings FAILS to pair with my HP Bluetooth Laser Mobile Mouse. This has not worked in the gui bluetooth settings app for a few versions (maybe F19).The problem is that the mouse does NOT have a pair code, and the it won't pair with '0000' or '1234'.
I figured out to manually pair it from the commandline without a pairing code!
use bluetoothctl on the commandline
use the following commands to connect to the MAC address...
Read More
Fix for google-earth rpm install error - Fedora
by tgutwin
Posted on Tuesday Jan 26, 2016 at 08:29PM in Linux
The latest rpm for google-earth is failing to install because a conflict with /usr/bin.
an easy re-build of the RPM fixed it... instructions here: http://forums.fedoraforum.org/showpost.php?p=1650497&postcount=27
then sudo yum localinstall /home/tgutwin/rpmbuild/RPMS/x86_64/google-earth-stable-7.1.4.1529-0.x86_64.rpm
It is now installed in /opt/google/earth/free/google-earth
FIXED!
XCircuit - Download, Make and install on Fedora 21
by tgutwin
Posted on Tuesday Jan 26, 2016 at 08:28PM in Technology
Now that I have my Raspberry Pi2 working with Java, I need to draw up some schematics....
Here is how I downloaded & installed the latest Git version of XCircuit on my Fedora 21 workstation.
It includes all the Fedora Yum RPM packages I had to install to get it to build from source - you might need others.
Read More