Search found 54 matches

by syntax
Sat Sep 03, 2016 4:41 am
Forum: Random IT Stuff...
Topic: Printer Spooler and Driver Cleanout Script
Replies: 0
Views: 1948

Printer Spooler and Driver Cleanout Script

requires: psexec.exe for remote and printer vbs scripts under C:\Windows\System32\Printing_Admin_Scripts\en-US Script can be ran via double-click or via command line, on a remote machine or local machine Command line: batchfilename.bat pcname [localtoo] [reboot] localtoo = delete local printers and ...
by syntax
Thu Jul 21, 2016 5:20 pm
Forum: Random IT Stuff...
Topic: Powershell script to remove / unpin microsoft edge from the Windows 10 taskbar
Replies: 0
Views: 5677

Powershell script to remove / unpin microsoft edge from the Windows 10 taskbar

I spent hours trying to find a solution that simply removed edge and did not involve killing and restarting explorer.exe. function UnPin-App ( [string]$appname ) { try { $exec = $false ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Nam...
by syntax
Thu Apr 28, 2016 1:56 pm
Forum: WordPress
Topic: Auto Reload and Live Stream Splash for FV Player on Wordpress
Replies: 0
Views: 2811

Auto Reload and Live Stream Splash for FV Player on Wordpress

Couldn't find this on the web... make a script.js and put this in it: window.onload = function () { var fvcol = document.getElementsByClassName("flowplayer is-live"); if (fvcol.length) { var container = fvcol[0]; var timer; player = flowplayer(container, { // }).on("load", function (e, api, video) {...
by syntax
Tue Feb 16, 2016 9:28 pm
Forum: WordPress
Topic: Replace User Role on all Sites in Muiltisite
Replies: 0
Views: 2185

Replace User Role on all Sites in Muiltisite

I couldn't find a plugin to do this so I wrote this function. Place it in a plugin file. Can probably put it in a theme too, not sure if you'd remove the init action hook in that case and just run the function directly. function asd_change_user_role_sitewide($user, $role) { global $wpdb; if ( is_mul...
by syntax
Fri Feb 05, 2016 3:56 am
Forum: Random IT Stuff...
Topic: VBS script to move unused files in an iTunes media folder
Replies: 0
Views: 2552

VBS script to move unused files in an iTunes media folder

Export your library to an XML file. Change the line to point to it: sLibraryXML = "C:\Users\syntax\desktop\Library.xml" Specify where you want the files moved to with: sDestination = "C:\Users\syntax\Music\iTunes_Unused" Log file will be created under the destination folder. Unused files will be mov...
by syntax
Thu Mar 26, 2015 3:47 pm
Forum: WordPress
Topic: Post Links Widget
Replies: 0
Views: 3403

Post Links Widget

(reserved)
by syntax
Tue Feb 10, 2015 7:55 pm
Forum: WordPress
Topic: Simple RSS Widget
Replies: 0
Views: 2925

Simple RSS Widget

(reserved)
by syntax
Tue Feb 03, 2015 3:23 pm
Forum: WordPress
Topic: Post Reminders
Replies: 0
Views: 2945

Post Reminders

<reserved for future use>
by syntax
Tue Dec 30, 2014 2:47 pm
Forum: WordPress
Topic: PDF Indexer
Replies: 0
Views: 2903

PDF Indexer

<saved for future use>
by syntax
Mon Dec 22, 2014 2:44 pm
Forum: WordPress
Topic: Making the settings section of the wp-admin interface scroll
Replies: 0
Views: 2801

Making the settings section of the wp-admin interface scroll

First, you need to have an admin stylesheet active with something like this: //style sheets function custom_admin_styles() { wp_enqueue_style( 'font-awesome', content_url() .'/asd-global/fonts/font-awesome/css/font-awesome.min.css' ); wp_enqueue_style( 'asd-admin-style', content_url() .'/asd-global/...