URL and Link repository

Saturday, May 30, 2020

Dual Booting Kali Linux and Windows 10 on Spare Lenovo Laptop

Do the following on the PC or laptop that you intend to use in dual boot.
But its good idea to first practice on a disposable one.
Here is screen shot of my folder with all the necessary components.

1. Make a Kali Linux bootable USB with Kali Linux distribution.

2. Follow these instructions.

3. Hold the Shift key and click Restart from a shutdown button on your Windows desktop.

This is doing the same thing as going to Recovery Settings | Advanced Startup | Reboot | Advanced Startup

Here are my steps while following the instructions from the above links.

1. Using the USB creator program, create two USB sticks: One with a Live ISO; One with an install ISO
2. Insert the live USB stick. Then hold Shift key + Restart to boot from live usb stick
3. Run gParted from inside the live OS.
4. Resize the free unallocated space AFTER the Windows partition to approximately 100,000 mb(100GB) not 1000 mb (1GB).
5. Click apply and wait for 5 minutes or more.
6. Shut down machine and remove live USB.
7. Turn on machine into Windows and insert the install USB.
8. Then hold Shift key + Restart to boot from install usb stick.
9. Follow guided install instructions.
10. When finished remove the install USB and restart the machine.

Now one of three things should happen.

1. You get GRUB bootloader screen with option to boot either Kali or Windows.

2. You boot right back into Windows 10

3. Nothing happens

If you automatically boot into Windows 10, then you will have to SHIFT & Restart.

From the Windows "Choose and Option" panel, select "Use a device" | kali or if you want Windows boot normally.

Should #3 occur, remove the power cord from the laptop or PC, wet the socket with saliva, blow on it and then kiss your machine good bye.

If you have a successful Kali installation, you must recognize that Linux gets it programs over the internet from


This file may not have the required URLs

If that be the case, then you will need to run the following from a command line

sudo tee -a /etc/apt/sources.list≪EOF
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

Using a text editor, check /etc/apt/sources.list to make sure there are URLs.


sudo apt update

sudo apt -y upgrade
sudo systemctl reboot

Tuesday, May 26, 2020

Wednesday, May 6, 2020

More About Minecraft Server on Home Computer

Well, my client connection keeps timing out. I am trying the following options; however, it could just be my internet connection.

Tuesday, May 5, 2020

Set up Minecraft Server on Home Computer.

Host a minecraft server on your home computer that is connected to the internet and invite friends to play on your server
through the internet from their own computers.
Executive Summary:
In order to open your computer to the internet, you must first enable port forwarding on the router and then open the port in
in the firewall of the physical computer.
Detailed Steps:
1. Install Java and follow instructions to install.
2. Download the Minecraft server
3. Unzip or install what is downloaded from Minecraft. Remember what directory contains all the files.
4. Open the EULA file and change the line of text to "eula=true". Save file.
5. Open a Windows command line and type ipconfig and note the IPv4 address and the Default Gateway address.
6. Open server.properties in the downloaded Minecraft server directory.
7. Note server-port=25565, you will need this when logging into router.
8. Log into the router by entering the Default Gateway address into your browser.
9. admin, password is usually the login credentials.
10. Navigate to port forwarding and click add Virtual servers/Port Fowarding.
11. Enter 25565 for all port fields and enter the IPv4 address in the IP field.
12. Go back to Windows and locate Windows Defender Firewall.
13. Click Advanced settings.
14. Click Inbound rules | New Rule
15. Select Port, enter 25565, select TCP, allow all connections and save as Minecraft TCP
16. Click Inbound rules | New Rule
17. Select Port, enter 25565, select UDP, allow all connectinos and save as Minecraft UDP
18. Repeat steps 14 - 17 for Outbound rules.
Double click the server executable in the Minecraft Directory.
Get your computer's IP address with Whats My IP
Start the Minecraft client on another computer connected to the internet, select multiplayer, add server and type the either the IPv6 or IPv4 address.
What ever works.
Good luck.

Monday, April 27, 2020

Saturday, April 4, 2020

Data Forge Exchange

Data Forge Exchange is in the process of developing an Android app and Web app to assist market traders with a feed back loop for continuous process improvement.

Tuesday, March 3, 2020

Creating Windows 10 Reinstall USB Drive

Following this to create USB sticks to reinstall Windows 10 on all 5 of my machines

Thursday, February 20, 2020

Decoding PHP Scripts that Appear Malicious

Found a file on my server with code that starts like this:


// vC5WdW
/* amiddhRNJ */
$lFyE=YyG($lFyE, join('', $lb8GNaXS) );
} while (3>11);

Look familiar? What does it do?

Sunday, January 26, 2020

Installing and deploying Acumatica on Windows 10

Resources / Links

  • Installing PHP on Windows 10 and IIS
  • Stop Start IIS admin service
  • Start Stop Microsoft SQL server

  • Actual Text from James McCaffrey

    Installing PHP on Windows 10 and IIS

    Posted on January 26, 2017 by jamesdmccaffrey
    I’ve always liked PHP for creating dynamic Web pages. I find PHP to be much simpler than ASP.NET for some kinds of Web sites.
    However, installing PHP on a Windows machine has always been kind of a pain in the patooty. It is possible install PHP using the Microsoft Web Platform Installer, but I prefer to manually install PHP because if something
    goes wrong using the Web Installer, it’s very, very difficult to fix, but errors in a manual install are easier to track down.
    There are five basic steps to install PHP on a Windows 10 machine:
    1. Enable (if necessary) IIS on the machine, and IIS-CGI on the machine.
    2. Download and extract PHP to C:\PHP
    3. Configure the php.ini configuration file
    4. Configure IIS to handle PHP page requests
    5. Test everything
    So, here we go. My instructions are highly abbreviated and are intended for someone who has a medium amount of familiarity with Windows and IIS.
    1. Configure IIS
    Control Panel | Programs | Turn Windows features on or off
    Check Internet Information Services
    Check IIS | World Wide Web Services | Application Development Features | CGI
    2. Install the NTS (non-thread safe) 64-bit version of PHP
    Download and save onto the machine:
    Extract all the contents of the zip file to C:\PHP
    Now edit the System PATH variable so IIS knows where the PHP executables are:
    Control Panel | System and Security | System | Advanced System Settings
    Environment Variables
    System Variables | Path | Edit
    New -> C:\PHP
    Acumatica Open University 03_edit_path_variable
    3. Configure the php.ini file. This is the part you’d never figure out without some help.
    Make a copy of file C:\PHP\php.ini-development and save it as C:\PHP\php.ini
    Edit file php.ini by finding the following entries, uncomment them, and change values to:
    1. fastcgi.impersonate = 1
    2. cgi.fix_pathinfo = 0
    3. cgi.force_redirect = 0
    4. open_basedir = “C:\inetpub\wwwroot”
    5. extension_dir = “ext”
    6. error_log=”php_errors.log”
    7. uncomment the 24 Windows Extensions entries:
    Save the edited php.ini file.
    4. Configure IIS to work with PHP
    Run | inetmgr
    Handler Mappings | Add Module Mapping
    Request path: *.php
    Module: FastCgiModule (from the dropdown)
    Executable (optional): C:\PHP\php-cgi.exe
    Name: FastCGI
    OK (Yes)
    5. Test the installation and configuration
    Launch Notepad with Administrative privleges. Create a file test.php and save it at C:\inetpub\wwwroot. The contents are (I use an image because my blog software would choke on HTML text):
    Now launch a browser and navigate to
    And hopefully it works. There’s a LOT that can go wrong, but by Googling one error at a time you should eventually be able to get a Windows 10 machine with IIS to serve up PHP Web pages.

    Blog notes:
    Stop Microsoft SQL Server: SQL server 2019 connfiguration manager.
    Stop IIS | Administrative tools | IIS | Stop
    Run | inetmgr
    From a command prompt:
    Type NET STOP IISADMIN and press Enter.
    Once the service has stopped, type NET START IISADMIN and press Enter.
    Type NET START W3svc and press Enter.

    Thursday, January 16, 2020

    Failed to parse XML in AndroidManifest.xml Message: expected start or end tag

    Got the subject error in Android Studio after using Refactor | Migrate To Android X. Upon looking at the line number referenced by this message, I saw that Android Studio was highlighting a blank area that seemed to have invalid characters. Resolved this error by backspacing through all the affected XML statements and allowing the return key to format the next line.

    Widespread Augmented Reality

    Stop looking at your phone; look through it with Widespread Augmented Reality on Google Play

    Friday, January 10, 2020

    Android code - Return to App After Turning on GPS in Settings

    Use startActivityForResult from inside a Yes/No dialog box that turns on the GPS after starting the augmented reality heads up display app at www.spideronfire.com.

    This code is inside the MainActivity that checks if the GPS is turned on. If it is, then go directly to a Splash Screen. If not, then open a Yes or No dialog and proceed to the Splash Screen if Yes. Developer comments left to illustrate how I found out the return and request codes.

    if( !locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) ) {
    final AlertDialog.Builder builder = new AlertDialog.Builder(ctx);
    builder.setTitle(R.string.gps_not_found_title); // GPS not found
    builder.setMessage(R.string.gps_not_found_message); // Want to enable?
    builder.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() {
    public void onClick(DialogInterface dialogInterface, int i) {
    //1-10-20 martin changed to startActForResult to return back to app
    Intent locset = new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS);
    startActivityForResult(locset, 1);
    //1-10-20 removed by martin
    // finish();
    builder.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {
    public void onClick(DialogInterface dialogInterface, int i) {
    //1-10=20 removed by martin

    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    //Log.d("martin result code is ", Integer.toString(resultCode));
    if (resultCode == 0) {
    //Log.d("martin request code is ", Integer.toString(requestCode));
    switch (requestCode) {
    case 1:
    Intent i = new Intent(this, SplashScreen.class);

    Saturday, January 4, 2020

    What came from fucking up a tech interview with Facebook

    Having decided to focus on what I already know, I disgarded learning binary search trees, which just so happened to be the coding question asked on the technical interview with Facebook. FAIL ! Oh well, moving on, I was prompted to look into its uses and ultimately how the game Doom came into existence. This led to the concept of Binary Search Partitions. Having experimented with 3d rendering back in the 90's, I instinctively knew the rendering limitations. This YouTube video explains how gave developers overcame them. https://www.youtube.com/watch?v=yTRzfKh4Tg0

    Wednesday, January 1, 2020

    Maya - Newly released single "Quicksand"

    I would normally not post something like this, but feel compelled as I was at the hospital when she was born. https://mayamuzic.com/