Archive for the ‘Linux’ Category
Posted by jpluimers on 2014/07/21
Thanks to Using inotify-wait to check filesystem events I got pointed to How to use inotify-tools to trigger scripts on filesystem events which is now on my research list.
–jeroen
Note that Kristian later on commented this:
The solution shown in the article has race conditions and should not be used.
It is based on
while :
do
inotifywait $options && run-backup
done
and that means that while the backup runs, the directory in question is unmonitored. When the backup finishes, new changes may have been accumulating during backup run, but without being picked up by the backup.
A proper solution would do something like
inotifywait -m $options | while read line
do
do-something-that-logs-multile-changes-and-triggers-backup-once
done
The important thing is that “inotifywait -m” does not terminate and hence no changes will be lost. It is wrong to run the backup once in full for each change, though.
Posted in *nix, *nix-tools, Linux, Monitoring, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2014/07/18
Interesting for people that do not trust Cloud Storage providers: BitTorrent Labs’ BitTorrent Sync.
I’ve tried an early version, and it works “OK”. Not yet as well-integrated like for instance DropBox, but stable and fast enough.
Important thing for me: works on *nix, OS X and Windows. Hopefully mobile devices will follow soon.
At the time of writing (May 2013), it is the only cross platform freeware entry in Comparison of file synchronization software – Wikipedia, the free encyclopedia.
In the mean time, Thomas Mueller (dummzeuch)wrote a nice blog post with background information on this: Bittorrent Sync, a secure DropBox alternative » twm’s blog.
–jeroen
Posted in *nix, Apple, DropBox, Linux, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SocialMedia, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2014/07/15
Any web developer should know how to capture and trace HTTP traffic.
I’ve written about Fiddler before, but that’s a Windows specific tool.
Time to have a small list of posts and links to tools that work on various platforms.
I’ve left out Java based tools as there have been too many security issues with Java over the last couple of years.
Tools: Read the rest of this entry »
Posted in *nix, Apple, Development, Fiddler, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SOAP/WebServices, Software Development, SuSE Linux, Web Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »
Posted by jpluimers on 2014/07/01
For DOS programs, date and time stamps were used to mark versions of files. For instance, Turbo Pascal 6.0, had a 06:00 time stamp on every file.
You can still do this in Windows, but need to watch for a couple of things:
- daylight saving time
- more than one time stamp per file
There are various ways to do it. Besides a graphical Attribute Changer at www.petges.lu (thanks User Randolf Richardson), these are console approaches via How can I change the timestamp on a file?:
Read the rest of this entry »
Posted in *nix, Apple, Batch-Files, Cygwin, Development, Linux, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, PowerShell, Scripting, Software Development, SuSE Linux, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 2 Comments »
Posted by jpluimers on 2014/06/24
Last week, I thanked Jaykul for helping me out on PowerShell.
But he taught me another thing that was new for me: on his site, he has hidden his email address behind a 302-redirect.
I didn’t even realize that was possible until I saw his site start my mail program without initially showing a mailto in the url. A quick check showed me he was using a 302-redirect: Read the rest of this entry »
Posted in *nix, Apache2, bash, Development, Linux, Power User, Scripting, Software Development, SuSE Linux, wget | Leave a Comment »
Posted by jpluimers on 2014/05/19
I always forget where SuSE keeps its’ version number.
Hence my alias:
alias suse_version='cat /etc/SuSE-release'
–jeroen
via: SDB:Find openSUSE version – openSUSE.
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2014/05/05
Fazit:
You’ll probably want a standard OS for day to day tasks, and only use Tails if you really need to remain anonymous.
–jeroen
via A Quick Test Drive of Tails, a Privacy Focused Linux Distribution.
Posted in *nix, LifeHacker, Linux, Power User | Leave a Comment »
Posted by jpluimers on 2014/05/01
SDB:System upgrade – openSUSE.
Every once in a while, I feel like I have been living under a stupid rock.
This was one of these cases. About 5 years ago, openSUSE added this feature:
openFATE – #305634: Debian-like dist-upgrade live system full version upgrade.
It is awesome, requires a bit of twiddling and afterwards you have a system that:
- was updated in-place while live
- is the most current openSUSE version
I don’t know of any drawbacks yet (will soon try it). If I find ones, I will post a new entry here.
The basic steps are like these: Read the rest of this entry »
Posted in *nix, Development, Linux, openSuSE, Power User, Scripting, sed script, Software Development, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2014/04/29
I needed AntiVir on an openSUSE workstation.
Too bad the default installation package from YaST installed an old license: AntiVir would not work, and I was getting emails like these at regular intervals:
<br />Date: Thu, 25 Apr 2014 08:57:11 +0200<br />From: Cron Daemon <root@....><br />To: root@....<br />Subject: Cron <root@...> /usr/lib/AntiVir/guard/avupdate-guard --product=Scanner > /dev/null<br /><br />Error: No valid license was found<br />
After searching the web for a while, I found a lot of posts with wrong information, basically coming down to these 2:
At the bottom of the post, you will find a small shell script that I use to keep the hbedv.key up-to-date.
First some more about HBEDV, then how I found about the new download location, and a command to show you the current license information. Read the rest of this entry »
Posted in *nix, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux, wget | 3 Comments »
Posted by jpluimers on 2014/04/24
Getting Apache configured on a *nix installation like openSUSE installation is always a bit of a challenge.
A few things I observed: Read the rest of this entry »
Posted in *nix, Apache2, Linux, openSuSE, Power User, SuSE Linux | 2 Comments »