As someone who works in IT I don’t find the need to print very much nowadays, mostly just for some procedural things at work. So on a monthly basis I have the experience of selecting a bunch of files in Finder, right clicking and then wondering why the hell something as user friendly as a Mac not have a Print selected files context menu. So finally I bothered to find out how to do it, it’s so simple that I’ve no idea why Apple didn’t just include it.
- Open Automator
- From the menu of what type of document you want to make select Service
- Configure the options as below (click to enlarge):
- Save with the name you want to see the item listed as in the right click menu i.e. Print Selected Items
[Update] A Mac expert that I know has informed me you can always select the files and then hit command + p
Taken from [https://pandapow.co/how-to/win-reset-adapter/] – These instructions were used by a colleague recently when his network stack was b0rK3n. Running both the reset for tcp4 and tcp6 seemed to be key. Just resetting 4 did not resolve his issue.
Open the Command Prompt as an administrator
Run the commands in this document in a Command Prompt that has been started “*as administrator*”.
- Click the *Start menu*
- Type *cmd* in the search box,
- *right-click* the cmd item at the top and select *Run as administrator* from the menu
Resets Winsock Catalog to a clean state.
netsh winsock reset
This command restores the Windows Firewall with Advanced Security policy to the default policy.
netsh advfirewall reset
Resets the BranchCache service. Flushes the local cache. Every configuration parameter of BranchCache will be reset to its default value.
netsh branchcache reset
Resets TCP/IP and related components to a clean state.
netsh int ip reset
Resets IPv6 configuration state.
netsh int ipv6 reset
If you receive the message Spotify desktop client communication failed when trying to Login with Facebook to the Spotify app here’s why and how to fix it.
It was because I have 2 factor security turned on.
- Go to https://www.facebook.com/settings?tab=security&view
- On the line App Passwords click Edit
- Click the Generate App Passwords link
- Click the Generate App Passwords button
- Enter a friendly name for what this is for i.e. Spotify
- Click Generate Password
- Copy the password in the normal spotify logon password box.
- enter your FB email address as the username.
- HEY PRESTO!
This one had me going round the houses a bit until I the wrong permissions confirmed something to me.
/etc/phpmyadmin/config.inc.php file is crud. For some reason this file doesn’t resemble the actual config file that you should use.
/usr/share/phpmyadmin/config.sample.inc.php is the format that you need for a correct phpMyAdmin configuration, so copy it to
Next you need to edit this config file. This isn’t the hardest of the things in the world to do if you just want the basics. You just need to edit the value for
Once you’ve done that you can then login to phpMyAdmin using your mySQL credentials and get started.
It will bitch about not having the advanced features enabled. To do this follow the blog post I did at INSTALLING PHPMYADMIN ADVANCED FEATURES ON UBUNTU
Make sure you log out and back in to pick up the changes.
WARNING! Backup your data before proceeding!
For me this process didn’t destroy the data. I completely expected it to, but it didn’t. Make sure you backup in case you’re not as fortunate.
Move into Single Users Mode
sudo init 1
Unmount partition in question
sudo umount /mnt/disk1
Launch PartEd pointing at the disk in question
sudo parted /dev/sdb
Make the Partition Table GPT
Accept the warning and quit PartEd
Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
Check the disk (resize2fs required this before it would resize the partition)
sudo e2fsck -f /dev/sdb1
Resize the partition to fill the total available disk space
sudo resize2fs /dev/sdb1
Mount the disk again
sudo mount /mnt/disk1
And hey presto!
I’ve been making a lot more use of my digital photo frame since I moved into my flat but a fair few of the photos I want to make use of are portrait orientation whilst the majority are landscape.
For a load of photos I’ve gone thru them and manually made them landscape by using a method I noticed that You’ve Been Framed use when viewers send in mobile footage shot in the wrong orientation for tv. The technique is to enlarge a second copy of the image/video as a background layer to fit the width of the landscape orientation and blur the background.
I figured as I’d want to do this to a lot of images over time I’d make a script to do so. So using Photoshop’s Actions I’ve done so and thought I’d share it: Landscapify – Mike Dixson.atn Here’s how to load the actions into your Photoshop http://www.imphotography.com/downloads/installactions.htm
- Open Image
- In the Actions Window click on Landscapify
- Click the Play Icon >
- When prompted for the new canvas size enter the current width as the height and the current height as the width
- Click Ok (if prompted that clipping will occur click Ok to that too
- You’re done 🙂
Hope it’s useful to you.