New pages
Jump to navigation
Jump to search
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)
- 07:42, 18 December 2023 The Use of slots in Python Classes (hist | edit) [2,154 bytes] PeterHarding (talk | contribs) (Created page with "=The Use of __slots__ in a Python Class In Python, the __slots__ attribute is a mechanism that allows you to explicitly declare a set of attributes for a class. This declaration restricts the creation of new attributes in instances of that class, which can help in reducing memory overhead and improving attribute access speed. Here's a basic overview of how __slots__ works: # Memory Optimization: When you create an instance of a class, Python creates a dictionary to st...")
- 08:40, 20 May 2023 VS Code (hist | edit) [245 bytes] PeterHarding (talk | contribs) (Created page with "=Links= * https://vscode.com/ Category:VSCode")
- 08:17, 20 May 2023 Spring Boot (hist | edit) [583 bytes] PeterHarding (talk | contribs) (Created page with "=Links= * https://spring.io/ * https://spring.io/projects/spring-boot * https://www.ibm.com/topics/java-spring-boot * https://azure.microsoft.com/en-us/resources/cloud-computing-dictionary/what-is-java-spring-boot/ * https://www.baeldung.com/spring-boot-testing * * * category:Spring Boot category:Java")
- 08:13, 20 May 2023 My Gatling Journey (hist | edit) [571 bytes] PeterHarding (talk | contribs) (Created page with " https://gatling.io Gatling was being used to test a collection of SpringBoot Java applications running in AWS infrastructure. A mix of technologies were in use - https://en.wikipedia.org/wiki/Java_(programming_language) Java https://spring.io/projects/spring-boot Spring Boot, https://gradle.org/ Gradle, https://maven.apache.org/ Maven, https://www.jenkins.io/ Jenkins, https://www.docker.com/ Docker - it proved and interesting and challen...")
- 08:03, 20 May 2023 My Scala Journey (hist | edit) [289 bytes] PeterHarding (talk | contribs) (Created page with " Started from a need to use https://gatling.io Gatling for performance testing in an enterprise role with services deployed to https://aws.amazon.com AWS infrastructure. Scala:Scala Category:Java Category:JVM Category:Functional Programing")
- 07:54, 20 May 2023 My Journeys (hist | edit) [161 bytes] PeterHarding (talk | contribs) (Created page with " * My Journey into Typescript Category:Typescript Category:React")
- 07:40, 20 May 2023 My Favourite React Components (hist | edit) [211 bytes] PeterHarding (talk | contribs) (Created page with " =Some of the Highlights= * Bootstrap (migration from 4 to 5) * react-hook-form * Redux Toolkit * RTK Query * Google Map API for React) * * Category:React Category:Typescript Category:Javascript")
- 07:27, 20 May 2023 My CRUD Applications (hist | edit) [60 bytes] PeterHarding (talk | contribs) (Created page with " React Starter Category:React Category:Typescript")
- 07:10, 20 May 2023 My Typescript Journey (hist | edit) [2,822 bytes] PeterHarding (talk | contribs) (Created page with " My journey with Typescript started in 2016 with Angular2. From there it evolved through a number of Anguilar versions - 4, 6, 8.. until COVID19 rolled along and I rolled off that project. A friend and mentor had be espousing the virtues of React and so I found a React course and set to work. But then, of course, that was back into using Javascript. Some CRUD applications later and a couple of consulting engangements I found myself with enough doentime to revisit my...")
- 20:27, 17 February 2023 Guitar (hist | edit) [51 bytes] PeterHarding (talk | contribs) (Created page with " * https://youtube/FeOsATQRGi8 Category:Guitar")
- 12:34, 22 December 2022 MySQL Setup Notes (hist | edit) [33 bytes] PeterHarding (talk | contribs) (Created page with " <pre> </pre> [[Category:<MySQL]]")
- 16:32, 17 December 2022 Motivational Modelling Infrastructure (hist | edit) [510 bytes] PeterHarding (talk | contribs) (Created page with "= Team MM = Block storage key - dop_v1_5891e0ce0c3a41c52489dad92461f6519a826cc828213c595d4e3e60a7009d29 - https://cloud.digitalocean.com/account/api/tokens?i=0e1505 Category:Infrastructure Category:DigitalOcean Category:MM Category:Leon Sterling")
- 09:33, 11 December 2022 Useful Swift Videos (hist | edit) [215 bytes] PeterHarding (talk | contribs) (Created page with " * [https://www.hackingwithswift.com/books/ios-swiftui/understanding-frames-and-coordinates-inside-geometryreader Understanding frames and coordinates inside GeometryReader] Category:Swift Category:SwiftUI")
- 08:21, 11 December 2022 Swift Snippets (hist | edit) [5,393 bytes] PeterHarding (talk | contribs) (Created page with " * https://stackoverflow.com/questions/59635971/show-nsmenu-only-on-nsstatusbarbutton-right-click <pre> func applicationDidFinishLaunching(_ aNotification: Notification) { statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) statusItem.button?.action = #selector(onClick) statusItem.button?.sendAction(on: [.leftMouseUp, .rightMouseUp]) menu = NSMenu() menu.addItem(NSMenuItem(title: "Quit", ac...")
- 08:08, 23 November 2022 Terraform Notes (hist | edit) [307 bytes] PeterHarding (talk | contribs) (Created page with " * https://developer.hashicorp.com/terraform/tutorials/configuration-language/locals?utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS Category:Terraform")
- 09:37, 30 October 2022 Web Front-end Frameworks (hist | edit) [531 bytes] PeterHarding (talk | contribs) (Created page with " Some Common Frameworks * Bootstrap - https://getbootstrap.com/ - (Twitter) * Semantic UI - https://react.semantic-ui.com/ - (???) * Material Design - https://m3.material.io/ - (Google) * material-UI - https://mui.com/ https://mui.com/material-ui/getting-started/overview/ - (???) * BaseWeb - https://baseweb.design - (Uber) Category:React Category:WebDev")
- 14:59, 21 August 2022 Using the Linux LVM (hist | edit) [4,448 bytes] PeterHarding (talk | contribs) (Created page with " <pre> lvremove option LV lvscan </pre> <pre> u# lvm lvm> lvmdiskscan /dev/loop0 [ 61.96 MiB] /dev/loop1 [ <79.95 MiB] /dev/sda1 [ <1.05 GiB] /dev/loop2 [ 46.96 MiB] /dev/sda2 [ 2.00 GiB] /dev/loop3 [ <61.96 MiB] /dev/sda3 [ <462.71 GiB] LVM physical volume /dev/loop4 [ <43.86 MiB] /dev/sdb [ <27.96 GiB] 1 disk 7 partitions 0 LVM physical volume whole disks 1 LVM physical volume lvm> lvm> pvdispla...") originally created as "Using the Lunix LVM"
- 01:35, 8 July 2022 Getting Started with CoreData (hist | edit) [1,551 bytes] PeterHarding (talk | contribs) (Created page with "=Initial Thoughts= Create a new SwiftUI app selecting the uses CodeData option and then define some schema. In this case I plan to derive from the USGS Earthquake monthly summary data =Links= * * * Category:CoreData Category:IOS Category:Apple Category:Database")
- 00:42, 8 July 2022 Xcode Use of Info.plist (hist | edit) [243 bytes] PeterHarding (talk | contribs) (Created page with "It has changed * https://useyourloaf.com/blog/xcode-13-missing-info.plist/ * https://betterprogramming.pub/info-plist-is-missing-in-xcode-13-heres-how-to-get-it-back-1a7abf3e2514 Category:Apple Category:Xcode Category:Development")
- 13:50, 5 July 2022 Apple Examples (hist | edit) [583 bytes] PeterHarding (talk | contribs) (Created page with " * https://developer.apple.com/documentation/audiotoolbox/audio_converter_services/encoding_and_decoding_audio * * * Category:Apple Category:Examples")
- 06:12, 2 July 2022 Earthquake Example App (hist | edit) [180 bytes] PeterHarding (talk | contribs) (Created page with " Where did I find this? WWDC2015 code samples? Category:Apple Category:IOS")
- 09:18, 5 June 2022 Using Python datetime with Timezones (hist | edit) [4,181 bytes] PeterHarding (talk | contribs) (Created page with " =Explicit Numerical Offsets from UTC= <pre> from datetime import datetime, timezone dt = datetime.now() # This is a naive datetime value print(dt.isoformat()) print(dt.tzinfo) # Cast this as UTC dt = dt.replace(tzinfo=timezone.utc) # Define the offset offset = "+1000" # Convert as so... tz_aware_dt = dt.astimezone(datetime.strptime(offset, "%z").tzinfo) print(tz_aware_dt.isoformat()) </pre> Category:Python Category:datetime Category:EXamples")
- 18:55, 7 May 2022 FastApi (hist | edit) [51 bytes] PeterHarding (talk | contribs) (Created page with "FastAPI Category:FastAPI Category:Python")
- 18:52, 7 May 2022 Kubernetes (hist | edit) [107 bytes] PeterHarding (talk | contribs) (Created page with "=Kubenetes= Category:Kubenetes Category:Docker category:Containers")
- 12:39, 7 May 2022 Using Okta with FastAPI (hist | edit) [4,683 bytes] PeterHarding (talk | contribs) (Created page with " <pre> # ----------------------------------------------------------------------------- # Okta Login # ----------------------------------------------------------------------------- okta_config = { "auth_uri": "https://dev-xxxx.okta.com/oauth2/default/v1/authorize", "client_id": "xxxx", "client_secret": "xxxx-", "redirect_uri": "http://127.0.0.1:8000/authorization-code/callback", "issuer": "https://dev-xxxx.okta.com/oauth2/default", "token_uri": "https://dev-...")
- 11:57, 7 May 2022 Kubernetes Notes (hist | edit) [49 bytes] PeterHarding (talk | contribs) (Created page with "* https://kubernetes.io/ Category:Kubernetes")
- 11:28, 7 May 2022 FastAPI Sessions (hist | edit) [2,461 bytes] PeterHarding (talk | contribs) (Created page with "Not sure where this came from - shoul dhave captured the link. <pre> # ============================================================================= # Session setup # ----------------------------------------------------------------------------- class SessionData(BaseModel): username: str cookie_params = CookieParameters() # Uses UUID cookie = SessionCookie( cookie_name="cookie", identifier="general_verifier", auto_error=True, secret_key="DONOTUSE...")
- 11:55, 26 March 2022 3D Imaging Notes (hist | edit) [136 bytes] PeterHarding (talk | contribs) (Created page with " * https://www.codeproject.com/Articles/1182854/D-Face-Viewer-and-Matcher Category:Imaging Category:3D Category:Development")
- 07:42, 28 February 2022 Useful iOS Articles (hist | edit) [160 bytes] PeterHarding (talk | contribs) (Created page with " * https://sarunw.com/posts/new-way-to-style-uibutton-in-ios15/ * https://mongodb.com/developer/how-to/realm-ios15-swiftui Category:IOS Category:Apple")
- 06:05, 17 February 2022 SwiftUI Menus (hist | edit) [4,195 bytes] PeterHarding (talk | contribs) (Created page with "=Links= * https://stackoverflow.com/questions/57241409/is-there-a-way-to-open-a-contextmenu-in-swiftui-with-a-normal-touch * https://stackoverflow.com/questions/69822148/how-...")
- 05:57, 17 February 2022 SwiftUI Notes (hist | edit) [47 bytes] PeterHarding (talk | contribs) (Created page with "=Links= Category:SwiftUI Category:IOS")
- 05:55, 17 February 2022 UNIX Philosophy (hist | edit) [226 bytes] PeterHarding (talk | contribs) (Created page with "Found this really interesting link yesterday - https://homepage.cs.uri.edu/~thenry/resources/unix_art/index.html Category:UNIX Category:History")
- 07:16, 7 February 2022 Wireless Notes (hist | edit) [148 bytes] PeterHarding (talk | contribs) (Created page with " =Links= * https://globe.adsbexchange.com/ * https://opencpn.org/OpenCPN/info/downloads.html * https://store.uputronics.com/ Category:Security")
- 07:13, 7 February 2022 Using NLTK (hist | edit) [52 bytes] PeterHarding (talk | contribs) (Created page with " =Links= * https://www.nltk.org/ Category:NLTK")
- 07:12, 7 February 2022 Python Web Server (hist | edit) [1,085 bytes] PeterHarding (talk | contribs) (Created page with "=Simple= <pre> # Python 3 server example from http.server import BaseHTTPRequestHandler, HTTPServer import time hostName = "localhost" serverPort = 8080 class MyServer(Base...")
- 22:14, 31 January 2022 React Datatable Notes (hist | edit) [97 bytes] PeterHarding (talk | contribs) (Created page with " * https://react-data-table-component.netlify.app/?path=/docs/api-props--page Category:React")
- 22:09, 31 January 2022 GitLab CI/CD (hist | edit) [1,403 bytes] PeterHarding (talk | contribs) (Created page with "=Runners= ==Tokens== Registration tokens are used to create runner tokens. The former are available at instance, group and project level so you may share runners across the...")
- 09:33, 4 December 2021 Swift Examples (hist | edit) [1,387 bytes] PeterHarding (talk | contribs) (Created page with "=Links= * https://developer.apple.com/documentation/photokit/creating_a_slideshow_project_extension_for_photos =Projects= * * * Category:Developmenmt Category:Sw...")
- 09:20, 4 December 2021 3D Modelling (hist | edit) [771 bytes] PeterHarding (talk | contribs) (Created page with "=Links= * [https://www.youtube.com/watch?v=hTfmtiz9qSI Houdini 19 Launch Reveal] * Animallab Category:3D Modelling Category:Development")
- 11:29, 23 October 2021 Simple Flask App (hist | edit) [153 bytes] PeterHarding (talk | contribs) (Created page with "<pre> </pre> Category:Flask")
- 05:52, 17 October 2021 Miscellaneous Links (hist | edit) [2,326 bytes] PeterHarding (talk | contribs) (Created page with "=2015-07-24= * http://stackoverflow.com/questions/29010715/c-sharp-listening-for-physical-scan-button-events-on-scanners * http://www.florian-leitner.de/index.php/projects/us...")
- 05:50, 17 October 2021 Interesting Website Examples (hist | edit) [135 bytes] PeterHarding (talk | contribs) (Created page with " * http://archives.newyorker.com/?i=1994-04-11#folio=CV1 * http://www.newyorker.com/jigsaw Category:Examples Category:InfoInfo")
- 05:49, 17 October 2021 Java File IO (hist | edit) [2,081 bytes] PeterHarding (talk | contribs) (Created page with " Some examples from - http://stackoverflow.com/questions/326390/how-to-create-a-java-string-from-the-contents-of-a-file <pre> private String readFile( String file ) throws IO...")
- 05:45, 17 October 2021 REST in iOS (hist | edit) [153 bytes] PeterHarding (talk | contribs) (Created page with " * https://www.youtube.com/watch?v=KDgI-sFW7wQ REST API In Swift 3 And Xcode 8 Using URLSession And JSONSerialization Category:IOS Category:REST")
- 05:45, 17 October 2021 Working With NIB Files (hist | edit) [196 bytes] PeterHarding (talk | contribs) (Created page with " To access from a playground place the '.nib' file in the Resources directory. To generate a '.nib' file from a '.xib' file: <pre> ibtool input.xib --compile output.nib </pr...")
- 05:44, 17 October 2021 Visual FoxPro Resources (hist | edit) [129 bytes] PeterHarding (talk | contribs) (Created page with " * http://members.iinet.net.au/~angus/foxpro/ * http://atrey.karlin.mff.cuni.cz/~honza/interests.html Category:Visual FoxPro")
- 05:39, 17 October 2021 TeX Mathematics (hist | edit) [4,570 bytes] PeterHarding (talk | contribs) (Created page with " The classic Mathematics into Type, by Ellen Swanson (the AMS has made a PDF copy available [ftp://ftp.ams.org/pub/author-info/documentation/howto/mit-2.pdf here]), gives a go...")
- 05:39, 17 October 2021 C-Sharp - FolderDialog Issues (hist | edit) [6,417 bytes] PeterHarding (talk | contribs) (Created page with " The Browser Folder Dialog in ASP.NET 1.1 allows you to select a folder. There is a property, RootFolder, that allows you to select what folder is the root in the dialog. Th...")
- 05:38, 17 October 2021 USB Programming Notes (hist | edit) [194 bytes] PeterHarding (talk | contribs) (Created page with " * http://stackoverflow.com/questions/28940754/how-to-get-signals-from-a-scanner-connected-over-usb * http://www.florian-leitner.de/index.php/projects/usb-hid-driver-library/...")
- 05:37, 17 October 2021 Programming USB HID Devices (hist | edit) [415 bytes] PeterHarding (talk | contribs) (Created page with "=USB HID development in C#= * http://www.florian-leitner.de/index.php/projects/usb-hid-driver-library/ * http://www.florian-leitner.de/index.php/category/csharp/#usb-stuff *...")