New pages
Jump to navigation
Jump to search
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)
- 12:46, 31 July 2024 OctoKit (hist | edit) [134 bytes] PeterHarding (talk | contribs) (Created page with "=GitHub Support= * https://github.com/octokit * https://octokitpy.readthedocs.io/en/latest/ Category:GitHub Category:Python")
- 09:59, 31 July 2024 Swift UI - Using Padding (hist | edit) [120 bytes] PeterHarding (talk | contribs) (Created page with "=Padding= <pre> .padding() </pre> <pre> .padding(.horizontal, 50) </pre> Category:SwiftUI Category:Examples")
- 09:24, 31 July 2024 SwiftUI - Using Sliders (hist | edit) [646 bytes] PeterHarding (talk | contribs) (Created page with "=Using Sliders = See - https://developer.apple.com/documentation/swiftui/slider <pre> Slider(value: $bottomTrailing, in: 0...200, step: 5, minimumValueLabel: Text("0"), maximumValueLabel: Text("200")) {}.padding() </pre> Category:SwiftUI Category:Examples")
- 09:22, 31 July 2024 SwiftUI - Using Labels (hist | edit) [1,052 bytes] PeterHarding (talk | contribs) (Created page with "=SwiftUI Labels= See - https://developer.apple.com/documentation/swiftui/label <pre> Label("Lightning", systemImage: "bolt.fill") </pre> <pre> Label("Lightning", systemImage: "bolt.fill") .labelStyle(.titleOnly) </pre> Label Styles - .titleOnly, .iconOnly and .titleAndIcon <pre> struct RedBorderedLabelStyle: LabelStyle { func makeBody(configuration: Configuration) -> some View { Label(configuration) .border(Color.red) } } </pre> <pre...")
- 08:48, 31 July 2024 SwiftUI - Useful References (hist | edit) [747 bytes] PeterHarding (talk | contribs) (Created page with " * https://codingwithrashid.com/how-to-create-capsule-shape-in-swiftui/ Category:SwiftUI") originally created as "SwiftUI - Useful Links"
- 08:45, 31 July 2024 SwiftUI - Applying a Tap Gesture to an HStack (hist | edit) [373 bytes] PeterHarding (talk | contribs) (Created page with "= Implementing a Tap Gesture on an HStack = <pre> struct ContentView: View { var body: some View { HStack { Image(systemName: "square.fill") Text("Tap me...") } .contentShape(Rectangle()) .onTapGesture { print("HStack tapped...") } } } </pre> Category:SwiftUI Category:Examples") originally created as "SwiftUI - Clickable HStack"
- 08:42, 31 July 2024 SwiftUI - Working with Images (hist | edit) [404 bytes] PeterHarding (talk | contribs) (Created page with "=Some Examples= == Basics == <pre> Image(systemName: "globe.fill") .foregroundColor(.green) </pre> == Colour Multiplication == <pre> Image("lion") .colorMultiply(.yellow) </pre> == Applying Colour Filters == <pre> Image("lion") .hueRotation(.degrees(30)) .saturation(0.6) .contrast(2) </pre> == Next == <pre> </pre> <pre> </pre> Category:SwiftUI Category:Examples")
- 08:38, 31 July 2024 SwiftUI - Generic parameter ‘Content’ could not be inferred (hist | edit) [229 bytes] PeterHarding (talk | contribs) (Created page with " = Generic Parameter ‘Content’ Could Not Be Inferred = * https://forums.swift.org/t/why-generic-parameter-content-could-not-be-inferred-its-just-one-expression-very-simple/35923/1 Category:SwiftUI Category:Examples")
- 08:34, 31 July 2024 SwiftUI - Customize TextField Border with border Modifier (hist | edit) [339 bytes] PeterHarding (talk | contribs) (Created page with " =Customize TextField Border with border Modifier= <pre> struct ContentView: View { @State private var text = "" var body: some View { TextField("Enter text", text: $text) .padding(10) .border(Color.blue, width: 2) .padding() } } </pre> Category:SwiftUI")
- 08: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...")
- 09:40, 20 May 2023 VS Code (hist | edit) [245 bytes] PeterHarding (talk | contribs) (Created page with "=Links= * https://vscode.com/ Category:VSCode")
- 09: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")
- 09: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...")
- 09: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")
- 08:54, 20 May 2023 My Journeys (hist | edit) [161 bytes] PeterHarding (talk | contribs) (Created page with " * My Journey into Typescript Category:Typescript Category:React")
- 08: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")
- 08:27, 20 May 2023 My CRUD Applications (hist | edit) [60 bytes] PeterHarding (talk | contribs) (Created page with " React Starter Category:React Category:Typescript")
- 08: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...")
- 21:27, 17 February 2023 Guitar (hist | edit) [51 bytes] PeterHarding (talk | contribs) (Created page with " * https://youtube/FeOsATQRGi8 Category:Guitar")
- 13:34, 22 December 2022 MySQL Setup Notes (hist | edit) [33 bytes] PeterHarding (talk | contribs) (Created page with " <pre> </pre> [[Category:<MySQL]]")
- 17: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")
- 10: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")
- 09: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...")
- 09: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")
- 10: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")
- 15: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"
- 02: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")
- 01: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")
- 14: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")
- 07: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")
- 10: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")
- 19:55, 7 May 2022 FastApi (hist | edit) [51 bytes] PeterHarding (talk | contribs) (Created page with "FastAPI Category:FastAPI Category:Python")
- 19:52, 7 May 2022 Kubernetes (hist | edit) [107 bytes] PeterHarding (talk | contribs) (Created page with "=Kubenetes= Category:Kubenetes Category:Docker category:Containers")
- 13: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-...")
- 12:57, 7 May 2022 Kubernetes Notes (hist | edit) [49 bytes] PeterHarding (talk | contribs) (Created page with "* https://kubernetes.io/ Category:Kubernetes")
- 12: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...")
- 12: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")
- 08: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")
- 07: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-...")
- 06:57, 17 February 2022 SwiftUI Notes (hist | edit) [47 bytes] PeterHarding (talk | contribs) (Created page with "=Links= Category:SwiftUI Category:IOS")
- 06: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")
- 08: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")
- 08:13, 7 February 2022 Using NLTK (hist | edit) [52 bytes] PeterHarding (talk | contribs) (Created page with " =Links= * https://www.nltk.org/ Category:NLTK")
- 08: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...")
- 23: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")
- 23: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...")
- 10: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...")
- 10: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")
- 12:29, 23 October 2021 Simple Flask App (hist | edit) [153 bytes] PeterHarding (talk | contribs) (Created page with "<pre> </pre> Category:Flask")
- 06: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...")