top of page
  • Writer: VC Healy
    VC Healy
  • Jan 11, 2021
  • 1 min read

Written my first C# console app.

I had found a simple single calculation console app and I have enhanced it to allow the user to complete multiple transactions.


It took a little bit of time to get it working as I had to do some research on how to add in the other functionality.


https://github.com/vchealy/fromScratch/tree/master/Calculator_C%23

 
 
  • Writer: VC Healy
    VC Healy
  • Jan 5, 2021
  • 2 min read

After installing a variety of Linux Distros I found that the EFI partition was filling up.

After a bit of research and figuring out how to access the EFI partition, I was able to determine there was a lot of leftover files from the various Distros I had tried.


Here is what I did to clear up all of this dross.


I tried a couple of partition managers but found they fell short of what I wanted them to do.

So I stopped wasting my day with this.


Time to open up the console in Administrator mode. (I use Powershell)

This brings the prompt to

C:\WINDOWS\system32


Time to use commands


diskpart

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/diskpart

This brings you to the DISKPART> prompt



list disk // As the name suggests this command will list all of the drives


sel disk 0 // The main drive is 0 and this is where the EFI partition should be


This message should now be echoed

Disk 0 is now the selected disk.


Now to find out the volumes on this disk

list vol // Gives a list of volumes on drive 0


The EFI volume will be one of the FAT32 partitions, on mine, there were two but the second was labeled as a recovery partition. So it was a simple choice to select the correct partition


sel vol 3


To make things a little easier, I assigned a letter to this partition, choosing the first letter available after C:

assign letter=D:


That's me finished with DISKPART so it is time to exit

exit


and back to C:\WINDOWS\system32 and switch to the EFI volume now

cd D:


ls // Yes, it's the *nix command to list the files on the volume and not dir


Now, as I was clearing out all of the Linux dross, I found a grub folder and other Linux files here. I removed these with...


rmdir **folderName**

rm **fileName**


Remember that autocomplete is available, type in the first few letters of a filename and press Tab to auto-complete.

Now into the EFI folder

cd EFI


ls


I found a variety of folders kali, Debian, Linux, MX19, Manjero, systemd. All from the old distros I had tried. So once again time to clear out these.


rmdir **folderName**

rm **fileName**


The two folders not to touch from what I know are Microsoft and Boot.


That got me back to where I wanted to be. I hope it helps you but do your own research before you start

 
 
  • Writer: VC Healy
    VC Healy
  • Dec 28, 2020
  • 1 min read

Today I completed this Udemy course.


Six hours with a mix of lectures and assignments to complete.

Some of it was *nix based as it went some basic terminal commands.


In the main, the teaching is some base training for interview questions, with examples in Python.


Although aimed at the new coder, it wasn't too heavy on the usual 'this is a variable, this is a list' tediously lengthy sections that cause the brain to switch off for those already familiar with the basics of any coding language.


Would I recommend it to someone? Yes, but if you don't have access to a Mac/*nix machine and haven't used them, then I suggest you read up a bit on the topics in the course that use this.




 
 

© 2020 by Vincent Healy. Proudly created with Wix.com

bottom of page