Posts Tagged: script

0Wordpress LogoAutomatically generate and serve avif images with wordpress

I have spent quite a lot of time optim­ising the per­form­ance of this site, and as part of ongo­ing work I mon­it­or new tech­no­lo­gies that could help improve the speed for vis­it­ors. I’ve been track­ing the adop­tion of next-gen­er­a­tion image formats for a while and with sup­port by web browsers now fairly wide­spread it was time to fig­ure out how to make use of these new formats in wordpress.
Read Full Article

3Enable windows desktop slideshow with a script

I’ve been updat­ing my unat­ten­ded win­dows deploy­ment setup recently, and one of the things I wanted to enable was the slideshow wall­pa­per with the loc­a­tion set to my wall­pa­pers loc­a­tion on my serv­er. This isn’t as straight-for­ward as it ought to be, but after bit of fid­dling around I figured out how to do it fairly simply.
Read Full Article

0Batch script to rename PC based on reserved DHCP name

I use WDS on a stan­dalone serv­er to set up new PCs and to reim­age PCs when they have ended up mangled bey­ond repair. With a good num­ber of PCs in my own house it is use­ful to reim­age them oca­sion­ally when swap­ping or upgrad­ing hard­ware. Most of this pro­cess is now auto­mated by an unattend.xml file but one step the unat­ten­ded pro­cess does­n’t seem to sup­port is renam­ing PCs back to their ori­gin­al name.
Read Full Article

0Group Policy LogoCustom ADM file for Windows Server 2003 / XP domain

I was dig­ging thru an old back-up CD today and stumbled upon a cus­tom ADM file I cre­ated when I was admin­is­ter­ing a Win­dows Serv­er 2003 / Win­dows XP Domain. To use, copy the fol­low­ing code into note­pad, save the file with a .adm exten­sion on the system32 folder of a domain serv­er. Open Group Policy edit­or and add the file, then browse to the “Tech­ni­cians Set­tings” to enable any of the settings.
Read Full Article

0Media Center Master LogoEven more advanced post-processing with MCM

I’ve been look­ing to fur­ther tweak the [int­link id=“75” type=“post”]Media Cen­ter Mas­ter post-pro­cessing script[/intlink] I’ve pre­vi­ously writ­ten about — par­tially to fix a few new files that were being incor­rectly detec­ted by Stark Cov­ers, and also to build in some auto­mat­ic image res­iz­ing which, as I’ve pre­vi­ously detailed, helps to [int­link id=“74” type=“post”]improve the per­form­ance of Media Browser[/intlink].
Read Full Article

0Media Center Master LogoAdvanced post-processing with Media Center Master

I use Media Cen­ter Mas­ter and Stark­Cov­ers to man­age the metadata for all my loc­al media on my HTPCI like to have HD movies and DVDs use a dif­fer­ent style of cov­er in stark to the style used by low qual­ity files. The fol­low­ing com­mand script accom­plishes this (and a bit more)…
Read Full Article

0Alarm Clock LogoPHP / JavaScript to wake a PC remotely

I have an HTPC and a net­work serv­er on my net­work. My serv­er is always on, but the HTPC sleeps when it is not in use. If I want to sched­ule record­ings remotely I need a way to wake the HTPCThe solu­tion I came up with is to provide a webpage on my serv­er (pass­word pro­tec­ted) that wakes the HTPC and then redir­ects to the web inter­face of the remote con­trol app of the HTPCBelow is the code for any­one interested…
Read Full Article

0Dell 3130CN LogoAdding a print icon to print individual blog posts

In addi­tion to this blog I also have a blog about recipesI decided that I wanted a print icon on the main page for each post so that people can print the recipes. Googling provided vari­ous sug­ges­tions, none of which worked. How­ever, I even­tu­ally cobbled togeth­er the fol­low­ing, which seems to work…
Read Full Article

0Internet Explorer 9 LogoHow to launch HTML based programs fullscreen

I was asked recently if I could copy a teach­ing resource from a CD-ROM onto a laptop com­puter. This par­tic­u­lar pro­gram is mostly HTML with some embed­ded videos. There were 2 prob­lems with run­ning it from a loc­al shortcut.
1. Inter­net Explorer secur­ity warnings
2. The full-screen win­dow is launched by a par­ent browser win­dow which then sits on top of the full screen win­dow and has to be closed when the full screen win­dow is exited
Both of these are only annoy­ances rather than crit­ic­al fail­ures, but a com­plete solu­tion involves fix­ing these kind of things. Find­ing a solu­tion was a little tricky, but once the solu­tion presen­ted itself it was very simple.

Read Full Article