Categories

  • unix
  • ci
  • slack
  • mobile
  • docker
  • jenkins
  • android
  • go
  • code
  • javascript
  • todo
  • json
  • markdown
  • cloud
  • azure
  • python

  • Posts

    <h2> Welcome to Jekyll! </h2> You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve,…
    Posted on 23 May 2016

    <h2> Getting Jenkins and Jenkins Job Builder running </h2> > ‘borrowed’ from JJ Asghar After [Nick Silkey][nick] mentioned about the [Jenkins Job builder][jjb] on the [Chef-Openstack Foodfight show][foodfight], or the jjb for short, I started to look around for a how-to on starting from scratch. The [typical documentation][google] is…
    Posted on 03 Jan 2016

    <h2> How do I create a Mac USB boot disk </h2> > ‘borrowed’ from JJ Asghar I’ve been installing Linux from my laptop on hardware for a while now. I can never remember how to do it, so I keep googling for this. Being I like distilling information down to the…
    Posted on 07 Jan 2015

    <h2> git rebase and git detached head cheat sheet </h2> > ‘borrowed’ from JJ Asghar ## git rebasing or fixing an auto merge conflict In my adventures with openstack and gerrit reviews I sometimes see something to the effect of: Patch in Merge Conflict This makes me very sad. I…
    Posted on 13 Oct 2014

    <h2> zsh - a new shell </h2> Destined to become the default shell in macOS (from Catalina) [[The default shell is now zsh]].

    Installation

    sudo dscl . -create /Users/$USER UserShell /bin/zsh
    Posted on 01 Jan 1970

    <h2> yq </h2> > grep for YAML NOTE: V4 has vastly changed command line semantics. cf - [[yaml]] - pxi - [[jq]] grep for JSON ## Installation brew install yq TODO: I need to document this. Looks like yq is the YAML jq
    Posted on 01 Jan 1970

    <h2> YAML </h2> > Yet Another Markup Language See yq —- A superset of [[JSON]], with comments! Also see [[TOML]] and HCL * TODO: Document this * LEARN: Because of [[Ansible]]. [[Octopus Deploy]] & [[azure_devops_pipelines]] * Some questions have been raised about it’s…
    Posted on 01 Jan 1970

    <h2> XSD </h2> XML, defined in XML. ## XSD Generation * XSD/XML Schema Generator ## How to write a XSD Although I’ve created XSD’s from grammers for most basic XML schema’s it’s actually easier to create an XSD manually from scratch! Start with…
    Posted on 01 Jan 1970

    <h2> Converting XML to JSON </h2> C# and .net are a very XML oriented technology suite (Hello .net), however HTML5 apps aren’t. Unfortunatly there is no direct translation which can be successfully applied between the two formats. JSON lacks attributes (a=b) and multiple objects (See ``…
    Posted on 01 Jan 1970

    <h2> XML </h2> * Converting XML to JSON * XSD # XSD Generation * XSD/XML Schema Generator # Links * How to derive DTD (or other XML spec format) from XML file samples * Create an XML Schema from an XML Document *…
    Posted on 01 Jan 1970

    <h2> xctool Command Line Building from Facebook </h2> c.f.

    NOTE xctool is not supported under Xcode 8.

    xctool

    {% gist ad9036fd7eb4d315e714bff745c33f7f %}
    Posted on 01 Jan 1970

    <h2> XCTest UI - Command Line UI Testing </h2> Note to be confused with XCTest - the unit test framework.

    Handled via fastlane’s scan.

    ...
    ``` <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/xctest"><h2> XCTest - Command Line Unit Test </h2></a> ## Links_ - Not forgetting Facebook's [`xctool.sh`](./xctool), which replaces `xcodebuild`. - [Bluepill](https://engineering.linkedin.com/blog/2017/01/open-sourcing-bluepill--run-ios-tests-in-multiple-simulators) from LinkedIn # Resources - An [overview](http://masilotti.com/ui-testing-xcode-7) of UI testing in Xcode 7 - WWDC 2015 [session 406](https://developer.apple.com/videos/wwdc/2015/?id=406), UI Testing in Xcode. - [XCTestCase](http://masilotti.com/xctest-documentation/Classes/XCTestCase.html) Class Reference - [How... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/xcode_issues"><h2> Xcode 8 Fastlane Build Issues </h2></a> TL;DR Xcode 8 breaks code signing in [`Fastlane`](./fastlane). * http://blog.benjamin-encz.de/post/broken-toolchain/ * http://blog.bitrise.io/2016/09/21/xcode-8-and-automatic-code-signing.html To reproduce. ## Logon to CI Server `ssh -Y ci@10.200.35.64` ## Look at latest `iOS-CheckoutNightly` Build ``` cd ~/.jenkins/workspace/theapp/src carthage update --platform iOS,watchOS fastlane automate scheme:"Nightly" \ branch:"feature/checkout"... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/xcode"><h2> Xcode </h2></a> ## Developer Command Line Utils - [Nomad](http://nomad-cli.com/), Command Line Utilities For iOS Development and in particular [Shenzhen](https://github.com/nomad/Shenzhen) - `$ gem install nomad-cli` - `$ ipa build && ipa distribute` - [Xctest](./xctest.md) - [xctool](https://github.com/facebook/xctool) - [XCTasks](http://blog.layer.com/introducing-xctasks-powerful-test-automation-for-xcode-projects/) Ruby / Rake build test... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/xamarin_javascript"><h2> Xamarin Forms - JavaScript Interaction </h2></a> ## Overview We need a common method to allow the hosting C# app to communicate with the hosted HTML5 application. It appears that the Xamarin.Forms WebView [API](https://developer.xamarin.com/api/type/Xamarin.Forms.WebView/) doesn't support a common method for JavaScript to invoke C#. C# to JavaScript... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/xamarin"><h2> Xamarin & Xamarin Forms (XF) </h2></a> * [Build Cross-Platform Android and iOS UIs with Xamarin Forms](https://www.sitepoint.com/build-cross-platform-android-ios-uis-xamarin-forms/) * [5 Things...](https://medium.freecodecamp.com/the-5-things-you-need-to-know-to-understand-react-a1dbd5d114a3?imm_mid=0ec5a5#.sg5py5ui7) Formally a `.net` / `mono` company, now owned by Microsoft. Basically a cross platform technology to allow `.net` technology to be used on iOS and Android. *... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/wwdc"><h2> WWDC 2016 </h2></a> ## WWDC ### 2014 Videos Available [here](https://developer.apple.com/videos/wwdc/2014/) ![](./assets/wwdc-2016.jpg) Some quick thoughts on [WWDC 2016](http://www.apple.com/apple-events/june-2016/). Culled from various sources. Some [videos](https://developer.apple.com/videos/wwdc2016/) are now available. No new hardware :-( But a new Apple Filing System, [(AFS)](https://developer.apple.com/library/prerelease/content/documentation/FileManagement/Conceptual/APFS_Guide/GeneralCharacteristics/GeneralCharacteristics.html#//apple_ref/doc/uid/TP40016999-CH2-SW1), runs on all platforms, ARS Technica... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/workflow_foundation"><h2> Windows Workflow Foundation </h2></a> Currently *'stuck'* on dotNET 4.5, *unofficial*, `coreWF` MS project for dotNET on [GitHub](https://github.com/dmetzgar/corewf).
    
    * MSDN [Windows Workflow Foundation](https://msdn.microsoft.com/en-us/library/jj684582.aspx)
    * Coming to .NET? [dotnetcatch.com](http://www.dotnetcatch.com/2017/01/27/windows-workflow-foundation-coming-to-net-core/)
    * [A Developer's Introduction to Windows Workflow Foundation (WF) in .NET 4](https://msdn.microsoft.com/en-us/library/ee342461(d=printer).aspx) <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/words"><h2> Words </h2></a> c.f. [[Quotes]] * Maven * Exegesis  * Peripatetic * Petrichor * _Desiderata_ (Latin: "desired things") * Apropos of nothing * pre-emptive (But emptive isn't a word) * Cognoscenti - People well informed about a particular subject 'People who know' -... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/windows_store"><h2> Windows Store </h2></a> Linking via URL's of the format `www.microsoft.com/store/apps/DEADBEEFGH67X3F`
    
    ```bash
    find ../.. -name "Package.StoreAssociation.xml" -exec ls {} \; -exec grep LandingUrl {} \;
    
    ../../DEADBEEF/AnnotationZoningTool/AnnotationZoningTool/Package.StoreAssociation.xml
      
    ``` <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/windows_setup"><h2> My Sweet Windows Setup </h2></a> Also availabe for [macOS](./mac_setup)
    
      * Scott Hanselman's [Tools](http://www.hanselman.com/blog/ScottHanselmans2014UltimateDeveloperAndPowerUsersToolListForWindows.aspx)
    
      Look at [Solarized](http://ethanschoonover.com/solarized) for colours. <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/windows_hanging"><h2> What to do when MS Windows simply hangs or freezes </h2></a> ## What processes and services are running Press [Win-R] and type `services.msc`. This will start the local services monitor. Then select `Actions -> Export List...` and save the list as type `Text (Comma Delimited) (*.csv)`. Mail this list of services... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/white_labeling"><h2> White Labeling </h2></a> > Having multiple applications build from a single code base where the only difference is the branding # Building Apps from Powershell for different clients Q: Do we need `devenv` or will `msbuild` do? A; Let's hope for `msbuild` -... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/webp"><h2> Webp </h2></a> > Google's image format
    
    This will convert all `webp` files into `png`'s (So QL can see them)
    
    ```bash
    find . -name "*.webp" -exec dwebp {} -o {}.png \;
    find . -name "*.webp" -exec dwebp {} -o {}.jpg \;
    


    Posted on 01 Jan 1970

    <h2> The Waterfall of CI </h2> > And the compiler begat the application. Release often they say, but what do they mean? Waterfall development has gates and so should a CI system. However the nature of these gates is different. Consider: * Compile | No compilation…
    Posted on 01 Jan 1970

    <h2> Watches </h2> > “Tick, tock. Tick, tock. Always running out of time. Yours is almost used up. You’re between seconds, lost in the infinite possibilities between tick and tock. Tick, you’re alive. Tock.. Well, it was a good life, but a short…
    Posted on 01 Jan 1970

    <h2> Visual Studio Team Services </h2> Visual Studio Team Services is now Azure DevOps Services

    <h2> Visual Studio Code - VScode </h2> # c.f. * VS Code Can do that * ToM * VS Code extensions for the discerning developer palate Using Settings Sync Shift + Alt + D to download from GitHub to VSCode, Shift+ALT_U to upload from VSCode to GitHub….
    Posted on 01 Jan 1970

    <h2> vim </h2> > - vi Improved > Run vimtutor every day for a week or so. What about Neovim? Also VScode vimgifs looks a fun way to learn. Start here: How to learn vim * vim Koans * Switch to vim without…
    Posted on 01 Jan 1970

    <h2> UWP </h2> > Universal Windows Platform Unfortunatly no (easy) support for [[Go]], so C# or [[TypeScript]] it is. c.f. * Xamarin Forms # Links * Intro to the Universal Windows Platform * What’s a Universal Windows Platform (UWP) app? * [Java free…
    Posted on 01 Jan 1970

    <h2> Using the Azure CLI (az) command </h2> bash az login az account list # Lists all the available Azure accounts az account show # Shows the `isDefault` account az account set --subscription myCompanyCommerceDevTest # Sets the `isDefault` account subscription ```bash az account set –subscription “myCompanyCommerce” az…
    Posted on 01 Jan 1970

    <h2> Jekyll </h2> TODO: Sort the blog homepage out, get a nice theme * Moon moon-master is in [TODO]. * https://jekyllthemes.io/ * http://jekyllthemes.org/ * Static and Free * Build a Blog With Jekyll and GitHub Pages * [How I Created a Beautiful…
    Posted on 01 Jan 1970

    <h2> Unix: Tools </h2> * Unix, in general * Unix File Processing * Unix Bash ## uname System Info bash uname -a Darwin Riks-Laptop.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64 ## pkill To kill all processes…
    Posted on 01 Jan 1970

    <h2> Unix: File Processing </h2> * Unix, in general * Unix Tools * Unix Bash ### Remove all blank lines bash grep '.' ### Remove single blank lines bash cat -s # Remove single blank lines ### Remove leading spaces ```bash create_stream |…
    Posted on 01 Jan 1970

    <h2> Unix </h2> * Unix File Processing * Unix Tools * Unix Bash * Ubunto # Change / Rename file extension on multiple files bash for f in *.markdown; do mv -- "$f" "${f%.markdown}.md"; done ## Remove JSON comments See JSON ###…
    Posted on 01 Jan 1970

    <h2> Ubunto </h2> * Unix

    Setup

    sudo apt update && sudo apt upgrade
    


    Posted on 01 Jan 1970

    <h2> The Two Things about Computer Programming </h2> Brett pointed to The Two Things, a page that can be best summed up by quoting: > A few years ago, I was chatting with a stranger in a bar. When I told him I was an economist, he said,…
    Posted on 01 Jan 1970

    <h2> Træfik Notes </h2> > Træfik - High performance reverse proxy

    Written in Go.


    Service Fabric
    Posted on 01 Jan 1970

    <h2> TOML </h2> > Tom’s Obvious, Minimal Language

    Looks quite interesting. A tool to translate between TOML, YAML and JSON would be useful.

    Introduction page

    Very similar to Windows .ini files.
    Posted on 01 Jan 1970

    <h2> Testflight - Developer Notes </h2> .c.f. * End User’s Guide * Apple ID’s TestFlight is a little ‘odd’. When you upload an app to TestFlight it is (pretty much) immediately made available to any of the development team (this is optional, but I always select…
    Posted on 01 Jan 1970

    <h2> TestFlight - User’s Guide </h2> TestFlight Logo .c.f. - Some Developer Notes - Apple ID’s - Download Link for iOS App TestFlight is a Apple application / technology which allows developers to share iOS application with Beta testers (for UAT Testing etc). As…
    Posted on 01 Jan 1970

    <h2> Test Page </h2> > To see what verious markup looks like

    A Markdown Gist

    {% gist 7bc0a469407a6e69b622ff5e07110f97 %}
    Posted on 01 Jan 1970

    <h2> Using Target Disk Mode for More Storage under macOS </h2> > I’m not sure that this is still possible with encrypted disks etc, {% gist 521291106df7dd9f45ca94b058374ff8 %} Apple charge way too much for SSD space. I’ve a MacBook and and iMac both specced up with 1Tb SSD’s - this has…
    Posted on 01 Jan 1970

    <h2> Swift UI </h2> ## SwiftUI / Combine Links

    https://heckj.github.io/swiftui-notes/ https://goshdarnswiftui.com/

    TODO:

    1. How to use win Swift playgrounds
    import SwiftUI
    
    


    Posted on 01 Jan 1970

    <h2> Swift: WKWebView </h2> * NShipster * priyaontech.com * https://stackoverflow.com/questions/25827368/swift-webview-how-to-call-correctly-swift-code-from-javascript * Getting started with WKWebView using Swift in iOS 8 * WKWebView and JavaScript in iOS 8 - using Swift * …ios-test/ViewController.swift * Complete Guide to Implementing WKWebView * [Creating a simple browser with…
    Posted on 01 Jan 1970

    <h2> Swift </h2> > A Dropbox of links etc ## TODO Grab the links for this site. ## Tools for using ### Marathon From here, install via brew install marathon-swift. ## ShapeShift For moving playgrounds to iCloud / iOS. From here ```bash marathon…
    Posted on 01 Jan 1970

    <h2> iOS UI Testing with Smartfone Test Farm(STF) and Jenkins </h2> TODO: Should we consider STF as an alernative to AWS Device Farm?

    Cf.

    <h2> Stata </h2> # Histograms

    #delimit ;
    
      two way histogram prestig80, width(10) precent
         by(sex, title(“This is a title”))
         name(nameOfGraph,  replace);
    
    #delimit cr
    ``` <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/skills"><h2> Skills </h2></a> > What skills and technologies would you focus on for the next couple of years? * Digital not IT * Git more than SVN * Javascript over Java * JSON more than XML * Python more than PHP * Ruby even more than... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/shell_expansion"><h2> Shell Scripting -  shell expansion trick </h2></a> Interesting [[zsh]] & [[bash]] shell expansion trick. ```bash printf "Apt. %s\n" {2..5}{A..D} ``` gives: ```text Apt. 2A Apt. 2B Apt. 2C Apt. 2D Apt. 3A Apt. 3B Apt. 3C Apt. 3D Apt. 4A Apt. 4B Apt. 4C Apt. 4D Apt.... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/service_fabric"><h2> Service Fabric </h2></a> Slowly being replaced by [[Kubernetes]].
     <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/serverless"><h2> Serverless Architecture </h2></a> > The essence of the serverless trend is the absence of the server concept during software development. _c.f._ * [What *is* Serverless Architecture](https://medium.com/@PaulDJohnston/what-is-serverless-architecture-43b9ea4babca#.q1jhmme4e) * [Serverless Framework](https://en.wikipedia.org/wiki/Serverless_Framework) * [Serverless computing](https://en.wikipedia.org/wiki/Serverless_computing) * AWS Serverless Multi-Tier Architectures [PDF](https://d0.awsstatic.com/whitepapers/AWS_Serverless_Multi-Tier_Architectures.pdf) * Single Signin via [Auth0](https://auth0.com/)... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/semver"><h2> Semantic Versioning </h2></a> * [semver.org](https://semver.org) Given a version number MAJOR.MINOR.PATCH, increment the: * MAJOR version when you make incompatible API changes, * MINOR version when you add functionality in a backwards compatible manner, and * PATCH version when you make backwards compatible bug... <br/>
    <em>Posted on 01 Jan 1970</em> <br/>
    
    <a href="/scala"><h2> Scala </h2></a> Some wierd statistical language :-)
    
    # Histograms
    
    ```scala
    #delimit ;
    
      two way histogram prestig80, width(10) precent
         by(sex, title(“This is a title”))
         name(nameOfGraph,  replace);
    
    #delimit cr
    


    Posted on 01 Jan 1970

    <h2> Douglas Adams’ Rules of Technology </h2> 1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works. 2. Anything that’s invented between when you’re fifteen and thirty-five is new and exciting…
    Posted on 01 Jan 1970

    <h2> Ruby </h2> > A simple scripting language Used by Danger Basic guide based on this page. # Aims of this Guide My assumption is that you are a programmer, with some experience. You should be familiar with the terminal. This guide aims…
    Posted on 01 Jan 1970

    <h2> RSS - Really Simple Syndication </h2> ## Links

    • Specification
    • Example
    • Feed Validator
    • https://dashboard.heroku.com/apps/itunes-monitor/deploy/dropbox
    • https://itunes-monitor.herokuapp.com/?itunes/457876088/GB
    • https://itunes.apple.com/GB/rss/customerreviews/id=457876088/sortBy=mostRecent/xml?l=en

    GUIDs

    Need AAABBBCCC if no URI.
    Posted on 01 Jan 1970

    <h2> Roon Labs </h2> My NUC Rock Show us your [system] or headphones Roon, is a fantastic audio media player from the people who brought you Sooloos. * Roon Architecture * RAAT * RoonBridge * Install under [Linux])(https://kb.roonlabs.com/LinuxInstall) * GitHub Repos ## Network Usage…
    Posted on 01 Jan 1970

    <h2> Resize Images in MacOS </h2> Fire up your Terminal and cd into the desired image directory. Then simply type sips -Z 1024 *.jpg and you’re done. * -Z keeps the image’s aspect ratio. * “1024” is the maximum width and height. * “*.jpg” converts every…
    Posted on 01 Jan 1970

    <h2> Regular Expressions </h2> > Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems.

    Cf.

    Vesper’s Liberal URL Regex Pattern

    (?i)\b((?:https?:(?:/{1,3}|[a-z0-9%])|[a-z0-9.\-]+[.](?:com|net|org|edu|gov|mil|aero|asia|biz|cat|coop|info|int|jobs|mobi|museum|name|post|pro|tel|travel|xxx|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cs|cu|cv|cx|cy|cz|dd|de|dj|dk|dm|do|dz|ec|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|Ja|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)/)(?:[^\s(){}\[\]]+|\([^\s()]*?\([^\s()]+\)[^\s()]*?\)|\([^\s]+?\))+(?:\([^\s()]*?\([^\s()]+\)[^\s()]*?\)|\([^\s]+?\)|[^\s`!()\[\]{};:'".,?«»“”‘’])|(?:(?<!@)[a-z0-9]+(?:[.\-][a-z0-9]+)*[.](?:com|net|org|edu|gov|mil|aero|asia|biz|cat|coop|info|int|jobs|mobi|museum|name|post|pro|tel|travel|xxx|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cs|cu|cv|cx|cy|cz|dd|de|dj|dk|dm|do|dz|ec|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|Ja|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)\b/?(?!@)))
    


    Posted on 01 Jan 1970

    <h2> React Native - Android Specifics </h2> TODO: This sort of setup & configuration stuff should be pushed over to a Docker container, see Using Docker for Android Testing ## history ```bash react-native init AndroidExample cd AndroidExample react-native run-android 554 vim ./node_modules/react-native/react.gradle 555 vim package.json 556 npm…
    Posted on 01 Jan 1970

    <h2> React Native </h2> .c.f. * React * React Native - Android Specifics * Angular ## Building Ensure thet you package.json file has an line similar to: ```json “scripts”: { “start”: “node node_modules/react-native/local-cli/cli.js start”, “test”: “jest”, “build:ios”: “react-native bundle –entry-file=’index.js’ –bundle-output=’./ios/the-app-name/main.jsbundle’ –dev=false –platform=’ios’ –assets-dest=’./ios’“…
    Posted on 01 Jan 1970

    <h2> React </h2> .c.f. * React Native * Angular TODO: Document your thoughts here * 5 Things # Comparisons * Angular .v. React # Tooling * Essential Tools for Development # Links to be filed or read * React Tutorial: A Comprehensive Guide…
    Posted on 01 Jan 1970

    <h2> Using a Raspberry PI as Web Kiosk </h2> # TODO - raspi-dashboard - ArchLinux|ARM -> ArchLinuxARM-rpi-latest.tar.gz - https://www.raspberrypi.org/blog/arch-linux-arm-available-for-download/ - # But Wait, cf. Chromebooks and Chromeboxes support Kiosk Mode Apps. — Recently I’ve been using a Raspberry PI as a Web Kiosk. This was quite an interesting project…
    Posted on 01 Jan 1970

    <h2> Quotes </h2> c.f. [[Words]] “This royal throne of kings, this sceptered isle, This earth of majesty, this seat of Mars, This other Eden, demi-paradise, This fortress built by Nature for herself Against infection and the hand of war, This happy breed of…
    Posted on 01 Jan 1970

    <h2> Quick Look for macOS </h2> See DevNotes repo.

    brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package
    


    Posted on 01 Jan 1970

    <h2> Use pylint with Python </h2> c.f. * Black for code formatting * See here for a discussion on setting up git hooks to keep you honest In order to run pylint on your entire project, your repository should include an init.py file ## Installation ```bash…
    Posted on 01 Jan 1970

    <h2> Python Package Management via Poetry </h2> ## Python Packaging & Dependency Management * Python Poetry ### On macOS & Ubuntu ```bash curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python # This is the recommended way to install Poetry to ensure it is isolated from the rest of your system…
    Posted on 01 Jan 1970

    <h2> Python: Using pip, virtualenv, and packaging </h2> # virtualenv ## Which Python Literally V3 or V2.7 bash sudo pip install virtualenv virtualenv --version virtualenv --python $(which python3.6) ~/.virtualenvs/chalice-demo source ~/.virtualenvs/chalice-demo/bin/activate bash pip install arbirary-package When you’ve finished. bash deactivate ```bash pip freeze > requirements.txt…
    Posted on 01 Jan 1970

    <h2> Python: Using Python on macOS </h2> # Installation Python is already installed on macOS (Only V2.7 though). There are a couple of essentialls though bash sudo easy_install pip sudo -H pip install virtualenv If you need Python 3.* then use homebrew and do a `brew…
    Posted on 01 Jan 1970

    <h2> Python Linting and Formatting </h2> ## Formatting In short use Black for code formatting. ## Linting pylint is your only option. ## Git Hooks ### lint.py ```python import argparse import logging from pylint.lint import Run logging.getLogger().setLevel(logging.INFO) parser = argparse.ArgumentParser(prog=”LINT”) parser.add_argument(‘-p’, ‘–path’, help=’path to directory you…
    Posted on 01 Jan 1970

    <h2> Python: Manipulating Excel with Python </h2> openpyxl is the recommended module for reading and writing Excel files in Python. python from openpyxl import load_workbook wb = load_workbook(filename = 'excel-spreadsheet.xlsx') python for sheet in wb.worksheets: print (sheet) ```python for name in wb.get_sheet_names(): print (name) if…
    Posted on 01 Jan 1970

    <h2> Python Code Snippets </h2> bash pip3.8 install azure Some taken from this atricle. 1. All unique The following method checks whether the given list has duplicate elements. It uses the property of set() which removes duplicate elements from the list. ```python def all_unique(lst):…
    Posted on 01 Jan 1970

    <h2> Chalice in Python </h2> NOTE: These is currently (2017-07-03) a bug with chalice wherby, on macOS, the project directory name can’t contain spaces. You will get a [Errno 2] No such file or directory while running chalice deploy. NOTE: [requirements.txt only gets picked up…
    Posted on 01 Jan 1970

    <h2> Python Code Formatting with Black </h2> ## Installation bash pip install black Black can be run on any Python file via: bash Black pathtofile.py ## pyproject.toml ```toml [tool.black] line-length = 88 target-version = [‘py36’, ‘py37’, ‘py38’, ‘py39’] include = ‘.pyi?$’ exclude = ‘’’ /(…
    Posted on 01 Jan 1970

    <h2> Python </h2> Even has it’s own grimoire * V2.7 or V3 * Installing etc on a Mac. * Pip, virtualenv and all that. * Working with macOS * Manipulating Excel * Serverless with Chalice * The Hitchhiker’s Guide to Python! * [Code…
    Posted on 01 Jan 1970

    <h2> Programming </h2> From years of watching master programmers, I have observed certain common patterns in their workflows. From years of coaching skilled journeyman programmers, I have observed the absence of those patterns. I have seen what a difference introducing the patterns can…
    Posted on 01 Jan 1970

    <h2> The Pragmatic Programmer Quick Reference Guide </h2> This page summarizes the tips and checklists found in The Pragmatic Programme. For more information about The Pragmatic Programmers LLC, source code for the examples, up-to-date pointers to Web resources, and an online bibiography, visit www.pragmaticprogrammer.com. 1. **Care About Your…
    Posted on 01 Jan 1970

    <h2> Using PowerShell with Azure </h2> General PowerShell notes. ## Subscriptions Get-AzureRmSubscription & az account list --output table are equivalent. text Azure:\ PS Azure:\> Get-AzureRmSubscription Name : Visual Studio Enterprise Id : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx TenantId : yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy State : Enabled & ```text Azure:\ PS Azure:> az…
    Posted on 01 Jan 1970

    <h2> Powershell </h2> > Nobody’s favorite scripting language PowerShell (.ps1) is bash for Windows (Though ironically now available for Unix variants as well). If you think of PowerShell as bash for Windows you won’t go far wrong, but it passes dotnet objects round,…
    Posted on 01 Jan 1970

    <h2> Postman </h2> Q: What the heck is Postman?
    JSON driven.


    Posted on 01 Jan 1970

    <h2> plex </h2> TODO: Move all media to 4Tb disk Plex is a video and audio streaming solution. My interest stems from their Plex Cloud solution which allows users to store media on various cloud services which can then be streamed to Tv…
    Posted on 01 Jan 1970

    <h2> Playground </h2> # Categories {% for category in site.categories %} {{ category | first }} {% for posts in category %} {% for post in posts %} {{ post.title }} {% endfor %} {% endfor %} {% endfor %} — # Posts…
    Posted on 01 Jan 1970

    <h2> PHP </h2> A’ka Personal Home Page, now PHP: Hypertext Preprocessor, still awful. Use by Heroku. Apparently the most popular programming language of the web. Effectivly a HTML Pre-processor. Links REPL $cars=array ( “Volvo”=>array ( “XC60”, “XC90” ), “BMW”=>array ( “X3”, “X5” ),…
    Posted on 01 Jan 1970

    <h2> Photo Management </h2> Should I consider moving from Apple Photos to something like Exposure? Exposure now supported the Leica Q’s RAW files and would be more cross platform. Investigae Unbound for photo mangement. http://simplicitybliss.com/my-photo-workflow-with-dropbox-hazel-icloud RAW Photography The Power of RAW on iPhone, PArt1:…
    Posted on 01 Jan 1970

    <h2> Perster for PowerShell </h2> Pester is a TDD unit testing framework for PowerShell with build in Mocking features. Think Google Test & Google Mock combined but for PS, not C++ Pester can also do Code Coverage but this is slightly limited because of the…
    Posted on 01 Jan 1970

    <h2> parentalcontrolsd </h2> The parentalcontrolsd process is a bugger. So, sudo su Create /var/root/kill_parentalcontrolsd.sh #!/bin/bash # this is not following best practices # removing explicit familyControlsEnabled keys to mitigate high parentalcontrolsd cpu usage rm -rf /Library/Managed\ Preferences/com.apple.applicationaccess.new.plist rm -rf /Library/Managed\ Preferences/*/com.apple.applicationaccess.new.plist if pgrep…
    Posted on 01 Jan 1970

    <h2> nvBOX </h2> nvALT for Dropbox An nvALT clone for Chrome. Backlog Investigate the competition & try & get them running locally. Decide on product use cases (Create nvBOX_Use_Cases document). Decide on product MVP. Is produce a web app, Chrome App, etc Sprint…
    Posted on 01 Jan 1970

    <h2> nvALT </h2> Having backed about for far too long, I think that nvALT is the way to go. Can I integrate with Obsidian? However it would be very useful if I could add to it. To do this I will create some…
    Posted on 01 Jan 1970

    <h2> Rob Pike - Notes on Programming in C </h2> Introduction Kernighan and Plauger’s The Elements of Programming Style (Brian W. Kernighan and P.J. Plauger, The Elements of Programming Style, Second Edition, McGraw-Hill, 1978, ISBN 0-07-034207-5) was an important and rightly influential book. But sometimes I feel its concise rules…
    Posted on 01 Jan 1970

    <h2> Note Taking </h2> I’m not writting it down for later, I’m writting it down for now. Use Tot for very simple note taking Should work and personal notes be maintained in the same environment? Yes. nvAlt is good but getting sync issues when…
    Posted on 01 Jan 1970

    <h2> Node.js </h2> npm: node Package Manager Has a registry here. Need sudo on macOS for npm update. sudo npm install -g npm npm update # Local packages npm update -g # Global packages Using sudo npm config list sudo npm install -g…
    Posted on 01 Jan 1970

    <h2> ngrok: Secure tunnels to localhost </h2> Homepage


    Posted on 01 Jan 1970

    <h2> Network Rules in Azure </h2> Read the Microsoft article first. Note this is possible from Azure PowerShell Add az storage account network-rule add –resource-group MyResourceGroup –account-name mystorageaccount –ip-address 23.45.1.0/24 # or az storage account network-rule add –resource-group MyResourceGroup –account-name mystorageaccount –vnet myvnet –subnet mysubnet List…
    Posted on 01 Jan 1970

    <h2> Not-a-network </h2> macOS High CPU for parentalcontrolsd process 2016-08-02 Looks like we could be having issues with overloading our internal DNS servers. So in preferences swap the two IP addresses round via System Preferences…, Network Advanced…, DNS. Swap 10.200.95.200 & 10.200.95.200 round….
    Posted on 01 Jan 1970

    <h2> Manual Test Demultiplexer Tool </h2> mtdtool

    Also use Expresso

    It would be nice to be able to do this for automated test too - but can we simulate the same by using adb?
    Posted on 01 Jan 1970

    <h2> MPD - Music Player Deamon </h2> MPD - Music Player Deamon mpd is the server which both plays the files & severs a list of files to chose from to any client. And mpd client simply controls the server by selecting which track to play change…
    Posted on 01 Jan 1970

    <h2> Moving Forward </h2> Notes on upgrading iOS Applications Konductor’s Future Konductor Roadmap [[vim]] Redeeming iOS Promo Codes Media Server Thoughts Digital Audio Access Protocol (DAAP My CD Storage, Riping & Playback iTunes XML Format I need to get some traction & some stuff…
    Posted on 01 Jan 1970

    <h2> minimserver </h2> Java based UPnP audio server

    miniDNLA Cloud UPnP


    Posted on 01 Jan 1970

    <h2> miniDNLA </h2> C based UPnP audio server Cloud UPnP minimserver Installing or RaspPI http://minidlna.sourceforge.net/ http://raspberry.io/projects/view/naspberry-pi/ http://ask.jaimeyu.com/2014/01/setting-up-dlnaupnp-server-on-raspberry.html http://bbrks.me/rpi-minidlna-media-server/ Alernatives C# http://nmaier.github.io/simpleDLNA/ Python - Coherence (UPNP) http://en.wikipedia.org/wiki/Coherence_(UPNP) SofaPlay is the Mac App Store equivalent. miniDNLA Code Analysis minidnla, now ReadyMedia, is a small UPnP…
    Posted on 01 Jan 1970

    <h2> Microservices </h2> Microservice testing


    Posted on 01 Jan 1970

    <h2> Meetings are mutexes </h2> A meeting is a big honking mutex. Treat it like one.

    Explain why it’s needed Minimize the resources it locks Hold it for as short a time as possible And then go about your work


    Posted on 01 Jan 1970

    <h2> md5sum </h2> md5sum is not available on macOS be default, however the macos md5 command has a -r flag which duplicates it’s behavious, so a simple:

    alias md5sum=’md5 -r’

    in your ~/.profile or ~/.bashrc is all that is needed.
    Posted on 01 Jan 1970

    <h2> Markdown - Cheat Sheet </h2> Header 1 Header 2 Header 3 ### (Hashes on right are optional) Header 4 Header 5 Markdown plus h2 with a custom ID Link back to H2 This is a paragraph, which is text surrounded by whitespace. Paragraphs can be…
    Posted on 01 Jan 1970

    <h2> Markdown - A Simple Markup Language </h2> & MultiMarkdown & GitHub Flavored Markdown & CommonMark. Footnote:1 My personal preference is to, where possible, use GitHub Flavoured Markdown. Markdown Metadata is important, start to use it. Can be accessed by Python Markdown. [standard-flavored-markdown][Standard flavored Markdown] is important, read…
    Posted on 01 Jan 1970

    <h2> Mail For Kindle </h2> Info about the .mobi file format can be found here More information here (Quite detailed). Also … here IDEA Why not use the iPhone as a payment method. i.e. buying the app gives you access to a service - nothing…
    Posted on 01 Jan 1970

    <h2> The default shell is now zsh </h2> From Terminal when starting a shell for the first time in Catalina (macSO 10.15). The default interactive shell is now zsh. To update your account to use zsh, please run chsh -s /bin/zsh. For more details, please visit https://support.apple.com/kb/HT208050. Apple…
    Posted on 01 Jan 1970

    <h2> Using Jenkins to Create a Mobile CI server on macOS for Android </h2> It now lives at jenkins-android.local, which is 10.200.35.50. username ci, password * for VNC. Jenkins username jenkins, password \(\)$ Mac Mini Rebuild Username ci, Password \(\)$ Homebrew Install Homebrew /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Also, Homebrew got broke in 2016-08-11,…
    Posted on 01 Jan 1970

    <h2> macOS & iOS Escape Key </h2> As it turns out, there is system-wide support for replicating the ESC key’s functionality by using the Command + period (⌘.) key combination. That simply means that anywhere you would use an Escape key, such as exiting a full-screen video…
    Posted on 01 Jan 1970

    <h2> macOS </h2> Nee OS-X c.f. My Mac setup Toggle hidden files & folders in macOS Finder with ⌘ +⇧ + . Notes on macOS, nee OS-X Mountain Tweaks TODO Keyboard shortcuts Automation Open With Multiple Entries /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain…
    Posted on 01 Jan 1970

    <h2> My Sweet Mac Setup </h2> TODO: search for rikrikr to find duplicates. and how I use Cloud storage Mac 2020 going forward Moving from an iMac to a separates Mac. Observations My existing home setup is getting long in the tooth & really in need…
    Posted on 01 Jan 1970

    <h2> Lua </h2> is a simple programming language liked by people such as The Tao of Mac. local value = getValue(“TestValue”) value.text = “Hello World” setValue(value) setErrorMessage(“Lua Script failed validation”) failValidation() Embed in C# via nlua.org Cool dev. tool http://twolivesleft.com/Codea/. Install via, brew…
    Posted on 01 Jan 1970

    <h2> Linked List </h2> I’ve previously kept stuff like this inside a README.md with something like this: c.f. * title * title We need a better way. I also need to consider how I get thses notes which are scattered about my Library into…
    Posted on 01 Jan 1970

    <h2> Grok </h2> Learn / Know / Understand / Investigate A list of things which I must thoroughly Grok To type [vim] ToM, copy & paste Hazel for Mac automation, or just a cron job Swift better, and in particular, Swift from the…
    Posted on 01 Jan 1970

    <h2> Kubernetes </h2> kubectl

    Read the Docker notes first, then:

    kubectl run demo –image=rikwatson/myhello –port=9999 –labels app=demo kubectl port-forward deploy/demo 9999:8888

    A visual guide on troubleshooting Kubernetes deployments


    Posted on 01 Jan 1970

    <h2> Kubenetics - K8S </h2> This has to be a key skill for the next for years in DevOps cf AKS Microsoft’s Azure based implemenation kubectl Cheat Sheet Learning Notes on learning based on running K8S on macOS Docker Decktop. Essential Kubernetes Resources kubectl run…
    Posted on 01 Jan 1970

    <h2> Kibana - Elasticsearch </h2> Kibana is a data visualisation tool sitting on top of Elasticsearch, think PowerBI. Resources ELK on [[Docker]] ElasticSearch on Azure via ARM Sending JSON object to web api Posting raw JSON to web api How to pass JSON POST data…
    Posted on 01 Jan 1970

    <h2> JSX </h2> JavaScript meets XML The language of React Native, also now usable with [[TypeScipt]]. JSX in depth Using JSX with TypeScript JSX Support Using JSX with TypeScript, nice walkthrough JSX & TypeScript deep dive .c.f. React native [TypeScript] [[JavaScipt]] [XML] The…
    Posted on 01 Jan 1970

    <h2> JWT </h2> JSON Web Token

    RFC 7519 jwt.io Getting Started


    Posted on 01 Jan 1970

    <h2> JSON and Go </h2> The ability to decode arbiray JSON is key to a number of apps I’m considerings, here are some resources to read about. From the official Go blog msheap golang: Encode/Decode arbitrary JSON deval.io Go: Handling Arbitrary JSON StackOverflow Decode arbitrary…
    Posted on 01 Jan 1970

    <h2> JSON </h2> JavaScript Object Notation A subset of [[YAML]], no comments! (But use JSMin) Also see [[TOML]] .c.f. [[JWT]] JSON Web Token [[jq]] A command line tool for JSON manipulation [[gron]] Make JSON grepable! Though, oddly enough, not JavaScript. No string in…
    Posted on 01 Jan 1970

    <h2> jq </h2> grep for JSON cf pxi yq grep for YAML [jmespath] Installation brew install jq TODO: I need to document this curl -s https://daringfireball.net/feeds/json | jq ‘.items[].title’ Obviously ./hockeyNameToIdMapping.json would usually be living outside the Bash script - a Gist perhaps?…
    Posted on 01 Jan 1970

    <h2> JMESpath </h2> a query language for JSON Home Tutorial Specification Example Query locations[?state == ‘WA’].name | sort(@) | {WashingtonCities: join(‘, ‘, @)} Input { “locations”: [ {“name”: “Seattle”, “state”: “WA”}, {“name”: “New York”, “state”: “NY”}, {“name”: “Bellevue”, “state”: “WA”}, {“name”: “Olympia”, “state”:…
    Posted on 01 Jan 1970

    <h2> JIRA </h2> Automating JIRA Backups

    https://confluence.atlassian.com/jirasoftwarecloud/administering-jira-software-764478186.html https://confluence.atlassian.com/confcloud/create-a-site-backup-724765526.html https://answers.atlassian.com/questions/295700/jira-backup-best-practice

      https://confluence.atlassian.com/adminjiraserver072/automating-jira-application-backups-828788081.html
    

    https://confluence.atlassian.com/adminjiraserver071/automating-jira-application-backups-802592966.html https://answers.atlassian.com/questions/70993/how-do-i-backup-on-demand-jira


    Posted on 01 Jan 1970

    <h2> Jenkins Parameters </h2> For reasons which are not important we recently needed to pass parameters between separate build steps in a Jenkins job. The internet(TM) recommended various variants of the create-a-file meem but this wouldn’t help us as we need to pass the…
    Posted on 01 Jan 1970

    <h2> Jenkins - Creating a Parameterised Build </h2> Overview My iOS project has been using Jenkins & Fastlane to build, test & upload to HockeyApp. Steps for creating a parameterised build Copy the Jenkins build job B&C uses the Jenkins job iOS-CheckoutNightly. This job should be copied (Via…
    Posted on 01 Jan 1970

    <h2> Creating WebHooks for GitHub & Jenkins interaction </h2> GitHub Webhooks These repos are currently polled to check for changes. It would be significantly more efficient for the teams if changes to the GitHub repos caused an immediate ping to our internal, Jenkins based, CI servers. GitHub provides the…
    Posted on 01 Jan 1970

    <h2> Jenkins </h2> TODO: Sort out Jenkins Creating WebHooks for GitHub & Jenkins interaction. Cf. Jenkins parameters Creating a Parameterised Build CI is important, people should realise this Get a list of Jenkins task we need & their frequency Backup / restore stratergy…
    Posted on 01 Jan 1970

    <h2> Webworker in JavaScript </h2> Web workers without a separate Javascript file? PonyFoo ServiceWorker: A Basic Guide to BackgroundSync

    Full example of BLOB inline worker


    Posted on 01 Jan 1970

    <h2> The Spread (...) operator in JavaScript (ES6) </h2> Concatinate 2 (or more) arrays NOTE: No mutation const arr1 = [1, 2, 3] const arr2 = [4, 5, 6] const arr3 […arr1, …arr2] // => [1, 2, 3, 4, 5, 6] Creating a new (null) array from zero const…
    Posted on 01 Jan 1970

    <h2> JavaScript Reduce Method </h2> Anatomy TODO THIS IS WRONG [1, 2, 3] // An array (or any type) .reduce( // method name item, // single array element index, // current elemet index () => {} // function to be sequentially applied to each element…
    Posted on 01 Jan 1970

    <h2> The JavaScript .map method </h2> Anatomy [1, 2, 3] // An array (or any type) .map( // method name item, // single array element index, // current elemet index () => {} // function to be sequentially applied to each element (must return a result)…
    Posted on 01 Jan 1970

    <h2> JavaScript Literal & Tagged Templates </h2> Simple Example Don’t forget we can include expressions, not just variables. Also multiline strings. const age = 18 console.log(Your age is ${age}. You ${age &lt; 18 ? "should" : "shouldn't"} be at school.) And tagged templates const censoredPassword = function(arr,…
    Posted on 01 Jan 1970

    <h2> Internationalisation in JavaScript </h2> WebKit API ECMA-402 specification

    String.prototype.localeCompare()

    Number.prototype.toLocaleString()

    Date.prototype.toLocaleString() Date.prototype.toLocaleDateString() Date.prototype.toLocaleTimeString()


    Posted on 01 Jan 1970

    <h2> Using Google Closure </h2> Usage closure_compiler –js=input_1.js –js=input_2.js –js_output_file=out.js

    Get build process to use Google Closure

    Command Line Options

    –accept_const_keyword

    –language_in=ECMASCRIPT5

    Here is a great cheat sheet.


    Posted on 01 Jan 1970

    <h2> The Ivy Lee Method </h2> At the end of each workday, write down the six most important things you need to accomplish tomorrow. Do not write down more than six tasks. Prioritize those six items in order of their true importance. When you arrive tomorrow,…
    Posted on 01 Jan 1970

    <h2> Istio </h2> Apparently this is a good introduction.
    Posted on 01 Jan 1970

    <h2> iSCSI </h2> This is a note for you Rik.

    Just don’t do it.

    Marco Brexited it, so don’t even bother. Looks like you need a nice silent external disk array - or something.
    Posted on 01 Jan 1970

    <h2> iOS: Device Id </h2> TL;DR Want to help test an app on iOS, you’ll need your device(s) UDID’s (Unless you’re using TestFlight) UDI-what? - Unique Device Id. A long hexadecimal number which uniquely identifies your iOS device. As well as a serial number, every…
    Posted on 01 Jan 1970

    <h2> iOS UI Testing with AWS Device Farm and Jenkins </h2> See this Gist for .app to .ipa. Jenkins Step 1 #!/bin/bash -l # echo “>>> xctool, build tests” export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 cd src export DERIVED_DATA_DIR=mktemp -d echo “ DerivedData folder is ${DERIVED_DATA_DIR}” security unlock-keychain -p ci ~/Library/Keychains/login.keychain…
    Posted on 01 Jan 1970

    <h2> The iOS Simulator </h2> xcrun simctl shows available options & xcrun simctl list list available devices. Remember that the simulator can only run Apps specifically built for it, not apps from HockeyApp, Testflight or even the App store. To build an app for the…
    Posted on 01 Jan 1970

    <h2> Installing an iOS application (APK) on iOS </h2> The simplest way to install a developer created application (Actually a .IPA file) is via iTunes. You can install IPA file using iTunes 12.x onto device using below steps : Drag-and-drop IPA file into ‘Apps’ tab of iTunes BEFORE you…
    Posted on 01 Jan 1970

    <h2> iOS: Enterprise Distribution </h2> A new project required Enterprise distribution, so, we need to do some research. c.f. https://developer.apple.com/enterprise/integrate/ WWDC 2014 - Session 705 Building Enterprise Apps for In-House Distribution WWDC 2012 - Session 311 Building and Distributing Custom B2B Apps for iOS Code…
    Posted on 01 Jan 1970

    <h2> iOS Development </h2> The most important things to learn for iOS are UIViewController, UINavigationController and UITableView. Learn those and you can build 50% of the apps on the App Store.


    Posted on 01 Jan 1970

    <h2> Building iOS Apps </h2> .app in ~/Library/Developer/Xcode/DerivedData How to convert *app to *ipa Create a folder called Payload Place the .app folder inside of that Zip up the Payload folder using normal compression Then rename the file with a .ipa extension Gist create_ipa.sh Usage…
    Posted on 01 Jan 1970

    <h2> Beta Testing iOS Apps </h2> TL;DR Want to help test an app on iOS, send me your device(s) UDID’s. NOTE: The new Testflight public URL has made this whole method significantly easier for applications which have passed Apple’s (simplified) Testflight Beta review process. UDI-what? Unique…
    Posted on 01 Jan 1970

    <h2> iOS </h2> Building Enterprise Distribution Finding your iOS device’s UUID Objective-C / iOS Buy this book DONE Learn Objective-C Learn C Or just anything from Cocoa Dev Central Categories Apple Starting iOS web page iPhone Development Development Toolbox Quora & here iOS…
    Posted on 01 Jan 1970

    <h2> InSpec Notes </h2> https://inspec.io, on github

    InSpec is compliance as code. Turn your compliance, security, and other policy requirements into automated tests.


    Posted on 01 Jan 1970

    <h2> Information Radiators </h2> A posh word for a status board. I need to know about these. Geckoboard is what Marco setup. New - https://share.geckoboard.com/dashboards/24C54B54E8010246 / https://share.geckoboard.com/loop/ZYSHPKLXS3NM6PQ5 Google Charts Consuming CSV https://github.com/exoplatform/statusdashboard https://github.com/allynbauer/statuspanic http://dashing.io/ https://github.com/Shopify/dashing/wiki/Additional-Widgets https://github.com/rouanw/build-window https://gist.github.com/jwalton/6670630 http://freeboard.github.io/freeboard/ https://freeboard.io/board/538e1374f1776c1c2e000713 https://github.com/Freeboard/freeboard http://freeboard.github.io/freeboard/docs/plugin_example.html https://jashkenas.github.io/docco/ - for…
    Posted on 01 Jan 1970

    <h2> ImageMagick </h2> Installing On OS-X brew update && brew upgrade brew install imagemagick Example usage convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 \ -draw “text 25,60 ‘Magick’” -channel RGBA -blur 0x6 -fill darkred -stroke magenta \ -draw “text 20,55 ‘Magick’” fuzzy-magick.png…
    Posted on 01 Jan 1970

    <h2> Hugo static sites in go </h2> A static site generator written in Go. Upload to Amazon S3 & use hugomac from the OS-X Menu Bar. Read the Hugo Quickstart Front Matter TOML configuration looks like this +++ date = “2016-02-14T16:11:58+05:30” draft = true title = “Good…
    Posted on 01 Jan 1970

    <h2> Progressive Web Apps (PWA) </h2> A nice overview from “Think With Google”, and a little deeper from Google I/O

    With Polymer from Monica

    Article on How to use service workers in progressive web apps Progressive Web Apps on iOS are here 🚀 via Medium


    Posted on 01 Jan 1970

    <h2> HTML 5: Local Storage </h2> Note: Session storage is also available (sessionStorage) if (typeof(Storage) !== “undefined”) { // Code for localStorage/sessionStorage. } else { // Sorry! No Web Storage support.. } Key value pairs, always strings at least 5Gb storage. // Store localStorage.setItem(“lastname”, “Smith”); //…
    Posted on 01 Jan 1970

    <h2> HTML 5: Client-side Form validation </h2> whatwg.org


    Posted on 01 Jan 1970

    <h2> HTML 5 </h2> Also See: JavaScript Web workers JavaScript (but really you should be looking at TypeScript) WebPack Asm.js (or more likely webasm??? these days) Progressive Web Apps PWA Background Sync & ponyfoo.com Form Validation Local Web Storage The over-engineering of ponyfoo.com url2img:…
    Posted on 01 Jan 1970

    <h2> HTML </h2> Canonical Links

    Avoid split brain, also non-trivial:

    <link rel=”canonical” href=”http://themindfulbit.com/blog/noble-absence”>

    Auto Refresh

    Delay is in seconds, zero is valid.

    So, this is once a day.

    <meta http-equiv=”refresh” content=”3600”>


    Posted on 01 Jan 1970

    <h2> Homebrew </h2> homebrew Homebrew is a simple package manager for macOS. brew upgrade && brew update && brew cleanup Worth a read sometime -> https://hackernoon.com/personal-macos-workspace-setup-adf61869cd79 includes useful zsh information See Casey’s article My Office MacBook Brewfile tap “azure/aks-engine” tap “caskroom/cask” tap “homebrew/bundle”…
    Posted on 01 Jan 1970

    <h2> Home network </h2> Also see my Mac set-up.

    Marco Arment recommends Ubiquiti networking hardware for true nerds, and Eero for everyone else.
    Posted on 01 Jan 1970

    <h2> HockeyApp </h2> Use for iOS and Android beta testing. Example Andorid upload (From build.sh) # A quick helper to upload to HockeyApp hockeyUpload () { echo “$2” curl https://rink.hockeyapp.net/api/2/apps/$1/app_versions \ -F status=”2” \ -F notify=”2” \ -F notes=”$2” \ -F notes_type=”0” ...
    Posted on 01 Jan 1970

    <h2> Hive-CI </h2> Hive-CI is a BBC based CI solution, waiting for Aunty to Open Source the reporting solution.
    Posted on 01 Jan 1970

    <h2> Heroku </h2> Hosting Static HTML Pages Just create a index.php (or whatever.php) and add the following: <?php include_once(“whatever.html”); ?> TODO Understand the basics Move rikwatson.com over (mainly static). Swift playgrounds Custom domain via DNS. Move rikwatson.com to heroku.com (Via Casey Liss). Look…
    Posted on 01 Jan 1970

    <h2> gron </h2> Make JSON greppable github Installation brew install gron TODO: I need to document this. From the GitHub repo: gron transforms JSON into discrete assignments to make it easier to grep for what you want and see the absolute ‘path’ to…
    Posted on 01 Jan 1970

    <h2> GraphQL </h2> GraphQL is a query language for APIs and runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they…
    Posted on 01 Jan 1970

    <h2> Go Tooling </h2> From: https://www.youtube.com/watch?v=uBjoTxosSys&feature=em-subs_digest-vrecs gofmt - replace with goimports go run main.go go build cat > main.go package main import “fmt” func main() { fmt.Println(“Hello Rik)} <CTRL-D> go run main.go gofmt -w main.go cat main.go go build ls ./demo GOOS=windows go build…
    Posted on 01 Jan 1970

    <h2> Go Installation and initial setup </h2> go get <pkg.name> to install any go packages go to root folder of project > go env to set env of gopath first step: export GOPATH=pwd > where root folder not src ==GOPATH=”/Users/vamsi.vendra/Documents/git/asos-web-api” from go src folder:» go run mysp/domain/cmd/create_user.go…
    Posted on 01 Jan 1970

    <h2> Go - defer, panic & recover </h2> https://blog.golang.org/defer-panic-and-recover mu.Lock() defer mu.Unlock() package main import “fmt” func main() { f() fmt.Println(“Returned normally from f.”) } func f() { defer func() { if r := recover(); r != nil { fmt.Println(“Recovered in f”, r) } }() fmt.Println(“Calling g.”) g(0)…
    Posted on 01 Jan 1970

    <h2> Azure DevOps from Go </h2> I’m a firm believer that golang is an ideal match as a DevOps scripting language. So here are some notes on using golang as part of a DevOps pipeline within Azure. Why Go No dependencies Each golang executable and run…
    Posted on 01 Jan 1970

    <h2> Go </h2> The Go Programming Language (golang) Go Installation and initial setup Go Tooling JSON & Go Go Packages Documenation via godoc Go - defer, panic & recover cf Using Go with Azure, and my thoughts ToM Go By Example Go Books…
    Posted on 01 Jan 1970

    <h2> Glossary, Abbreviations & Definitions </h2> Glossary, Abbreviations & Definitions 2FA Two factor authentication BPM Business Process Management GMS Google Mobile Services is a collection of Google applications and APIs that help support functionality across devices Serverless Architecture The essence of the serverless trend is the…
    Posted on 01 Jan 1970

    <h2> Git Terminology </h2> Repository A repository is a collection of commits, each of which is an archive of what the project’s working tree looked like at a past date, whether on your machine or someone else’s. It also defines HEAD (see below), which…
    Posted on 01 Jan 1970

    <h2> Checking active branch in multiple repos </h2> ‘borrowed’ from JJ Asghar I have a bunch of repos that I have to watch over and make patches against. Trying to figure out what branch I left checked out can be…well frustrating. I put all my openstack repos in…
    Posted on 01 Jan 1970

    <h2> Git DVCS Notes </h2> Do not rebase commits that you have pushed to a public repository. Git Terminology Flight Rules go-git Package goaction enables writing Github Actions in Go. Dangit, Git!?! - some get-out-of-jail help. Git Notes I need to understand git better &…
    Posted on 01 Jan 1970

    <h2> GitHub Gists </h2> GitHub has a feature for having small ‘snipets’ of code (just a couple of files) which live outside the traditional [[git]] repo’s. These ‘gists’ can be public (searchable) or private (only accessible by their own UUID) A gist can be…
    Posted on 01 Jan 1970

    <h2> gilt </h2> A git layering tool gilt is a Python command line tool to allow the overlaying / layering of multiple [[git]] repositories on top of each other. The tool is often used within [[Ansible]] to allow for a form of modules….
    Posted on 01 Jan 1970

    <h2> How to get secrets from a Azure KeyVault store (KV store) </h2> az keyvault secret download –name secret-name –vault-name asbo2vsts –file ~/.ssh/vsts_rsa && chmod 0600 ~/.ssh/vsts_rsa

    connect to hostvm (currently ip is 52.169.64.254, check for ip from rg as-bo2-vstsdockerhost-rg)

    # ssh -i ~/.ssh/vsts_rsa bohostadmin@52.169.64.254

    certificate_keyvault_name: __-core-aks-kv certificate_secret_name: ____developmentcert key_secret_name: ____developmentcertkey


    Posted on 01 Jan 1970

    <h2> GAE: Google App Engine </h2> Almost as much use as gmail. My use of GAE Admin Console http://www.phonegap-app.com http://phonegap-app.appspot.com/ http://konductor-app.appspot.com/ http://www.konductor-app.com/ favicon’s were created here Notes Using you own domain Templates 404 GAE & Naked Domains How to use GAE -with-my-own-domain-not-subdomain how-to-forwarding-bare-domain-to-www-domain-for-google-app-hosted-site Naked-domains-on GAE Read…
    Posted on 01 Jan 1970

    <h2> How To See The Future </h2> The concept of calling an event Improving Reality is one of those great science fiction ideas. Twenty five years ago, you’d have gone right along with the story that, in 2012, people will come to a tech-centric town to talk…
    Posted on 01 Jan 1970

    <h2> Dynamically Changing favicon </h2> This would be nice to do for a RAG widget.

    http://stackoverflow.com/questions/260857/changing-website-favicon-dynamically http://stackoverflow.com/questions/6964144/dynamically-generated-favicon https://gist.github.com/mathiasbynens/428626 https://mathiasbynens.be/demo/dynamic-favicons

    or


    Posted on 01 Jan 1970

    <h2> Fastlane </h2> Overview Fastlane is a set of CI tools to help build, test and deploy Android and iOS on macOS. Install Xcode First install Xcode (From the Mac App Store), then install the Xcode command line tools via: xcode-select –install Install…
    Posted on 01 Jan 1970

    <h2> Expresso </h2> TODO: This is important - I must learn about Expresso.

    https://www.infoq.com/news/2013/10/google-espresso-testing http://www.dummies.com/how-to/content/how-to-test-your-android-app-using-espresso.html Continous UI testing with Espresso and Jenkins


    Posted on 01 Jan 1970

    <h2> Excel </h2> Donald Knuth says this could well be the most complex program ever; who am I to disagree. Many people use Excel as cross between a Database, programming tool and general data validation tool. You often need to upload Excel spreadsheets…
    Posted on 01 Jan 1970

    <h2> February 2017-March 2019 - TAAP Limited, Product Director </h2> Job Description This hands-on role, providing technical leadership and mentoring to a small team of software engineers, resulted in the re-platforming of a 10 year old legacy product suite to encompass new and future technologies. The original product was a…
    Posted on 01 Jan 1970

    <h2> SD-Scicon </h2> 1986 - 1989 SD-Scicon plc. (Camberley) Systems Programmer Member of the design and implementation team for the XD Ada and SD-Ada compilers. Specified, designed and implemented the SD-Ada Command Environment, ACE. This tool provided a consistent VAX Ada like interface…
    Posted on 01 Jan 1970

    <h2> 2019 RunPath DevOps Engineer - 4 month contract </h2> Job Description At Runpath, we make finding, applying and using financial products and services easier for our partners and their customers. Since 2009, we’ve built industry leading comparison services and have been defining and building products to assist partners utilise…
    Posted on 01 Jan 1970

    <h2> December 2014 – February 2017 - ASOS Plc, DevOps and Technical Team Lead </h2> Job Description At ASOS I was responsible for the specification, implementation & monitoring of their mobile DevOps mobile CI pipeline (iOS / Android). This was a multi-discipline role which involved liaising with multiple product owners but internal and external to…
    Posted on 01 Jan 1970

    <h2> Email Only Login </h2> I think it was Instapaper which was the first app / service to have login without a password, instead relying on just your password. For services with no inherent security worries this strikers me as an ideal solution, so I’ve…
    Posted on 01 Jan 1970

    <h2> Electron </h2> Electron is the html/JavaSript container used by Atom, Visual Studio Code, Slack etc. It can be used to create MAS (Mac App Store) apps. c.f. Alternatives: neutralino.js Tauri Don’t forget that people are using Python alongside Electron: Electron as GUI…
    Posted on 01 Jan 1970

    <h2> Education </h2> Manchester University (1983 - 1986). Degree: B.SC. Hons (II) in Computers and Information Systems.

    5 A-Levels Pure Maths, Applied Maths, Computer Studies, Physics, Electronics 9 O-Levels


    Posted on 01 Jan 1970

    <h2> DotNet Core </h2> Home Page, learn. Getting Started Choosing between .NET core & Framework fro server apps Install brew, then: brew update brew install openssl mkdir -p /usr/local/lib ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/ ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/ Install .net Core SDK Initialise some code:…
    Posted on 01 Jan 1970

    <h2> dotnet </h2> C Sharp dotnet core Getting Started


    Posted on 01 Jan 1970

    <h2> A Docker Reading List </h2> Pasted from here I’ve spoken to a few groups recently about Docker. Rather than sharing slides, I wanted to share my notes which will hopefully make a fast, rounded entry for people investigating the technology, particularly those coming from a…
    Posted on 01 Jan 1970

    <h2> Docker under macOS </h2> c.f. General docker information Use Docker for Android CI We use Docker for Mac, older Mac’s may need Docker Toolbox, but that’s not discussed further here. Unfortunatly there are some issues with the Docker VM ineracting with the adb Android…
    Posted on 01 Jan 1970

    <h2> Using Docker for Android Testing </h2> Look, a DOCKERFILE FROM java:8 ENV DEBIAN_FRONTEND noninteractive # Dependencies RUN dpkg –add-architecture i386 && apt-get update && apt-get install -yq libsdl1.2debian:i386 zlib1g:i386 libncurses5:i386 ant maven –no-install-recommends ENV GRADLE_URL http://services.gradle.org/distributions/gradle-2.2.1-all.zip RUN curl -L ${GRADLE_URL} -o /tmp/gradle-2.2.1-all.zip && unzip /tmp/gradle-2.2.1-all.zip -d…
    Posted on 01 Jan 1970

    <h2> Docker </h2> cf dapr.io/ Docker on macOS Docker for Android A Docker Reading List Docker Commands docker run docker run -d (run detached) -it (interactive terminal) -p (publish a port) -v (mount a volume) –name (name a container) –link (communicate between containers)…
    Posted on 01 Jan 1970

    <h2> Dizzying but invisible depth </h2> You just went to the Google home page. Simple, isn’t it? What just actually happened? Well, when you know a bit of about how browsers work, it’s not quite that simple. You’ve just put into play HTTP, HTML, CSS, ECMAscript,…
    Posted on 01 Jan 1970

    <h2> DevOps Technology </h2> Some basic notes on the technologies / stacks used or needing to be learned to work efficiently in an Azure DevOps world Appreciating The new cool. [[Git Notes]] Azure DevOps TypeScript Why? Used to create Azure DevOps Pipeline plugins. Building…
    Posted on 01 Jan 1970

    <h2> DevOps </h2> DevOps is the union of people, process, and products to enable continuous delivery of value to our end users. (Microsoft) Agile planning Ensure a prioritized backlog of work is available for the team and facilitate management for work including user…
    Posted on 01 Jan 1970

    <h2> Development Environment </h2> Mainly with reference to [[Javascript]]

    .editorconfig

    editorconfig.org

    curl https://gist.githubusercontent.com/rikwatson/03b1567549cbcd6e8988c860ecbf862d/raw/.editorconfig > .editorconfig

    .prettierrc

    prettier.io

    curl https://gist.githubusercontent.com/rikwatson/3993e023ef2357372e65c77b09e340f5/raw/.prettierrc > .prettierrc

    Use via yarn add –dev prettier

    In VSCode via prettier-vscode (CMD-P ext install esbenp.prettier-vscode)
    Posted on 01 Jan 1970

    <h2> Design Patterns </h2> Patterns by Type Creational Creational patterns are ones that create objects for you, rather than having you instantiate objects directly. This gives your program more flexibility in deciding which objects need to be created for a given case. Abstract Factory…
    Posted on 01 Jan 1970

    <h2> Definitions </h2> Definitions

    CTA Call To Action (Banners on the home screen) PLV Product List Live (Point-of-sale Light Box) PDV Product Detail View


    Posted on 01 Jan 1970

    <h2> Decoy Pricing </h2> Explained in one diagram care of the internet.


    Posted on 01 Jan 1970

    <h2> DAX: Data Analysis Expression </h2> Placeholder
    Posted on 01 Jan 1970

    <h2> Dash Plus </h2> - (Dash): Undone Action Item. + (Plus): Done Action Item. ← (Left Arrow): Delegated (with a note to whom and the date). → (Right Arrow): Waiting – (i.e. for another action). △ (Triangle): Data Point. ◯ (Circle): A circle around…
    Posted on 01 Jan 1970

    <h2> Dart & Flutter </h2> Macos installation brew tap dart-lang/dart brew install dart –with-content-shell –with-dartium Updating brew update brew upgrade dart brew cleanup dart Flutter See here to install. git clone -b alpha https://github.com/flutter/flutter.git export PATH=pwd/flutter/bin:$PATH flutter doctor int fib(int n) => (n > 2)…
    Posted on 01 Jan 1970

    <h2> DACP - Digital Audio Control Protocol </h2> DACP is used to control an iTunes server from a remote device. No audio is passed, just control messages. It is the primary protocol used by the iOS Remote application. Wikipedia yTrack DAAP JS Implementation IMPORTANT but really DMAP. I…
    Posted on 01 Jan 1970

    <h2> DAAP - Digital Audio Access Protocol </h2> Tao Of Mac has some useful resources. DACP Protocol Basics Protocol documentation v0.2, daap@tapjam.net Saved from (here)[http://tapjam.net/daap/] Introduction Apple introduced the Digital Audio Access Protocol (DAAP[1]) with iTunes4, to allow iTunes to share its library with other machines also running…
    Posted on 01 Jan 1970

    <h2> Curriculum Vitae - Rik Watson </h2> Job Target Senior DevOps Engineer Strengths Quick to learn and adapt Thrives on technical challenges Technical leadership Troubleshooting and problem analysis Self motivated Key Skills Over 15 years of Senior Software Engineering experience Team Leadership Technical Project Lead / Design…
    Posted on 01 Jan 1970

    <h2> CSS </h2> Cascading Style Sheets monica.css From Monica * {box-sizing: border-box} [hidden] {display: none !important} [disabled] {pointer-events:none; opacity: 0.3} .horizontal {display: flex; flex-direction: row; justify-content: space-between} .vertical {display: flex; flex-direction: column} .center {justify-content: center; align-items: center} .flex {flex: 1} html { –spacing-xs:…
    Posted on 01 Jan 1970

    <h2> C# Scripting </h2> Two new extra feature worth mentioning, and these are new compiler directive, #load and #r. They are only allowed to be used in C# script code (would not work with “classic” C# syntax), and allow you to reference a script…
    Posted on 01 Jan 1970

    <h2> C# Interfaces </h2> # Open a Console Application and give “InterFaceDemo” as the project name, then add a new class item and rename it “ODDEVEN.CS”. ODDEVEN.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace InterFaceDemo {     interface IOne     {        …
    Posted on 01 Jan 1970

    <h2> C# Attributes </h2> [Conditional(“TRACE_ON”)] #define TRACE_ON using System; using System.Diagnostics; public class Trace { [Conditional(“TRACE_ON”)] public static void Msg(string msg) { Console.WriteLine(msg); } } public class ProgramClass { static void Main() { Trace.Msg(“Now in Main…”); Console.WriteLine(“Done.”); } } [Caller…] public sealed class Logger…
    Posted on 01 Jan 1970

    <h2> C# aka C Sharp </h2> Made all the more relavent by the arrival of .Net Core and Visual Studio for Mac. C# Attributes C# Inferfaces C# Scripting Resouces Free Books, Yellow, Blue Data Structures & Algorithms TODO Learn C# via MSDN Find the artices I…
    Posted on 01 Jan 1970

    <h2> Concepts of Functional Programming </h2> What / Why / When Functional Programming isn’t necessary for Azure Functions and AWS Lambda. Imperative programs have the environment (state) and a sequence of steps manipulating that environment. Functional programs have an expression that is successively substituted until it…
    Posted on 01 Jan 1970

    <h2> CI Tools </h2> - Tools TODO: Need a complete list of tools etc. Which we would like Simulator Controller iOS iTunes Connect Asset Creation iOS iTunes Connect Asset Uploading Screenshot creation via Fastlane’s Snapshot sudo gem install snapshot xcode-select –install Isn’t there a…
    Posted on 01 Jan 1970

    <h2> Mobile CI & Slack </h2> I like Slack, rather a lot. I also like CI, so how do we merge them. Our existing system is based on Jenkins and Fastlane, both of which are excellent. But wouldn’t it be nice if I could type /build…
    Posted on 01 Jan 1970

    <h2> Continuous Integration </h2> TODO: Define

    Links

    Continuous Deployment Continuous Integration


    Posted on 01 Jan 1970

    <h2> ChromeOS Kiosk Mode </h2> Use a ChromeOS as a kiosk kiosk_enabled Single App Kiosk Mode Create a Chrome kiosk app Chrome App Builder is the toy. My Developer Dashboard Create a private Chrome app Packing the extension If you want to keep the extension…
    Posted on 01 Jan 1970

    <h2> chef-jenkins-vagrant </h2> ‘borrowed’ from JJ Asghar To quote the top of my README.md: This is my “recipe” on how I got Chef Jenkins and Vagrant to play nice. After watching this (http://www.youtube.com/watch?v=h_IEfNklzW4) video, I realized I could do this. I searched high…
    Posted on 01 Jan 1970

    <h2> CDep: Continuous Deployment </h2> In this consumer driven era businesses are turning to DevOps to help them keep up with the demand for new software, features and functions, and to enable them to respond quickly to shifts in their markets. Most companies interpret this…
    Posted on 01 Jan 1970

    <h2> Continuous Delivery Workshop </h2> Continuous Delivery Workshop Delivered to by DevOpsGuys, Jan. 2016. [[The Eight Principles of Continuous Delivery]] [[Four Practices of Continuous Delivery]] James Betteley - DevOpsGuys Agenda Principles of CD Introducing the tools [[TeamCity]] OctDeply ProGet Azure Building and Packaging with [[TeamCity]]…
    Posted on 01 Jan 1970

    <h2> Eight Principles of Continuous Delivery </h2> The process for releasing/deploying software MUST be repeatable and reliable. This leads onto the 2nd principle… Automate everything! A manual deployment can never be described as repeatable and reliable (not if I’m doing it anyway!). You have to invest seriously…
    Posted on 01 Jan 1970

    <h2> Four Practices of Continuous Delivery </h2> Build binaries only once You’d be staggered by the number of times I’ve seen people recompile code between one environment and the next. Binaries should be compiled once and once only. The binary should then be stored someplace which is…
    Posted on 01 Jan 1970

    <h2> Continuous Deployment and Delivery </h2> TODO: Define

    Links

    Continuous Integration


    Posted on 01 Jan 1970

    <h2> Functional Programming and Category Theory </h2> Category Theory 1.1: Motivation and Philosophy LDN Functionals #5 Kris Jenkins: What is Functional Programming? Video Blog The Endeavour Should you fancy experimenting with Haskell, the easiest way to get started is with HaskellForMac: http://haskellformac.com Another way (requires a bit…
    Posted on 01 Jan 1970

    <h2> I Like Cars </h2> As an engineer I feel I must. Some cars I like include: McLaren F1 - if this isn’t your favourite car then you are dead to me Porsche 911 - if ever you needed proof of evolution then look no…
    Posted on 01 Jan 1970

    <h2> Books to Read </h2> Far too many books on my backlog, so a much shorter list of up next books.

    Transition The Wasp Factory


    Posted on 01 Jan 1970

    <h2> BNF: Backus-Naur Form </h2> There is a RFC 4234 for ABNF (Augmented BNF). No eBNF though.

    ALPHA = %x41-5A / %x61-7A ; A-Z / a-z

    BIT = “0” / “1”

    CHAR = %x01-7F ; any 7-bit US-ASCII character, ; excluding NUL


    Posted on 01 Jan 1970

    <h2> Blockly’s XML Structure </h2> TODO Shadow Blocks Variables Examples Note: Blocks are described using JSON and loaded separately. XML is only used for storing user’s code and only includes the values that the user can modify (including the locations of blocks in the workspace)….
    Posted on 01 Jan 1970

    <h2> Blockly </h2> Blockly is a graphical “block” based UI primarilarly designed as a programming teaching aid. However, because the blocks are easily extendable, Blockly can be used for many differing projects. Blockly is a Google visual programming environment which is easily configurable…
    Posted on 01 Jan 1970

    <h2> BitBar </h2> TODO: Is there anything for me to use this for?

    Install via brew cask install bitbar

    GitHub SixColors

      Dark Mode
    


    Posted on 01 Jan 1970

    <h2> BeagleBone Black </h2> Getting Started Volumio 3D Printable Case & metal case. In a speaker, pretending to be a Sonos. https://etcher.io Burn images to SD cards & USB drives, safe & easy. (An Electron app.) codplayer look an interesting Python based CD player…
    Posted on 01 Jan 1970

    <h2> The Bash Shell </h2> [[Unix]], in general [[Shell Scripting]] in general [[Unix File Processing]] Unix Tools The Art of the Command Line Tips The Google bash Style Guide Eight Obscure Bash Options You Might Want to Know About Standard shebang header Update Bash profile…
    Posted on 01 Jan 1970

    <h2> Running Node.js in Azure </h2> TODO: This is little more than a random brain dump. Needs to be converted into a better blog post. Build and deploy a Node.js application to an Azure Cloud Service Create a Node.js web app in Azure <USERNAME> : a_username…
    Posted on 01 Jan 1970

    <h2> Azure Functions </h2> C Sharp Once I sort this assembly upload Net4.6 thing out we should be able to have some fun. MS’s main site See here for details on this. Try this demo Uses C# scripting - what version of C# is…
    Posted on 01 Jan 1970

    <h2> Azure DevOps Services </h2> Previously known as VSTS.

    Links

    Working with Azure DevOps using Azure DevOps CLI Azure DevOps - YAML for CI-CD Pipelines

    az devops -h … az extension add –name azure-devops az extension list


    Posted on 01 Jan 1970

    <h2> Azure Pipeline & Tasks </h2> Pipelines as Code

    Written in [[yaml]], extendable via tasks and templates.

    Microsoft repo and documentation Could this be used to validate Azure DevOps YAML (via an appropriate schema)? Creating Node Tasks with the Typescript API


    Posted on 01 Jan 1970

    <h2> Azure </h2> c.f. [[azure-cloud-shell]] The Azure Classic CLI [[Using the Azure CLI (az) command]] AWS Serverless Azure Function Node.js is Azure Using Go with Azure Azure Container Registry (ACR) Azure Container Instances ACI Azure in Plain English Microsoft provided on-line training Interactive…
    Posted on 01 Jan 1970

    <h2> AWS: Uploading Files to Amazon S3 </h2> As part of the Mobile CI infrastructure Usage : putS3.sh ~/Desktop/UICatalog.app.zip #!/bin/bash -l # With appologies to https://github.com/matiaskorhonen/shells3/blob/master/shells3.sh #!/usr/bin/env bash # Try to read the configuration from: # 1. the working directory # 2. The user’s home directory # (in…
    Posted on 01 Jan 1970

    <h2> AWS Lambda </h2> Also see [[Chalice]]

    https://www.nbs-system.com/en/blog/aws-lambda-how-to-build-my-first-serverless-site/ https://aws.amazon.com/cli/ https://www.concurrencylabs.com/blog/how-to-operate-aws-lambda/ https://eu-west-2.console.aws.amazon.com/cloudwatch/home?region=eu-west-2 http://docs.aws.amazon.com/lambda/latest/dg/env_variables.html http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html#lambda-environment-variables http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html http://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html
    Posted on 01 Jan 1970

    <h2> AWS Device farm </h2> c.f. Azure AWS in Plain English Also consider STF. Prepare Your iOS XCTest UI Tests Before you upload iOS XCTest UI tests to Device Farm for testing, make sure that your iOS XCTest UI test runner bundle is contained within…
    Posted on 01 Jan 1970

    <h2> AWS </h2> Amazon Web Services

    Lambda S3 Device Farm


    Posted on 01 Jan 1970

    <h2> Apple ID’s </h2> .c.f. TestFlight How to find your Apple ID Your Apple ID (which is an email address) is held in the iOS Settings App and can be viewed via: Settings -> Apple ID, iCloud & App Store -> iTunes & App…
    Posted on 01 Jan 1970

    <h2> Appium for iOS </h2> .c.f. Appium, general set-up etc Appium for Android testing Apple’s Building from the Command Line with Xcode FAQ Circle CI Jenkins Jobs Build App (for Simulator) Run under Simulator via Appium TEMPORARY build in /Users/ci/.jenkins/workspace/iOS-Checkout-Appium\src cd /Users/ci/.jenkins/workspace/iOS-Checkout-Appium ls /Users/ci/Library/Developer/Xcode/DerivedData/dorihqdpsinhefaqkbqgbtemdknm/Build/Products/Debug-iphonesimulator/THE.app Commands…
    Posted on 01 Jan 1970

    <h2> Appium for Android Testing </h2> TODO user the xctest build & try that. .c.f. Appium, general set-up etc Appium for iOS testing Appium for Android book. Blockers Appium version requested “1.4.14”, I have “1.4.16” Appium Setup export TEST_CONFIG_FILE=~/work/native-android-UI-TESTS/UI_Tests/parameters.ini –app=~/Dropbox/work/APK/Test-release.apk $ adb devices List of devices…
    Posted on 01 Jan 1970

    <h2> Appium </h2> .c.f. Appium for iOS testing Appium for Android testing On GitHub Appium Essentials Appium – Setting up mobile automation infrastructure and CI appium pid ps -A | grep [a]ppium | awk ‘{print $1}’ The [a] trick it to stop the…
    Posted on 01 Jan 1970

    <h2> Ansible </h2> Unfortunatly, not a FTL communications method. Basically a way of deploying code (or configurations) via SSH instead of having to have a build / deployment agent pre-installed. Recommended Reading O’Reilly - Ansible Up & Running ? Other Tooling [YAML] The…
    Posted on 01 Jan 1970

    <h2> Angular 2 </h2> .c.f. React React Native Upgrading npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@latest typescript@latest –save Now upgrade all global packages. npm update -g or npm i -g npm npm show {pkg} version E.g. npm show express version npm install @angular/{common,compiler,compiler-cli,core,forms,http,platform-browser,platform-browser-dynamic,platform-server,router,animations}@latest typescript@latest –save ng build –prod…
    Posted on 01 Jan 1970

    <h2> Android Device Fragmentation and the Developer </h2> Unlike iOS, Android has a serious device fragmentation issue. This precipitates itself in a number of different ways. Multiple platform versions “in the wild” with a significant percentage of unsupported devices Devices can’t be updated to current versions Device vendors…
    Posted on 01 Jan 1970

    <h2> Android Software development hints & tips </h2> Determine the current version of an app (In this case the Square Point of Sale app.) adb shell dumpsys package com.squareup | grep versionName Find app’s SHA1 fingerprint keytool -list -v -keystore ~/.android/debug.keystore \ -alias androiddebugkey \ -storepass android ...
    Posted on 01 Jan 1970

    <h2> Android AVD’s </h2> sudo xcodebuild -license to accept the Xcode licence. TODO: Update notes to reflect avdmanger Installing First, you need adb installed. on macOS, using brew, it’s just a case of: brew cask install java brew install android-sdk android update sdk –no-ui…
    Posted on 01 Jan 1970

    <h2> AKS </h2> Microsoft’s Azure based implemenation of [[Kubernetes]] ## Links The Slack #discuss-aks channel [[Kubernetes]] Grafana AKS From the Command Line The az aks command. az login az aks show –name as-pd-eun-bo2-aks –resource-group as-pd-eun-bo2-aks-rg –subscription AsosCommerce # Returns a JSON object az…
    Posted on 01 Jan 1970

    <h2> Certified Scrum Master Training Random Notes </h2> Agile Basics Adoption of Agile is not merely a Skill-set issue, more importantly it requires change in mindset. Agile culture promotes the focus on problem and not the person. Basically calls to take the emotions out of discussion. Agile is…
    Posted on 01 Jan 1970

    <h2> Azure Container Registry (ACR) </h2> Uploading to ACR

    az acr login -n $registryname


    Posted on 01 Jan 1970

    <h2> ACI - Azure Container Instances </h2> These are fun for [[docker]] build agents & (soon) [[AKS]] Pod autoscaling etc
    Posted on 01 Jan 1970

    <h2> 404 </h2> YOU ARE IN A MAZE OF TWISTING LITTLE PASSAGES, ALL DIFFERENT.
    Posted on 01 Jan 1970

    Select only some..

    A list of thing or posts I need to do.