A little something about everything

internet marketing and website development made simple..

How to solve: Page content blank when printing but works in InPrivate/Incognito view

This is an odd one and actually stumped me for a bit, in order to solve I used f12 developer tools to uncheck specific css attributes and tested the print function again. It ended up being a font-family attribute in the all css style.

Once removed the page printed all of the content on all browsers once again. I also tried adding a second font but that also did not solve the problem. It seems that the font was not being imported correctly or was corrupt. Replacing the font using the @media print solves the issue.

For example:

How to fix EthMiner when it just closes on Windows 10

With the current release of EthMiner you may need to update your start config from the old format to the new one.

It should now look something like this for AMD:

setx GPU_FORCE_64BIT_PTR 1
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe -P stratum1+tcp://0x73f4bb52abd8233aaafe92c55e3654a94980a8b4.PCNAME@us1.ethermine.org:4444 -G -R 

In some cases you may receive the error 

No OpenCL platforms found
Error: No usable mining devices found

which is caused by a missing DLL file in the latest AMD drivers which is needed for OpenCL.

Go to 

C:\AMD\Radeon-Software-Adrenalin-2020-20.12.1-Win10-64Bit-Dec8\Packages\Drivers\Display\WT6A_INF\B#### Folder

then copy the amdocl64.dll file to your C:\Windows\System32\ folder.

Next open regedit and create the following key path: HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors then create REG_DWORD amdocl64.dll

or like this for nvidia:

setx GPU_FORCE_64BIT_PTR 1
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe -P stratum1+tcp://0x73f4bb52abd8233aaafe92c55e3654a94980a8b4.PCNAME@us1.ethermine.org:4444 -U -R

You should be all set now.

If for some reason you are still having an issue add pause to the last line in order to see the error and prevent you cmd window from closing.

How to see Edge Chromium resource usage by tab, what website is using all of my resources?

Edge Chromium which is basically a "reskinned Chrome" with some minor changes you can use many of the same tools that you can for Chrome. In order to see Resource usage on Chrome or Edge Chromium you can use the Shift+esc combination to open the "Browser Task Manager". 

At this point you can close any tabs that you don't need that are over using resources.

Step by Step install on Debian Linux on Microsoft Hyper-V Server

Create Generation 1 VHD and set to boot from  Debian~.iso

Start VHD and run Install

select options, 

  • personally I unselect the Debian desktop option and leave the rest default.

login as root or use sudo for the following commands.

now you'll need to add the webmin sources list by editing /etc/apt/sources.list by using nano, vi or another method.

vi /etc/apt/sources.list

then use i to edit the file and (esc) then :wq to write the file to memory.

once you've done that you can add the Webmin PGP key

wget http://www.webmin.com/jcameron-key.asc

then

apt-key add jcameron-key.asc

now update using 

apt update

I like to also install perl as it seems to prevent some issues

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

and finally install webmin 

apt install webmin

continue (y)

Now you can login with https://(server-IP/domain):10000 

That's it, your done.