User contributions for PeterHarding
Jump to navigation
Jump to search
- 19:41, 5 June 2022 diff hist −1 Using Python datetime with Timezones
- 19:38, 5 June 2022 diff hist +425 Using Python datetime with Timezones
- 19:31, 5 June 2022 diff hist +1,579 Using Python datetime with Timezones
- 09:23, 5 June 2022 diff hist +84 Using Python datetime with Timezones
- 09:19, 5 June 2022 diff hist +24 Using Python datetime with Timezones
- 09:18, 5 June 2022 diff hist +473 N Using Python datetime with Timezones 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 diff hist +37 N Category:FastAPI Created page with "FastAPI link, notes and references..." current
- 18:55, 7 May 2022 diff hist +51 N FastApi Created page with "FastAPI Category:FastAPI Category:Python" current
- 18:54, 7 May 2022 diff hist +37 N Category:Containers Created page with "Container links, notes and references" current
- 18:54, 7 May 2022 diff hist +28 Kubernetes
- 18:52, 7 May 2022 diff hist +79 N Kubernetes Created page with "=Kubenetes= Category:Kubenetes Category:Docker category:Containers"
- 12:40, 7 May 2022 diff hist −1 Using Okta with FastAPI current
- 12:39, 7 May 2022 diff hist +4,684 N Using Okta with FastAPI 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 diff hist +41 N Category:Kubernetes Created page with "Kubernetes links, notes and references..." current
- 11:57, 7 May 2022 diff hist +49 N Kubernetes Notes Created page with "* https://kubernetes.io/ Category:Kubernetes" current
- 11:56, 7 May 2022 diff hist +1 Main Page →Some Areas of Interest current
- 11:56, 7 May 2022 diff hist +30 Main Page →Some Areas of Interest
- 11:29, 7 May 2022 diff hist +39 N Category:FastApi Created page with "FastApi links, notes and refereences..." current
- 11:28, 7 May 2022 diff hist +2,461 N FastAPI Sessions 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..." current
- 11:55, 26 March 2022 diff hist +136 N 3D Imaging Notes Created page with " * https://www.codeproject.com/Articles/1182854/D-Face-Viewer-and-Matcher Category:Imaging Category:3D Category:Development" current
- 11:51, 26 March 2022 diff hist +16 React Notes current
- 11:51, 26 March 2022 diff hist +60 React Notes
- 11:48, 26 March 2022 diff hist +2 React Notes
- 11:48, 26 March 2022 diff hist +1 React Notes
- 11:47, 26 March 2022 diff hist +150 React Notes
- 07:42, 28 February 2022 diff hist +160 N Useful iOS Articles 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" current
- 11:52, 17 February 2022 diff hist +129 SwiftUI Menus current
- 07:00, 17 February 2022 diff hist −35 SwiftUI Menus
- 06:59, 17 February 2022 diff hist +31 SwiftUI Menus
- 06:58, 17 February 2022 diff hist +59 SwiftUI Menus
- 06:57, 17 February 2022 diff hist +3,553 SwiftUI Menus
- 06:05, 17 February 2022 diff hist +458 N SwiftUI Menus 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:03, 17 February 2022 diff hist +20 XCode Notes current
- 06:01, 17 February 2022 diff hist +50 XCode Notes
- 06:01, 17 February 2022 diff hist −50 XCode Notes
- 05:59, 17 February 2022 diff hist +44 XCode Notes
- 05:59, 17 February 2022 diff hist −195 XCode Notes
- 05:57, 17 February 2022 diff hist +38 N Category:SwiftUI Created page with "SwiftUI notes, links and references..." current
- 05:57, 17 February 2022 diff hist +47 N SwiftUI Notes Created page with "=Links= Category:SwiftUI Category:IOS" current
- 05:56, 17 February 2022 diff hist +74 UNIX Philosophy current
- 05:55, 17 February 2022 diff hist +152 N UNIX Philosophy 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 diff hist +148 N Wireless Notes Created page with " =Links= * https://globe.adsbexchange.com/ * https://opencpn.org/OpenCPN/info/downloads.html * https://store.uputronics.com/ Category:Security" current
- 07:14, 7 February 2022 diff hist +47 N Category:NLTK Created page with "Natural Lannguge links, references and notes..." current
- 07:13, 7 February 2022 diff hist +52 N Using NLTK Created page with " =Links= * https://www.nltk.org/ Category:NLTK" current
- 07:12, 7 February 2022 diff hist +1,085 N Python Web Server Created page with "=Simple= <pre> # Python 3 server example from http.server import BaseHTTPRequestHandler, HTTPServer import time hostName = "localhost" serverPort = 8080 class MyServer(Base..." current
- 22:19, 31 January 2022 diff hist +53 GitLab CI/CD current
- 22:18, 31 January 2022 diff hist +166 GitLab CI/CD
- 22:17, 31 January 2022 diff hist +63 GitLab CI/CD
- 22:16, 31 January 2022 diff hist +44 GitLab CI/CD
- 22:15, 31 January 2022 diff hist +43 GitLab CI/CD
- 22:14, 31 January 2022 diff hist +97 N React Datatable Notes Created page with " * https://react-data-table-component.netlify.app/?path=/docs/api-props--page Category:React" current
- 22:14, 31 January 2022 diff hist +193 GitLab CI/CD
- 22:11, 31 January 2022 diff hist +69 GitLab CI/CD
- 22:10, 31 January 2022 diff hist +33 N Category:CI/CD Created page with "CI/CD links, references and notes" current
- 22:10, 31 January 2022 diff hist +34 N Category:GitLab Created page with "GitLab links, references and notes" current
- 22:09, 31 January 2022 diff hist +772 N GitLab CI/CD 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..."
- 11:23, 4 December 2021 diff hist +473 Swift Examples current
- 09:37, 4 December 2021 diff hist +42 Swift Examples
- 09:37, 4 December 2021 diff hist +130 Swift Examples
- 09:36, 4 December 2021 diff hist +52 Swift Examples
- 09:34, 4 December 2021 diff hist +284 Swift Examples
- 09:33, 4 December 2021 diff hist +207 Swift Examples
- 09:33, 4 December 2021 diff hist +199 N Swift Examples Created page with "=Links= * https://developer.apple.com/documentation/photokit/creating_a_slideshow_project_extension_for_photos =Projects= * * * Category:Developmenmt Category:Sw..."
- 09:27, 4 December 2021 diff hist +116 3D Modelling
- 09:26, 4 December 2021 diff hist +257 3D Modelling
- 09:21, 4 December 2021 diff hist +66 3D Modelling
- 09:20, 4 December 2021 diff hist +146 N 3D Modelling Created page with "=Links= * [https://www.youtube.com/watch?v=hTfmtiz9qSI Houdini 19 Launch Reveal] * Animallab Category:3D Modelling Category:Development"
- 11:36, 23 October 2021 diff hist +119 Simple Flask App current
- 11:29, 23 October 2021 diff hist +34 N Simple Flask App Created page with "<pre> </pre> Category:Flask"
- 05:52, 17 October 2021 diff hist +2,326 N Miscellaneous Links 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..." current
- 05:50, 17 October 2021 diff hist +135 N Interesting Website Examples Created page with " * http://archives.newyorker.com/?i=1994-04-11#folio=CV1 * http://www.newyorker.com/jigsaw Category:Examples Category:InfoInfo" current
- 05:49, 17 October 2021 diff hist +2,081 N Java File IO 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..." current
- 05:48, 17 October 2021 diff hist +100 OCR Notes current
- 05:45, 17 October 2021 diff hist +153 N REST in iOS 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" current
- 05:45, 17 October 2021 diff hist +196 N Working With NIB Files 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..." current
- 05:44, 17 October 2021 diff hist +129 N Visual FoxPro Resources Created page with " * http://members.iinet.net.au/~angus/foxpro/ * http://atrey.karlin.mff.cuni.cz/~honza/interests.html Category:Visual FoxPro" current
- 05:39, 17 October 2021 diff hist +4,570 N TeX Mathematics 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..." current
- 05:39, 17 October 2021 diff hist +6,417 N C-Sharp - FolderDialog Issues 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..." current
- 05:38, 17 October 2021 diff hist +194 N USB Programming Notes 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/..." current
- 05:37, 17 October 2021 diff hist +415 N Programming USB HID Devices 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 *..." current
- 05:36, 17 October 2021 diff hist +6,550 N DynamsoftDotNetTwain FAQ Created page with " Programming Questions 1. How can I acquire black-white images? <pre> Twain1.OpenSource(); Twain1.IfShowUI = false; Twain1.IfDisableSourceAfterAcquire = true; Twain1.PixelTy..." current
- 05:35, 17 October 2021 diff hist +1,325 N Angular Courses Created page with "=Observations= The problem with the courses available is that, because of the rapid evolution of Angular, course material date quickly as they use approaches and components w..." current
- 05:34, 17 October 2021 diff hist +143 N Angular Exercises Created page with " * http://stackoverflow.com/questions/35340062/angular2-multiselect-checkboxes-only-latest-selected-values-is-getting-sub Category:Angular" current
- 05:33, 17 October 2021 diff hist +4,493 N Angular Stuff Created page with "=Misc Documentation= ==Angular2 Links== * http://juristr.com/blog/2016/06/ng2-getting-started-for-beginners/ * http://blog.thoughtram.io/angular/2016/06/14/routing-in-angula..." current
- 05:32, 17 October 2021 diff hist +1,839 N Mucking around with ng-cli Created page with " <pre> C:\src\Angular\plh01>cd tstr C:\src\Angular\plh01\tstr>npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\fsevents): npm WARN not..." current
- 05:31, 17 October 2021 diff hist +999 N Angular Notes - Old Created page with "=Getting across Angular= Angular2 -> Angular ==Links== Here where various source code lives: * https://github.com/angular ===Using the CLI=== * https://cli.angular.io/..." current
- 05:30, 17 October 2021 diff hist +113 N Angular - Implementing a Tab Component Created page with " * http://juristr.com/blog/2016/02/learning-ng2-creating-tab-component/ Category:Angular Category:WebDev" current
- 05:29, 17 October 2021 diff hist +119 N Angular Router Created page with " * https://medium.com/@blacksonic86/upgrading-to-the-new-angular-2-router-255605d9da26#.hx54qzv4y Category:Angular" current
- 05:29, 17 October 2021 diff hist +1,962 N Angular Experiments Created page with "Here is another go at implementing a simple Auth0 authenticated app <pre> > ng new Routes > cd Routes > npm install font-awesome --save > npm install auth0-lock --save > npm..." current
- 05:28, 17 October 2021 diff hist +72 N Telerik Notes Created page with " * https://github.com/DynamsoftRD?tab=repositories Category:Telerik" current
- 05:27, 17 October 2021 diff hist +1,629 N Handling Scanner Button Actions Created page with "I want to be able to respond programatically to the button on my Canon DR-M160 scanner. Here is the results of the initial research conducted. * http://scanbuttond.sourcefor..." current
- 05:26, 17 October 2021 diff hist +94 N Online Barcode Generators Created page with " * http://barcode.tec-it.com/ * http://www.qrcode-monkey.com/ QR Codes Category:Barcodes" current
- 05:25, 17 October 2021 diff hist +85 N Barcode Generators Created page with " * http://barcode.tec-it.com/ * http://www.qrcode-monkey.com/ Category:Barcodes" current
- 05:24, 17 October 2021 diff hist +244 N Interesting Barcode Documents Created page with "=Documents= * http://www.tec-it.com/download/PDF/Barcode_Reference_EN.pdf =Articles= * http://twainscanning.com/can-your-mobile-read-this-barcode/ * http://twainscanning.c..." current
- 05:24, 17 October 2021 diff hist +262 N QR Code Links Created page with "=Links= * http://twainscanning.com/can-your-mobile-read-this-barcode/ * http://www.qrcode-monkey.com/ * http://www.zazzle.com/aileron_code_autosticker_car_bumper_sticker-1281..." current
- 05:23, 17 October 2021 diff hist +1,448 N Barcode References Created page with "=Links= * https://en.wikipedia.org/wiki/Barcode * https://github.com/bwipp/postscriptbarcode Barcode Writer in Pure PostScript * https://github.com/metafloor/bwip-js Barcode..." current
- 05:21, 17 October 2021 diff hist +2,780 N Configure Snort to Log Packets to MySQL Created page with "Vincent Danen, TechRepublic Last week, we looked at setting up Snort (http://cgi.cnet.com.au/link/?id=22018), a Network Intrusion Detection System. Now we will look at conf..." current
- 05:19, 17 October 2021 diff hist +6,446 N Add Meaning to Web Pages with Microformats Created page with "Article by Tony Patton, TechRepublic One thing that makes the Web so interesting is that it's constantly changing, as new technologies and techniques are introduced on an alm..." current
- 05:18, 17 October 2021 diff hist +8,771 N Moving to CSS-based Layouts with the YUI Library Created page with "<i>by Tony Patton, TechRepublic</i> While initiating a recent project to make substantial changes to an existing Web application, it was decided to dump the table-based layou..." current
- 05:13, 17 October 2021 diff hist +740 N CSharp Musings Created page with " * [https://msdn.microsoft.com/en-us/library/6hws6h2t.aspx Developing Custom Windows Forms Controls with the .NET Framework] * [http://www.codeplex.com/wikipage?ProjectName=Cu..." current