Tag: script

  • Automatically reboot a TP-LINK TD-W8960N Modem through PHP script

    I recently got a bit fed up of the ADSL2+ speeds I was getting and constant line resyncing. I thought I would set up a script to automatically reboot the modem when sleeping. It turns out that previously it was very simply to reboot TP-LINK modems, but it has got a lot more difficult recently.…

  • Automatically start and run LabVIEW VI

    Here is an AutoIT script and executable that takes a LabVIEW VI path, opens the VI and then runs the VI. Script and download below. Open and Run LabVIEW VI AutoIt Open and Run LabVIEW VI EXE Use as follows;

  • Photoshop VBScript to automatically resize images

    Decided to learn Photoshop VBScripting, don’t know why I didn’t do this sooner, I now have scripts to automatically generate my blog thumbnails (as below), and add little Google Maps markers on them (see here). A few constants to change in the script (edit with Notepad); RESIZEWIDTH – thumbnail width RESIZEHEIGHT – thumbnail height IGNOREVERTICAL…

  • In search of the elusive Google default marker

    For a number of years now I have been developing a Google Maps plugin for WordPress <end of plug>, I have even created a script to dynamically generate coloured markers with custom text. This is a great solution for hosting your own markers, but is has a lot of overhead, having to host a custom…

  • WordPress hacked – broken or blank refreshing admin/dashboard

    Recently, my Linux Go Daddy hosting servicing all three of my WordPress blogs were somehow accessed and malicious code inserted into every one of my php files. The symptoms include; A similar error in your RSS feed Warning: gzuncompress() [function.gzuncompress]: data error in /home/content/t/h/y/t/html/blog/wp-includes/http.php on line 1818. A broken Admin/Dashboard. This is due to the…