Some short and handy how tos.
How to make the system notification tray area wider on Windows 10?
This can’t be made with normal settings. But you can make all the icons visible by the simple drag and drop action. Drag and drop the icons from the pop-up part of the tray to the visible tray area.
How to convert multiple mkv video files in a folder with a batch file on Windows 10?
I needed it with little quality loss, with rescaling to 16:9 resolution, with small but ok mp3 audio and also with burned in subtitles (from the source mkv itself).
You need to install ffmpeg then copy ffmpeg.exe in the movies source. Create a bat file there (edit the destination folder) as the script below:
FOR /F "tokens=*" %%G IN ('dir /b *.mkv') DO ffmpeg -i "%%G" -c:v libx264 -preset veryfast -crf 20 -c:a mp3 -af "aformat=sample_fmts=s16" -ar 44100 -b:a 160k -vf "scale=1280:720,setdar=16/9,subtitles='%%G' :si=0" "e:\ST\1\%%G"
How to delete the old Windows 10 folders that won’t delete with normal delete?
After making a fresh Windows 10 installation the old users and Windows.old folders can’t be removed with normal delete action in explorer, even as administrator. This happens mainly due to inherited credentials of owners of the old installation. To some extend the cleanmgr tool helps.
I use these steps and a bat file: rename the folder in order to make sure it is not locked (restart maybe needed), then use the script below to take ownership and give yourself rights to it, and then delete.
takeown /F "ProgramData_" /A /R /D Y icacls "ProgramData_" /T /grant yourUserName:F rd /s /q "ProgramData_"
How to configure Eclipse with PyDev, Python and Plotly (Graphs) on Windows 10?
You need to have all on the same bits. Windows 10 on 64bits then also Eclipse and Java.
You can get old Eclipse installations from: https://www.eclipse.org/downloads/packages/release
Get old Java installations (without login to java oracle sign-on): https://www.oracle.com/java/technologies/javase-jdk16-downloads.html and use right-click.
Add JAVAHOME to PATH. JAVAHOME=path to java bin.
Drag and drop https://marketplace.eclipse.org/content/pydev-python-ide-eclipse into Eclipse.
Install Python: https://www.python.org/downloads/ and add to PATH to Python and Python Scripts.
Install plotly, numby, pandas with the Python Scripts command: pip install plotly
Revise: Project -> Properties -> PYTHONPATH and Preferences -> PyDev -> Interpreters -> Python Interpreters (correct location and plotly, etc. versions).
How to recover your unprocessed Ethereum transaction due to too low fees allocated to it?
Transaction stays in the processing queue and they are processed in a “competitive” way, the more the fee the more likely some processing miners will take it. Sometimes the fee allocated to the transaction can be too low and no miner will process it anytime soon. What is this fee? This is the gas fee – the fee that miners earn for their job to process transactions in the blockchain.
In order to recover this transaction, to get (at almost no cost) all the value back to your wallet, you have to:
– check the transaction specifics with an eth explorer
– identify the status (processing/pending or similar) and note the nonce value of it (a number)
– initiate a new transaction to yourself: to your eth address, of smallest amount possible (0 if possible), assign the same nonce to this transaction and give to it a suggested “fast” high gas fee (it is a small fee for this second transaction though due to the 0 amount).
This way we instruct the transaction queue to cancel the original unprocessed transaction. Note that this only works for not yet processed in the blockchain transactions. Once a transaction is successful in the blockchain, it can’t be undone.
How to see your different kind of cryptos and on different blockchain networks?
Use a multi wallet crypto wallet. A more general wallet that is able to see crypto tokens that are on different blockckain protocols. For ex. Ether is an ERC-20 token. ERC-20 is the standard for Ethereum network. Upon this standard all kinds of tokens exists (from other projects in the crypto/defi space).
Other blockchains provided their own standard protocol upon which one can create the crypto assets (tokens, contracts). For example ESDT standard for Elrond network, or BEP2 on Binance’s blockchain.
You can use the keys you generated your initial wallet to import them into the new multi wallet. This way you have access to all your different crypto assets.
How to create an MSDOS boot CD and update the BIOS from it?
Sometimes on older BIOS, while upgrading the CPU, you get the message: “Patch for installed CPU not found. Please run the BIOS flash update diskette”. While on Windows, a simple flash update/microcode update won’t work directly, most of flash tools need to run in “real mode”.
While still possible to burn an MSDOS iso image file on a CD, there is sometimes need to have access, while in DOS, to additional files from a floppy/FAT file system. Most of the systems do not have a working floppy anymore nor USB friendly, nor access to a FAT partition. So here are the steps to make a suitable MSDOS boot CD with the BIOS flash/patch utility on it:
– download MSDOS 6.22 iso from Microsoft.
– install WinImage (www.winimage.com) & Nero.
– in WinImage open the ISO and save it/export (boot sector property export) to an IMA file. Open IMA again and modify format to 2.88MB. Add/inject necessary flash files to it (total size < 2.88MB). Save IMA again: you have a new image file that besides DOS boot option you have also the microcode/patch on it.
– in Nero create a new Image Recorder project with the CD Boot compilation option. Create from image file: browse/add the IMA file at Boot tab. Expert settings: Floppy emulation 2.88MB. Now press New and then Burn (at Image Recorder): this will create the NRG image compatible with Nero. This image can then be burned on a CD-R/W. Attention: disk content may not be visible on Windows! But boot from it, should work and have all files visible within the MS DOS environment.