Hi, is it good practice to create a CRONJOB when the user installs my program? I want to execute a program every minute that sends a JSON to my server.
> The band colors leave something to be desired. Most of the colors on the resistors are very "muddy", so you don't really know what color you are looking at. Each set of values comes in a sleeve as show, and is marked with it's value, so that helps. However, once the resistor is out of the sleeve, and in my junk box, pretty hard to read the colors.
@MarcosAguayo Please don't do that. What would you even send?
So, @Serg. I have a USB cable. And and Arduino. And a 0.01 ohm resistor. How do I use the Arduino and the resistor to measure how much current is going through my USB cable?
RFC 4034 and RFC 6762 appear to contradict one another.
RFC 4034 states the following:
A sender MUST NOT use DNS name compression on the Next Domain Name field when transmitting an NSEC RR.
* emphasis mine
RFC 6762 states the following:
All compliant Multicast DNS implementations MUST...
@Serg, yeah, I saw those. The issue is I need my computer to be aware of the current. Hence the Arduino.
Basically here's what I'm trying to do.
I have a little Qi charger on my desk plugged into the wall. It's charging my phone and putting out X power. When my phone is full, it's going to stop charging and using that much power. Same if I remove my phone from my charger.
Therefore, I'd like to set up my computer to lock when it detects my phone isn't on the charger anymore (when amperage on data pins is below a certain threshold)
interesting scenario. . . though i'm not quite sure how to approach it. Personally, I'd figure out how the phone knows when it's charged ( maybe there's a way to doing via busybox shell or something ) and use netcat to communicate it back to your computer
I was just thinking using an arduino and a shunt resistor.
Arduino reads data, and sends a USB event or something to my computer, locking it.
Really, I'd assume the Arduino would only have to read the voltage differential before and after my shunt resistor. But, I don't know how to do that or wire that up.
I have done the follow:
chown'd it to a group
chmod 775
usermod
this is the status of the permission drwxrwxr-x 3 root www-data 4096 Mar 22 23:11 html
The groups my user is in ubuntu : ubuntu adm dialout cdrom floppy sudo audio dip www-data video plugdev netdev lxd
But if I do touch test i...