The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20140508-Delphi-2007--Project-Options--Cannot-Edit-Application-Title-HelpFile-Icon-Theming

    20140430-Fiddler-Filter-Actions-Button-Run-Filterset-now

    20140424-Windows-7-free-disk-space

    More Photos
  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,296 other followers

Archive for the ‘*nix’ Category

Mac/PC: sending Wake-on-LAN (WOL) packets

Posted by Jeroen Pluimers on 2014/07/25

I’ve succesfully woken up these machines:

  • HP XW6600 running ESXi 5.1
  • ThinkPad W701U running Windows 7

I still need to try to wake up a Mac Mini Server running OS X 10.6 (Snow Leopard).

MacBook Air on 10.7 (Lion) and Retina on 10.8 (Mountain Lion) won’t work as they are WiFi only, and WOL does not work over WiFi.

On 10.7 and up it might not work on a Mac Mini Server either, as Apple Introduced Dark Wake.

I used these tools to send WOL packets: Read the rest of this entry »

Posted in *nix, Apple, ESXi5.1, OS X, OS X Lion, OS X Mountain Lion, OS X Snow Leopard, Power User, VMware, VMware ESXi, Windows, Windows 7 | Leave a Comment »

Using inotify-wait to check filesystem events

Posted by Jeroen Pluimers 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 »

BitTorrent Labs: BitTorrent Sync – distributed peer-to-peer syncing your files without online cloud storage

Posted by Jeroen Pluimers 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, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X, OS X Mountain Lion, Power User, SocialMedia, SuSE Linux | Leave a Comment »

HTTP debugging tools

Posted by Jeroen Pluimers 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, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X, OS X Leopard, OS X Lion, OS X Mountain Lion, OS X Snow Leopard, OS X Tiger, 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 »

Windows: programmatically setting date/time stamps of files

Posted by Jeroen Pluimers 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, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X, OS X Leopard, OS X Lion, OS X Mountain Lion, OS X Snow Leopard, OS X Tiger, 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 »

 
Follow

Get every new post delivered to your Inbox.

Join 1,296 other followers

%d bloggers like this: