This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Requires 3 env vars to be set: | |
| # ACCESS_TOKEN - your Travis-CI auth token. https://medium.com/@aflyingcaveman/retrieving-your-travis-ci-api-access-token-bc706b2b625a | |
| # REPO_TO_KICK - the name of the repo to kick. | |
| # OWNER_OF_REPO - your repo owner name. | |
| body='{ | |
| "request":{ | |
| "branch":"master", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: node_js | |
| node_js: | |
| - "8.9.0" | |
| branches: | |
| only: | |
| - master | |
| install: | |
| - npm install -g @angular/cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $shouldDeleteImages = Read-Host -Prompt 'Do you wish to delete all images? Default is no. (y/n)' | |
| $listOfContainers = (docker ps -a -q) | |
| if($listOfContainers) | |
| { | |
| "There are containers, they shall now be removed." | |
| docker rm $($listOfContainers) --force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--I believe the control that should actually be used is a ListBox. While ListView does indeed derive from ListBox, and the ItemTemplate property is left exposed, to actually change how the data is presented you should have changed "ListView.View" (finding out why requires some more reading on ListViews). The problem with this is that ListView.View is of type ViewBase and the only concrete implementation of ViewBase that ships with WPF is "GridView". Creating a list that looks like your picture, with a ListView, would require something like this: --> | |
| <ListView ItemsSource="{Binding MyStringList}"> | |
| <ListView.View> | |
| <GridView> | |
| <GridView.ColumnHeaderContainerStyle> | |
| <Style TargetType="GridViewColumnHeader"> | |
| <Setter Property="Visibility" Value="Collapsed" /> | |
| </Style> | |
| </GridView.ColumnHeaderContainerStyle> |
NewerOlder