toikpi
@toikpi@feddit.uk
- Comment on What are the recommended scripting languages for complex shell scripts beyond bash? 1 year ago:
As @damium@programming.dev says you may be able to do this with
find
command. This command lists all PDF files under ~/tmp that were created more than 7 days ago and does a directory listing. You could use this as a basis to move create an archive of individual files.find ~/tmp -ctime +7 -iname “*pdf” -exec ls -rlht {} \;
The
find
command also has a-delete
flag.I have in the past used this combination to implement file management. I don’t have access to the script any more. I don’t remember why we used a shell script rather than logrotate as per @oddityoverseer@lemmy.world
- Comment on Ministers set to ban single-use vapes in UK over child addiction fears 1 year ago:
I searched for “nicotine addiction” and found a number of links to reputable bodies. I have put some of them above.
- Comment on Ministers set to ban single-use vapes in UK over child addiction fears 1 year ago:
Some sources disagree with your claim.
Mayo Clinic
Nicotine dependence occurs when you need nicotine and can’t stop using it. Nicotine is the chemical in tobacco that makes it hard to quit. Nicotine produces pleasing effects in your brain, but these effects are temporary. So you reach for another cigarette.
The more you smoke, the more nicotine you need to feel good. When you try to stop, you experience unpleasant mental and physical changes. These are symptoms of nicotine withdrawal.
www.mayoclinic.org/…/syc-20351584
Centre for Addition and Public Health
In the past, it was believed that because nicotine does not cause intoxication or impairment, using tobacco was simply a bad habit, not an addiction. Today, nicotine is recognized as the very addictive drug found in tobacco products.
Nicotine dependence (also called tobacco addiction) involves physical and psychological factors that make it difficult to stop using tobacco, even if the person wants to quit.
www.camh.ca/en/health-info/…/nicotine-dependence
John Hopkins
Both e-cigarettes and regular cigarettes contain nicotine, which research suggests may be as addictive as heroin and cocaine. What’s worse, says Blaha, many e-cigarette users get even more nicotine than they would from a combustible tobacco product: Users can buy extra-strength cartridges, which have a higher concentration of nicotine, or increase the e-cigarette’s voltage to get a greater hit of the substance.
- Comment on Crooked House rebuild battle could be long, London campaigner warns 1 year ago:
It took 6 years for the Carlton Tavern to be rebuilt. I think this was the first pub ordered to be rebuilt.
The building was being considered by Historic England for Grade II listing when it was unexpectedly demolished on 8 April 2015 by its owner …
…
On 12 April 2021, the pub reopened …
- Comment on What's a good solution for a small NAS? 1 year ago:
How much do you want to spend?
If you go for a Raspberry Pi have a look at Terrapi cases as well the obvious Argon ones.
Another option would be a Zimbaboard. It is more expensive but it has dual SATA connector (you need to buy a Y cable with the Zimbaboard) and there are 3D print designs to create a single unit, e.g. printables.com/…/224057-zimaboard-dual-hdd-stand.
I’m not sure about PoE and a NAS. Will a PoE HAT or similar provide enough power for the board and the drives?