Technical Support

This is where you will find all the technical support

Forgot your Mac admin password? Or maybe you purchased a used Mac from someone else and they’ve got it locked down? There are numerous ways to reset lost or forgotten Mac OS X password. In my previous post we’ve covered how to reset Mac OS X password with a installation CD. If you’ve forgotten your Mac password and you don’t have an install CD laying around, there’s no need to worry! There are still a few options to reset your lost Mac OS X password easily without an install disk.

Option 1: Reset 10.5 Leopard & 10.6 Snow Leopard password

  1. Power on or restart your Mac.
  2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.
  3. This step is optional, but it’s a good idea because it checks the consistency of the hard disk before moving on. At the prompt, type fsck -fy and press Enter/Return. Wait for the checks to complete before going to the next step.
  4. Type mount -uw / and press Enter.
  5. Type launchctl load /System/Library/LaunchDaemons/ and press Enter.
  6. Type ls /Users and press Enter. This lists all of the usernames on the computer – helpful if you don’t know or remember what these are.
  7. Type dscl . -passwd /Users/username password and replace “username” with one of the users displayed in the previous step. Replace “password” with a new password of your choice. Press Enter.
  8. Type reboot and press Enter.

Option 2: Reset 10.4 Tiger password

  1. Power on or restart your Mac.
  2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.
  3. Type sh /etc/rc and press Enter/Return.
  4. Type passwd username and replace “username” with the short name of the user account for which you’d like to reset the password.
  5. Type your desired password and press Enter. It won’t show itself on the screen, so be careful what you type. You will most likely have to enter it again to confirm.
  6. Type reboot and press Enter.

Option 3: Create a New User Account

This will create a new account, but all of your documents, pictures and everything will not be accessible.

  1. Power on or restart your Mac (should work for any Mac OS X system).
  2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.
  3. This step is optional, but it’s a good idea because it checks the consistency of the hard disk before moving on. At the prompt, type fsck -fy and press Enter/Return. Wait for the checks to complete before going to the next step.
  4. Type mount -uw / and press Enter.
  5. Type rm /var/db/.AppleSetupDone and press Enter.
  6. Type shutdown -h now and press Enter.

Although the above options will allow you to reset your own Mac password, it also means that others with physical access to your Mac will also be able to use them for accessing your information. To further protect your Mac, you should set an Open Firmware password using Apple’s utility.


How to Reset Mac OS X Password with a Installation CD

July 5th, 2012 by Admin

If you cannot remember your Mac administrator password, you may need to recover or reset your password to log onto your system. Although you can change passwords within Mac OS X, resetting a forgotten password requires that you use a Mac OS X installation disc. The installation disc allows you to create a new password for the administrator account so that you can gain access to your system again.

Let’s say you totally forgot the password to log on to your Mac. Or maybe you purchased a used Mac from someone else and they’ve got it locked down. Follow the steps below you can reset Mac OS X password easily with a installation CD.

Step 1

Insert your Mac OS X CD into your computer’s optical drive and reboot the computer. Hold down the “C” key as the computer starts to boot the computer using the CD.

Step 2

Click to select your language when prompted and click the right arrow icon. Click “Utilities” on the toolbar and select “Password Reset”. Select your system hard drive and choose the original administrator account name from the drop-down menu. Type a new password for the account and reenter the password to confirm. Type a password hint if you wish.

Step 3

Click “Save” to change the password and click the red icon on the top of the window to exit. Click “Mac OS X Installer” on the toolbar and select “Quit Mac OS X Installer”. Restart your computer when prompted.


If Mac OS X prompts you for the new password each time you log in, you can change this setting from the “Keychain Access” utility. Click “Edit” and select “Keychain List”. Select your previous administrator key chain and select “Delete”. You can add your new password in the key chain at the next login.


Reset Windows 10 Local Password with Kali Linux Live USB


Can't access your computer because of forgetting Windows 10 password? Compared to offline local account, Microsoft online account makes it super easy to reset your password to regain access to your computer. If you lost a local administrator password, you have to use third-party bootable media. In this tutorial we'll show you how to reset lost Windows 10 local password with Kali Linux.

Make a Kali Bootable USB Drive

When you're locked out of Windows 10, you need to use another PC to make a Kali bootable USB drive. Please follow the steps listed below.

  1. Download the ISO image of Kali Linux (formerly known as BackTrack). It's free.
  2. Next, you'll need a program to install Kali on your USB drive and make it bootable. Here we'll use the freeware ISO2Disc. Just download and install it on your local PC. or if you really want to have a Multi-boot USB try Easy2Boot
  3. Start the ISO2Disc utility. Click Browse to locate your Kali Linux image.

  4. Choose the Burn to USB Flash Drive option and select the drive letter for your USB drive. Click Start Burn to create a Kali Live USB drive.

Boot with Kali Linux USB

Once you have a Kali Live USB, plug it into the USB port of your Windows 10 computer and boot from the USB. You may have to press a special key (e.g., Esc, F2, F12, Del, etc.) during bootup to get the computer to boot from the USB instead of its internal hard drive.

Reset Windows 10 Local Password

  1. After booting from USB, you will see Kali Linux Boot Menu. Choose the 3rd option which is Live (forensic mode).

  2. Enter the default username as root and password as toor when prompted.

  3. Open File Manager and navigate to the directory where the SAM is saved. This file is usually located in /Windows/System32/Config. Right-click a blank space in File Manager, and select Open Terminal Here.

  4. Type the command: chntpw -l SAM. It shows the list of usernames found in the SAM on your Windows 10 OS.

  5. Simply run the chntpw -u username SAM command to reset your lost password. Note: where username is the name of your actual Windows account. For example, my username is test, I should type chntpw -u test SAM after that hit Enter.

  6. Press 1 for clearing the previously set Windows password.

  7. Press y when asked if you want to save the changes to the SAM hive. Now, Reboot your computer and unplug the USB drive, you will see Window 10 automatically login without password.

Note that Kali Live USB can reset the password of local account only (not Microsoft account). If you need an easier and more powerful tool to reset forgotten Windows 10 password, you can try this dedicated password recovery utility - PCUnlocker.

Troubleshooting - Kali Linux on Lenovo Yoga 11e 

Loading Kali Linux on a Lenovo Yoga 11e (Type: 20HS-S01R00) caused the mouse to load on its side, no background image would display (kali-linux-2018.3a-amd64.iso). ALT + CTRL + F2 took me to a terminal where I could run commands. A command mentioned on the internet was xrandr, however the output for that was 'Cannot Open Display'. Back to ALT + CTRL + F1, I managed to turn the laptop on its side then put the laptop in tablet form allowing me to use the display, you can also use it flat as well. My drive (/dev/sda3) was mount on /media/root/Windows

Note: Linux is case sensitive ;)


Cannot load Outlook after Upgrading to Office 2019 (MacOS):

Office 2019 Error Signature: Exception: SIG_FORCE_QUIT


Open up Terminal,

type in: defaults delete

then: killall cfprefsd

You should be all good just don't import anything from 2016 Office.


Where is my Database File for Outlook 2011 and 2016? The Outlook database is completely separate from the one used in Outlook 2011.

Outlook 2011 uses

~/Documents/Microsoft User Data/Office 2011 Identities

Outlook 2016 uses

~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile



Was you Visio document auto-saved before you clicked "No"?

As per this KB article you should inspect %userprofile%\Local Settings\Application Data\Microsoft\Visio\AutoRecover11.ini which contains the names of the files saved by autorecover. You may need to select the "show system files" option to make autorecover files visible in Explorer.
source: |


Does reading a SSD limit it’s lifespan?

Doesn't affect the device. The limited write lifetime of Flash is a natural consequence of how they work.

Data on Flash drives is safe because the bits are stored by electrons locked in a very well isolated layer. These electrons, if present, produce an electric field that can be picked up by a nearby transistor. Since they're locked up, reading out the transistor doesn't affect the electrons. During writes, however, to get the electrons through that layer Flash needs very high voltages. These high voltages cause some damage to the isolation layer, which accrues.

In comparison, DRAM doesn't have such an isolation layer. The electrons move quite easily. As a result, DRAM is faster and doesn't break down from writes, but the leaked electrons frequently need to be replaced. Turn off the power and they're all gone in milliseconds.


Determine Endurance on a NAND Flash Chip:

Website built in Modx, How to restore whatever you can from the database.

Recently, I ran into an issue with a website I was working on being hacked. This hack replicated itself to every directory on the server. Due to time contrants and not being able to upload any files because of the iNode file limitation I had no choice but to delete the files. I managed to backup the important stuff like the CSS and some images but not alot. Luckly, if you have most of your CSS, then the HTML is all recorded in the SQL database, but how can you install Modx again when the 'upgrade options are greyed out' (This is what Modx does when it cannot find a previous installation?)?

The solution, create a '' file under your /core/config webspace [httpdocs]. You can use a php file from another installation or if you're lucky an old backup but be sure to change the database and path values in bold below. The following PHP file needs to look like this:

* MODX Configuration file
$database_type = 'mysql';
$database_server = 'YOUR.IP.ADDRESS.SQL';
$database_user = 'database_admin';
$database_password = 'Database-password';
$database_connection_charset = 'latin1';
$dbase = 'dbname_sql';
$table_prefix = 'modx_';
$database_dsn = 'mysql:host=YOUR.IP.ADDRESS.SQL;dbname=dbname_sql;charset=latin1';
$config_options = array (
$driver_options = array (

$lastInstallTime = 1395638177;

$site_id = 'modx53';
$site_sessionname = 'SN51';
$https_port = '443';
$uuid = '5443345-4c44-4444-4k65-d9a8a9d92229';

if (!defined('MODX_CORE_PATH')) {
$modx_core_path= '/var/www/vhosts/3/120503/webspace/httpdocs/YOURDOMAINNAME/core/';
define('MODX_CORE_PATH', $modx_core_path);
if (!defined('MODX_PROCESSORS_PATH')) {
$modx_processors_path= '/var/www/vhosts/webspace/httpdocs/YOURDOMAINNAME/core/model/modx/processors/';
define('MODX_PROCESSORS_PATH', $modx_processors_path);
if (!defined('MODX_CONNECTORS_PATH')) {
$modx_connectors_path= '/var/www/vhosts/webspace/httpdocs/YOURDOMAINNAME/connectors/';
$modx_connectors_url= '/connectors/';
define('MODX_CONNECTORS_PATH', $modx_connectors_path);
define('MODX_CONNECTORS_URL', $modx_connectors_url);
if (!defined('MODX_MANAGER_PATH')) {
$modx_manager_path= '/var/www/vhosts/webspace/httpdocs/YOURDOMAINNAME/manager/';
$modx_manager_url= '/manager/';
define('MODX_MANAGER_PATH', $modx_manager_path);
define('MODX_MANAGER_URL', $modx_manager_url);
if (!defined('MODX_BASE_PATH')) {
$modx_base_path= '/var/www/vhosts/webspace/httpdocs/YOURDOMAINNAME/';
$modx_base_url= '/';
define('MODX_BASE_PATH', $modx_base_path);
define('MODX_BASE_URL', $modx_base_url);
if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
$isSecureRequest = false;
} else {
$isSecureRequest = ((isset ($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || $_SERVER['SERVER_PORT'] == $https_port);
if (!defined('MODX_URL_SCHEME')) {
$url_scheme= $isSecureRequest ? 'https://' : 'http://';
define('MODX_URL_SCHEME', $url_scheme);
if (!defined('MODX_HTTP_HOST')) {
if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
define('MODX_HTTP_HOST', $http_host);
} else {
$http_host= $_SERVER['HTTP_HOST'];
if ($_SERVER['SERVER_PORT'] != 80) {
$http_host= str_replace(':' . $_SERVER['SERVER_PORT'], '', $http_host); // remove port from HTTP_HOST
$http_host .= ($_SERVER['SERVER_PORT'] == 80 || $isSecureRequest) ? '' : ':' . $_SERVER['SERVER_PORT'];
define('MODX_HTTP_HOST', $http_host);
if (!defined('MODX_SITE_URL')) {
$site_url= $url_scheme . $http_host . MODX_BASE_URL;
define('MODX_SITE_URL', $site_url);
if (!defined('MODX_ASSETS_PATH')) {
$modx_assets_path= '/var/www/vhosts/webspace/httpdocs/YOURDOMAINNAME/assets/';
$modx_assets_url= '/assets/';
define('MODX_ASSETS_PATH', $modx_assets_path);
define('MODX_ASSETS_URL', $modx_assets_url);
if (!defined('MODX_LOG_LEVEL_FATAL')) {
define('MODX_LOG_LEVEL_FATAL', 0);
define('MODX_LOG_LEVEL_ERROR', 1);
define('MODX_LOG_LEVEL_WARN', 2);
define('MODX_LOG_LEVEL_INFO', 3);
define('MODX_LOG_LEVEL_DEBUG', 4);
if (!defined('MODX_CACHE_DISABLED')) {
$modx_cache_disabled= false;
define('MODX_CACHE_DISABLED', $modx_cache_disabled);


Programming Arduino from the Cloud or Chromebook:

Block Coding with Ardiuno



Recovering Unsaved Word documents in Mac OS

Method 1:

The Apple Mac OS system created temporary files within your computer’s Temporary folder, or TMP folder. It is important to check there first to see if that is where your lost document has ended up. In order to find this folder, you must do the following:

  • Go to Applications, then Utilities, then click on Terminal
  • Once in Terminal, enter the following command and then press enter: open $TMPDIR
  • Once you have entered this, you have now opened your TMP folder.
  • Once in this folder, open the folder named: “Temporaryitems”
  • If you’re lucky you document should be there!
Method 2:

Now say you go there, and your document is still nowhere to be found. Microsoft Word on Mac computers include an Auto Recovery option. It is automatically turned on by default. What this does is save your opened word file every 10 minutes. This is especially helpful because if you’re computer freezes while you are working on a document, or in the rare case that your computer crashes, you can use the Auto Recovery copy to recover the word document that was last saved by your computer. In order to use this, follow these steps:

  • Close Microsoft Word for Mac
  • Click Home
  • Open the Documents folder, and then open the Microsoft User Data folder
  • Locate the file that starts with the following words: “AutoRecovery save of” and select the document you want to recover, and rename the file to your choosing
  • Add “.doc” to the file name extension
  • Double click on that file, and the document should now open up for Word on Mac.
  • Click the File menu, and then select Save As
  • Type the name of the file into the Name field, and then click the Save button.

The Other Side of This Is to Also Check This Way:

  • Go to Finder, then click “Go”, and then Go to Folder and then type in the following: ~/Library/Containers/ 
  • There is a good chance that your lost document may be here.


There are many ways to prevent losing documents, and the most important one is to remember to always save your documents yourself as often as you can. If you are in the middle of thinking before typing, make sure you click save so that your saves properly. The other sure fire way to make sure that this does not happen is to also save all work onto a flash drive. By having your work saved on both a flash drive and your computer, you are less likely to lose you work due to computer crashes, or just forgetting to save in general.


What is WiDi & Miracast?


The WiDi from Intel is also known as Wireless Display. It is associated with the Intel’s WiFi direct connection standard. It allows the users to play movies, videos, songs, pictures on their TVs or monitors from their mobile devices through a wireless connection. It supports 5.1 surround sound and Ultra HD video quality at 4K resolution.


In 2012, Apple introduced Miracast wireless display technology to help the users mirror the screen of their smartphones or any other mobile device onto a bigger HDMI TV, projector, or monitor. It doesn’t matter which brand of device you are using; if it is Miracast-enabled, then you can take advantage of this wireless screen mirroring technology. Microsoft's Wireless Display adaptor uses Wifi Direct/Miracast Technology (if your device supports it, pressing the Windows Key + K will tell you).

AirPlay, unlike WiDi or Miracast, is a proprietary technology. It’s only compatible with Apple TV and other officially vetted brands. You can’t purchase an adapter that will stream to any device, as you might with WiDi or Miracast. AirPlay’s great advantage over other wireless display standards is its ability to function with AirPlay enabled-speakers.

Apple intended for the technology to allow mobile devices to function as remote controls and streaming devices. It licenses out AirPlay to a variety of audio-equipment manufacturers — such as Sony, Pioneer and Philips.

Overall, AirPlay possesses far fewer vices and foibles than Miracast.

Difference Between Miracast and WiDi

The WiDi technology compresses and transmits the data through the channels by using the software and hardware functionalities of the device over a WiDi direct connection. While the Miracast is a standard made for the wireless connectors and receivers like smartphones, tablets, laptops, and TVs, monitors, projectors, etc. to mirror the screen of small devices on the bigger mediums.

The Miracast supports the latest Windows Operating Systems, Android 4.2+ OS, Mac OS, Linux Distributions, gaming consoles like Xbox One, etc. To use any of the medium, either Miracast or WiDi, you need a particular receiver device to use it.  

Which is better?

After the Miracast introduction and the support the WiDi applications started to provide to the Miracast technology, the WiDi was discontinued for marketing and developing after 2015. So, when comparing these two wireless platforms for copying your smaller screen content on the bigger displays, the Miracast is the most suitable option to get.


Does my device support Mircast?

Miracast is a standard format which allows computers, tablets or smartphones to mirror its display over WiFi to compatible devices. Most new computers being shipped with Windows 10 or Windows 8.1 have support for Miracast but sometimes, due to outdates drivers, it does not work.

Wifi Device must support the NDIS 6.3 Driver (Powershell -> Get-NetAdapter | Select Name, NdisVersion)

and your Video Driver must support WDDM 1.3


Here is how you can quickly check if you computer has support for Miracast or not.

CMD > netsh wlan show driver

  1. Open up dxdiag by searching it from Windows:miracast windows on macbook air
  2. Click on ‘Save all information’ button to extract a report of system data. Save it on a quick access location, such as your desktop.
  3. Open the file, which should normally be in notepad, and do a search for Miracast. You should get at least 3 results. The first will tell you that Miracast is available (with HDCP), likely due to built in support by Windows. The second one is which will tell you about the driver support. In my case, since I’m using Windows 10 via Bootcamp on a MacBook Air, I see the below that Miracast is not supported by WiFi driver.


In such a situation, your best bet is to go to your WiFi manufacturer’s website and download the latest drivers or just hit up Windows Update to see if there’s a newer version available. Once you update, you can try the above steps again to see if your updated driver now supports Miracast and then test it with your output device.



Error 404 visiting pages (Drupal Content Managment System)

The reason for this is your hosting server does not support clean URLs, this could be caused by the rewrite_module not being enabled

How do you login to the front-end with clean URL's disabled?

A missing .htaccess file may also be your problem with clean URLs.


Outlook Offline - Button will not allow you to go Online.

Your Outlook needs to be activated


Modx Manager - Loading Resources fails / a Blank page on Resource load - Fix

Check that TinyMCE is installed



Chrome reports 404 errors loading page content: 

Make sure you have the permission 755 applied to your files that are trying to load.


Modx - Editing content delays text - Fix

Have you found yourself typing and the Characters are taking a while to catch up. The cause could be TinyMCE, you may need to reinstall or Update the module.



Accedently set Permissions on your macOS/Machintosh HD drive (aka Volume) for everyone from 'read-only' to 'No Access' 

When starting in recovery mode (Command + R) and attempting a repair of permissions, the error comes back  "Error underallocation detected on Main Device".

The fix:Shutdown your computer and start it back up, holding down the Command + S key. Enter the following command (just type when the text has stopped moving).


mount -uw /

chown root /

chmod 1775 /



If you have access to the drive still try:

Launch Terminal 

sudo chown root "/Volumes/volumename"

sudo chmod 1775 /Volumes/volumename" (Press tab to list the closest match)

sudo -k

 Create a CSV file of your Keychain

Mount VHD Files under MacOS:

  1. Install macfuse
  2. Install Virtual Box
  3. Compile vdfuse as mentioned in the question
  4. Mount the vhd disk

    sudo ./vdfuse -tVHD -w -f/Path/To/VHD /Path/To/Mountpoint

  5. Attach the virtual partition blockfiles

    hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount /Path/To/Mountpoint/PartitionN

  6. Mount the virtual partition

    mount -t YourFS /dev/diskK /Path/To/ParitionMountPoint


 OneDrive - Not allowing you to Sign-in on MacOS


That issue may be related to keychain of OneDrive. Regarding you have deleted keychain of OneDrive, please check the steps below to make sure you have removed keychain of OneDrive rightly.


  1. Open keychain access.
  2. If keychains are hidden, choose View > Show Keychains.
  3. Select a keychain in the Keychains list.
  4. Choose File > Delete Keychain [OneDrive Cached Credential].




If you remove keychain rightly, we’d like to suggest you lock and unlock OneDrive login keychain to check if this issue persists. You can follow the steps below to do that:


  1. Open Keychain Access.
  2. Find keychain of OneDrive.
  3. Click keychain of OneDrive>Click the Lock icon on the top-left corner.
  4. Click the Lock icon again and type login password to unlock the keychain of OneDrive.
  5. Restart OneDrive.



The pros of mirroring with QuickTime are many. It doesn't cost anything extra, the responsiveness is almost instant, and setting it up couldn't be easier. 


The only con is that it requires a wired connection between the Mac and iOS device.



Connect the iOS device to the Mac via a Lightning-to-USB cable. Note: This connection may cause iTunes and/or Image Capture to automatically launch. Those programs may start trying to syncing with the iDevice, and create lag. So be sure to close those applications before moving forward.


Once the device is connected, launch QuickTimeQuickTime will bring up a filepicker menu. The goal here isn't to play an existing file, so click Done


From the menu bar, click File, then New Movie Recording.

Setting iPhone as a QuickTime input

Setting iPhone as a QuickTime input

The default input device will be set to the iSight camera. To change it to the iOS device, click the down arrow next to the record button. Then select the iOS device from the camera list. The device's screen will instantly appear and any actions taken on the device will be mirrored to the Mac's display.




ACER Switch - No bootable device when trying to boot from USB/CD

You needto enable legacy boot.

  1. Start the machine and hit F2 to get to BIOS.
  2. Disable secure boot in the boot options screen.
  3. Enable the load legacy option ROM.
  4. Keep the boot list option set to UEFI.
  5. Press F10 to save and exit.
  6. Shut down the machine and start it again with the USB device attached.
  7. Press F12 on boot to get the legacy boot options.
  8. Pick USB from the list, and off you go.

- DellEMC: VMware vSphere Data Protection

1. Set your IP address to match the IP of the allocated IP from the Virtual Machine most likely, so set your IP as (proterties of your ethernet card, double click IPv4/Internet Protocol Version 4 (TCP/IPv4) -> Advanced TCP/IP Settings -> under the IP Settings tab -> select Add _> add your IP range that will be able to communicate).

2. Navigate to the address bar of your browser to https://IPADDRESS:8543/vdp-configure/

3. Continue setup until you get: IP/DNS could not be resolved during vSphere Data Protection (VDP) ref:

4. Go back to Virtual machine (launch remote session if you have to (vmrc://clone:), login with root and changeme. type vim /etc/resolv.conf, insert the following (hit insert key or 'i' or F2' to edit)

  • domain XXXX.XXX
  • search XXXX.XXX
  • nameserver YYY.YYY.YYY.YYY

or domain and IPaddress, example:


Hit 'esc' and ':wq' to write and quite.

5. modify /etc/hosts

vim /etc/hosts

remove 10.4.14 address, replace with YOUDESIREDIP like in the example below vdp

Where VDP is the name you have entered into your DNS in both primary and secondary locations.

IF you make a MISTAKE editing the files just hit 'esc' and ':q!'

To modify the IP you need to:

vim /etc/sysconfig/network/ifcfg-eth0

(f1 to edit)


'esc' and 'wq'

now modify:



insert the default gateway. and write and quit (wq!)

reboot and continue the setup wizard.








Dell EqualLogic PS Series Group Manager error:


"attempted to open sandboxed jar http://IPADDRESS/lib/equallogic.jar as Trusted-Only"

SOLUTION is to add /welcome.html to the end of your URL, this will give you the option to launch the application through the browser or standAlone.

in my case, I was still presented with a "General Exception"

Name: com.equallogic.eqlgroupmgr.EqlGroupM.....

ExitException: Unsigned application requesting unrestricted access to the system

The following resource is signed with a weak signature algorithm MD5withRSA and is treated as unsigned.

A quick (but temporary) solution:

Just comment out the setting of “jdk.jar.disabledAlgorithms” in the file of”lib/security/” (which is located at “/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/, on my MacOS 10.12)

jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024

After that, the JNLP file will be running as usual again.

If on a windows machine, you'll have to navigate to C:|program files etc (your install directory) change the file needed and save the file (if opened with notepad, with talking marks around java.securityif it asks to save to the desktop just save to the desktop and drag and drop/copy and paste the file into the correct location, replacing the current file).

You may also need to add w and http://IPADDRESS/ to your trusted site list: Control Panel->Java->Security Tab and click 'Edit site List..' button.

If you see something like:  "JGoodies fonts being disabled" just wait :)


How to save Media inside from inside a Microsoft Office Powerpoint?

At the time of this post, you couldnt just right click on the video inside of a powerpoint and 'Save Media as..." so here is another solution:

Step 1
Make a copy of the pptx file (known as a Powerpoint file). If you cannot see this file extension name after the title, you may need to turn this option on.


Windows 10:
  1. Click Start and then click File Explorer.
  2. Click the View tab in File Explorer and then click the Options button (or click the drop-down menu and click Change folder and search options)
  3. Click the View tab at the top of Folder Options.
  4. Click OK.

Step 2
rename-zipRename the pptx file – change the extension from ‘pptx’ to ‘zip’.

You will probably get a message warning you about the change of extension. Make sure you allow the change so that the file name will end in ‘.zip’.


Step 3
Extract the zip file (or browse the zip file contents). You will see a directory structure now present in the folder. Navigate to ppt > media and all your image and media files will be present. You can now copy these files (and convert, if necessary) for use in other presentation mediums.



Windows Scheduled Task - Error (0x41306)

Check to make sure Power Options is not ticked preventing the task to run when on battery.


Python - IndentationError: expected an indented block

Check your spacing, you may need the famous 4 blank spacing ;)

Regex - Useful tools


How to install Python3 on MacOS High Sierra

install python3 with homebrew (brew instructions found in a previous post)

if you run into the following errors: 

Linking/usr/local/Cellar/python3/3.6.3...Error:Permission denied @ dir_s_mkdir -/usr/local/lib 


Create the folders I needed using sudo mkdir inside /usr/local:


sudo mkdir lib 
sudo mkdir Frameworks


Change the permissions inside /usr/local so that homebrew can access them:


sudo chown -R $(whoami) $(brew --prefix)/*


Now install python3


1. brew install python3
2. curl | python3
3. python3


Use pip3 to install modules

 alias pip3="python3 -m pip"

1. pip3 install ipython
2. python3 -m IPython



Pip3 error install Package behind frewall/Proxy

There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping


1. you can specify cert: 

pip3 --cert /etc/ssl/certs/FOO_Root_CA.pem install

2. pip3 install --index-url= <package_name>



Selenium - How to install ChromeDriver

Selenium - Run headless Firefox & run in a Windows Task Scheduler:

You may have ran into the problem where you Python script will work normally but not as a scheduled task even when youve made a bat file to be called rather than python itself. One reason could be the need for the security sandbox option. Python script below:

from selenium.webdriver.firefox.options import Options
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

os.environ['MOZ_HEADLESS'] = '1'
firefox_profile = webdriver.FirefoxProfile()
capabilities = DesiredCapabilities.FIREFOX.copy()
capabilities["moz:firefoxOptions"] = {
      "prefs": {
            "security.sandbox.content.level": 5,
mydriver = Firefox(capabilities=capabilities)

How to - Use wget to download HTTP directory Listing (MacOS High Sierra):

Note: This method does not download XHR documents (JSON, BJSON etc)

First, install wget by either method mentioned below:

Install wget with homebrew
*First you need Brew if you dont already have it:
ruby -e "$(curl -fsSL"

then install wget
brew install wget --with-libressl
or brew install wget

If you dont wanrt to use brew, alternative method is:

curl -O

tar -xzf wget-1.17.tar.gz

cd wget-1.17

./configure --with-ssl=openssl


To Dowload a HTTP directory listing files
wget -m -A * -pk -e robots=off

This will download all type of files locally and point to them from the html file
and it will ignore robots file

wget -rkpN -e robots=off

-r means recursively

-k means convert links. So links on the webpage will be localhost instead of

-p means to get all webpage resources so obtain images and javascript files to make the website work properly.

-N is to retrieve timestamps so if local files are newer than files on remote website skip them.

-e is a flag option it needs to be there for the robots=off to work.

robots=off means ignore robots file.

 -A,  --accept=LIST               comma-separated list of accepted extensions

  -m,  --mirror                    shortcut for -N -r -l inf --no-remove-listing

-k,  --convert-links             make links in downloaded HTML or CSS point to

                                     local file

 --user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22"



If you want to get the size of the HTTP Directory before downloading try the following script

#!/bin/bash# Info: Prepare wget logfile

# Do the spider magic
echo "### Crawling ${!#} website... ###"
sleep 2s
echo "### This will take some time to finish, please wait. ###"

wget \
  --recursive --level=inf \
  --spider --server-response \
  --no-directories \
  --output-file="$log""[email protected]"

echo "Finished with crawling!"
sleep 1s# Check if prepared logfile is usedif[-f "$log"];then# Calculate and print estimated website size
    echo "Estimated size: $(\
        grep -e "Content-Length" "$log" | \
        awk '{sum+=$2} END {printf("%.0f", sum / 1024 / 1024)}'\
    ) Mb"# Delete wget log file
    rm "$log"else
    echo "Unable to calculate estimated size."fi  


You can also download the script from here:

open up the terminal, click and drag the and include after the .sh file followed by the site you want to know the size of

0. /Users/USERNAME/Downloads/website-size-master/ -m -A* -pk -e robots=off



wget -m -A* -pk -e robots=off

4 Level argessive continue downloads

wget -m -r -l4 -H -t1 -nd -N -np -A* -c -e robots=off 

1. Download a single file from the Internet

2. Download a file but save it locally under a different name
wget ‐‐output-document=filename.html

3. Download a file and save it in a specific folder
wget ‐‐directory-prefix=folder/subfolder

4. Resume an interrupted download previously started by wget itself
wget ‐‐continue

5. Download a file but only if the version on server is newer than your local copy
wget ‐‐continue ‐‐timestamping

6. Download multiple URLs with wget. Put the list of URLs in another text file on separate lines and pass it to wget.
wget ‐‐input list-of-file-urls.txt

7. Download a list of sequentially numbered files from a server

8. Download a web page with all assets – like stylesheets and inline images – that are required to properly display the web page offline.
wget ‐‐page-requisites ‐‐span-hosts ‐‐convert-links ‐‐adjust-extension 


9. Download an entire website including all the linked pages and files
wget ‐‐execute robots=off ‐‐recursive ‐‐no-parent ‐‐continue ‐‐no-clobber

10. Download all the MP3 files from a sub directory
wget ‐‐level=1 ‐‐recursive ‐‐no-parent ‐‐accept mp3,MP3

11. Download all images from a website in a common folder
wget ‐‐directory-prefix=files/pictures ‐‐no-directories ‐‐recursive ‐‐no-clobber ‐‐accept jpg,gif,png,jpeg

12. Download the PDF documents from a website through recursion but stay within specific domains.
wget ‐‐mirror ‐‐,, ‐‐accept=pdf

13. Download all files from a website but exclude a few directories.
wget ‐‐recursive ‐‐no-clobber ‐‐no-parent ‐‐exclude-directories /forums,/support


14. Download files from websites that check the User Agent and the HTTP Referer
wget ‐‐refer= ‐‐user-agent=”Mozilla/5.0 Firefox/4.0.1″

15. Download files from a password protected sites
wget ‐‐http-user=labnol ‐‐http-password=hello123

16. Fetch pages that are behind a login page. You need to replace user and password with the actual form fields while the URL should point to the Form Submit (action) page.
wget ‐‐cookies=on ‐‐save-cookies cookies.txt ‐‐keep-session-cookies ‐‐post-data ‘user=labnol&password=123’
wget ‐‐cookies=on ‐‐load-cookies cookies.txt ‐‐keep-session-cookies


17. Find the size of a file without downloading it (look for Content Length in the response, the size is in bytes)
wget ‐‐spider ‐‐server-response

18. Download a file and display the content on screen without saving it locally.
wget ‐‐output-document – ‐‐quiet




How to change wget default directory

wget will download files where it is launched from: 

1. Change to the directory you wish it to be downloaded to first then run your wget command.

cd /home/yourname/Downloads

Then run your wget command


2.Add the directory to the wget command like this.

wget -O /home/yourname/Downloads


Make a Bootable USB from an ISO File


Extract 7zip on MacOS


Solution to no Telnet available in High Sierra

Even know you have telnet as an option in Terminal (Shell -> New Remote Connection) you still get this lovely message once you select "Connect"

[Command not found: telnet]

[Could not create a new process and open a pseudo-tty.]

Solution provided by Insomniac86  (be sure to right click and run on the binaries after extraction)

Just copy the Telnet and FTP binaries from macOS 10.12 located in /usr/bin/telnet & /usr/bin/ftp and copy to /usr/local/bin/ in macOS 10.13. Here’s a zip of the binaries if you don’t have a previous install to copy from.



Aptana Studio 3 - Will not load on Mac OS High Sierra.


  1. Open Finder and navigate to "Applications -> Aptana"
  2. Right-click on the Aptana executable and click show contents
  3. Navigate to "Content -> MacOS"
  4. Double click on AptanaStudio3
  5. You will get a popup saying you need legacy Java SE 6
  6. Click "More Info..." button and download and install it (very slow download, just wait it out)
  7. Once installed double click the AptanaStudio icon in step 4 and Aptana Studio 3 will open
  8. You will need to use that as the shortcut as the Aptana icon from the installation will still not work.



WIM file mounted by another User? How to unmount?

dism /get-MountedWiminfo

dism /cleanup-wim


 SSL installation & Handshake failure:

ERROR (54) Connection reset by peer (TLS code: SQUID_ERR_SSL_HANDSHAKE)

The first step to install an SSL first requires a CSR and Key generated at the same time from your Web Host.

Then you need an SSL authority to generate your CA files, sslTrust or ComodoSSL are some examples of SSL authorities. Then you need to add the cert and privateKey to your web hosting platforms like cPanel or Odin.

The handshake SSL failure comes from a failed trust. In the case where a DMZ may be used in this case pfsense you will have to make sure the issued CA certificates are installed in the System -> Certification Manager -> CA’s and the main domain issues cert from your SSL issuer is in the Certificates section. You then have to make sure that certificate is selected in the System -> Advanced -> Admin Access for the pfsense box and the reverse proxy ‘Reverse SSL Certificate‘ area. 

For a local DNS you need to install the certificate on the machine (Windows->Start->Run->mmc->file>add & remove snap-in > Certificates local machine>import cert)

If the problem still arises you’ll need to make sure the certificate is in the server certificate location and the binding for secure port 445 is using the SSL certificate.                                                  


How to install pip on Windows (Python):

The official steps to install pip on windows is to download the file and run it (python

however, the steps provided on can throw out some annoying errors at you like:

"Could not find version that satisfies the requirement wheel (from versions: ) No matching distribution found for wheel"

From what I can make out this could be a proxy related issue, however, there are also other options as well and I would like to list them to help you out:

1. Try get some prepared versions of popular Python packages here: and #pip (replace #setuptools with #pip)

2. For me, the method was to add C:\Python27\Scripts to the environmental variables (make sure you can see the pip.exe in the scripts folder in your python directory). You can test this variable works by launching CMD (right click 'run as Administrator') and typing in 'pip'. How to set environmental variables? Right Click on the 'start menu/Windows logo usually bottom left corner', select 'System', 'Advanced system settings' -> 'Advanced' -> 'Environment Variables', under 'System variables', you will find the variable 'Path', add the folder with the required python exe file like ":C:\Python27\Scripts" I find a "\" before and after the : and end of the line can have an impact on Windows 10. Adding a Proxy to the commandline: If you're behind a PROXY server such as a hotel or in your work environment you can add the proxy adds into your System Variables in environment variables by adding one like so (click New):

Variable Name: http_proxy

Variable value: http://proxy_address:portnumber 

SECURE sessions use:

Variable Name: https_proxy

Variable value: http://username:[email protected]_address:portnumber

Replace username, password, proxy_address and portnumber with what applies to your network. A simple test could be to install Django: pip install Django==1.5.8


wxPython on Mac

Trying to install youtube-dl-gui on a Mac

example: get an error like the following:

Macintosh:youtube-dl-gui-master username$ python

“No module named wx”


You need to run the following:

sudo easy_install pip


You should get something like this:

Searching for pip


Best match: pip 8.1.2


All your python packages should be located here: /Library/Python/2.7/site-packages

After downloading wxPython, in this case it was wxPython3.0-osx-coca-py2.7.pkg, I got the following error:

 wxPython3.0-osx-cocoa-py2.7.pkg is damaged and can’t be opened. You should eject the disk image.


According to #14523 this is caused because the package is not signed. Work around for some was to turn off gatekeeper (System Preferences, Security & Privacy, General, select “Allow apps downloaded from: Anywhere radio button”.

Via Terminal sudo installer -pkg /path/to/wxPython.pkg -target /


In my case this did not work, I got the error that there was no software to install. This lead me to install ‘Homebrew’ the bellow command installs Homebrew from

/usr/bin/ruby -e "$(curl -fsSL"


I could then run the following command: brew install --python wxmac

I then ran the following to create a symbolic link between wx to the python library: sudo ln -s /usr/local/Cellar/wxmac/ /Library/Python/2.7/site-packages/wx 

‘brew link wxpython’ is another way to create the link.


AGAIN, this didn’t work, so I downloaded and installed MacPorts and ran the following command in a new terminal window:

sudo port install python27 py27-wxpython

 then: xcode-select --install


Then I get the next error:

Error: Port py27-wxpython not found


SOLUTION wxPython on macOS Sierra

So the last option was to download Xcode (xcode-select --install) & download wxPython-src-

 Extract the tarball and replace

#include <WebKit/WebKit.h> (in src/osx/ with #include <WebKit/WebKitLegacy.h>.


Then navigate to the src code and run the following commands (all after $)

1. Change into your extracted directory: cd wxPython-src-

2. PREFIX=/usr/local

3. ,/configure --prefix=$PREFIX --enable-shared --enable-monolithic --enable-unicode --enable-std_string --enable-display --with-opengl --with-osx_cocoa --with-libjpeg --with-libtiff --with-libpng --with-zlib --enable-dnd --enable-clipboard --enable-webkit --enable-svg --with-expat --with-macosx-version-min=10.11 --enable-universal_binary=i386,x86_64 --disable-precomp-headers

4. sudo make install

5. cd wxPython




If you then run: python -c "import wx; print wx.version()"

you will hopefully get a return like this: osx-cocoa (classic)


After all this I was able to run the youtube-dl-gui installer: sudo python install

 Then I could launch the program by typing in the command prompt: youtube-gl-gui


Alternative untested options:

Use : conda install -c noaa-orr-erd wxpython=

Try this script:


Other References:


How to Run Python in 32bit mode:

#!/usr/bin/env python-32


Find out wx version:

python -c "import wx; print wx.version()"


Find out code-select path:

xcode-select -print-path

result is: /Applications/




Excel Visual Basic Applications (VBA) on a MAC not reading .removeduplicate command:

Example code that will not work on a mac: Sheets("example sheet name").Range("A1:J250").RemoveDuplicates Columns:=Array(1, 2, 3, 4), Header:=xl

No Solution, try the folowing code: Dim LR As Long, i As Long LR = Range("A" & Rows.Count).End(xlUp).Row For i = LR To 1 Step -1 If WorksheetFunction.CountIf(Columns("A"), Range("A" & i).Value) > 1 Then Range("A" & i).Delete shift:=xlShiftUpNext i



Recover an Office 2016 document on a Windows Machine that didnt Autosave:

Have you ever been working on a file to have it just vanish. Here are some things you can do. Navigate to your profiles root directory. C:\Users\YOURUSER and do a seach for %temp%\pub*.temp (in this case, pub is for Microsoft Publisher). Usually, if you arrange by date in here: C:\Users\USERPROFILE\appdata\local\temp the extention will have .temp or tmp after it if you have file extentions enabled


Lync Password Prompt constantly when Lync has started and logged in (Mac OS X, commonly experienced after a Mac Upgrade).

Solution: Finder -> Go - Folder:/Users/USERNAME/Keychain delete OC_KeyContainer__'[email protected]'


Group Policy results To find out what policies are getting applied to your work station

You can run the following commands: Gpresult or Rsop.msc If you would like a nice snap-in like look & feel: Gpresult /h report.html /f (the HTML file will usually get stored in your root director of your profile C:\Users\USERNAME\report.html) If you want to generate a result for another user: Gpresult /h report.html /user:DOMAIN\USERNAME /f


Install Sierra with Mac App Store:


Safari: "Could not open the page, too many redirects"

  1. Safari, choose Safari > Preferences.
  2. Click the Privacy icon to view Privacy settings.
  3. Click the Details button that appears under the Remove All Website Data button.
  4. Search for the name of the website that you are trying to view.
  5. Click the Remove button.
  6. Close the Safari Preferences window.
  7. Download and install Onyx

Modx Infinite save loop (stuck at Saving)

1. Update Modx

2. Files -> Open up index.php and save

Otherwise you may be getting 403 forbidden error, whitelisting mod_security rules


Modx - Formit extension not sending emails:


QuickEmail is a package that can preview the resource it installs. It can help diagnose email problems.

Go to System -> System Settings and put SMTP in the search filter box at the upper right.

these settings will work with Gmail:

SMTP Authentication: Yes
SMTP Connection Prefix: tls
SMTP Hosts:
SMTP Password: yourGmailPassword
SMTP Port: 465
SMTP User: yourGmailUsername
Use SMTP: Yes

Example Form:

"index.php?id=2" method="post" id="contact-form">
        "text" name="name" maxlength="60"  value="" />
        "text" name="email" size="40" maxlength="40"  value="" />
        "hidden" name="phone" value="" />