• Add Git Bash to Windows

    If you’re after using a bash prompt then I’d suggest using; https://git-scm.com/download/win Once installed, you can open a bash prompt just by doing Start->git bash

  • Removing the Debug Banner from a Flutter app

    The debug banner is added by MaterialApp. If you simply add a “debugShowCheckedModeBanner: false” to MaterialApp then the banner will be removed. e.g.

  • Useful Flutter Commands

    Quick list of Flutter commands. I’ll keep adding to this as I think of them… flutter doctor This does a health check on your flutter installation and checks that everything is set up as it’s supposed to be. It’ll flag problems and will usually give instructions on how to solve those problems If you want…

  • Set up Visual Studio Code for use with Flutter

    Install Visual Studio Code. Go here for the installer; https://code.visualstudio.com/ Click the “Download for Windows” (I’m assuming you’re using Windows) When the installer finishes downloading then run it. Agree to the terms and conditions (if you agree with them) and click “Next” Select the install location (I leave it at the defaults) and click “Next”…

  • Installing Flutter

    Go to https://docs.flutter.dev/get-started/install and select the OS that works for you I’m working with Windows so I’ll step through what’s needed for that Download the Flutter SDK by clicking the “flutter_windows_3.3.7-stable.zip” or whatever version it’s up to by the time you read this (approx 820MB) Extract to c:\src Add the c:\src\flutter\bin folder to your path…

  • Iterating a C++ std::list

    Set up a list to store pointers to a “Points” class… list<Point*> m_pointList; Add to the list… Point* p = new Point(x, y);m_pointList.push_back(p); Then iterate the list using this… std::list<Point*>::iterator it = m_pointList.begin(); while (it != m_pointList.end()) { Point* p = *it; // do something with the Point here! it++; } …or, if you’d prefer…

  • Adding to a C++ std::list

    So, I define a std::list to store pointers to a “Point” class as follows… list<Point*> m_pointList; If I then want to add to the list I do… Point* p = new Point(x, y);m_pointList.push_back(p);

  • Installing CUDA

    Here’s the process for installing CUDA. I’m installing version 11.4 update 2, but the process has been the same for a while now. Go to the CUDA SDK download page here 2. Select the OS. As you select content, more buttons will appear to narrow the download content so it’s specific to your device. When…

  • Adding a Display Capture to OBS

    I recently did a quick overview of how to install OBS here. The process to add display capture is as follows: – Click the “+” button in the “Sources” area 2. Select “Display Capture” in the list that pops up 3. Under “Create new” accept the default or name your display as you’d like and…

  • Adding a webcam to OBS

    I did a quick overview of how to install OBS here. If you’d like to add a webcam to that install then here’s how you do it… Click on the “+” in the “Sources” area. 2. Select “Video Capture Device” 3. In the “Create new” textbox enter “Webcam” (or whatever you want to call it)…