PS> cd \path\to\Dockerfile
PS> docker build .
View running processes
| # https://docs.gitlab.com/ee/api/projects.html | |
| # https://docs.gitlab.com/ee/api/issues.html | |
| # https://docs.gitlab.com/ee/api/notes.html | |
| # Project List | |
| $r = Invoke-RestMethod -Headers @{ 'PRIVATE-TOKEN'='xxxxx' } -Uri http://xxxxx/api/v4/projects/ | |
| $r | Sort-Object -Property id | Format-Table -Property id, name | |
| # Issues List | |
| $r = Invoke-RestMethod -Headers @{ 'PRIVATE-TOKEN'='xxxxx' } -Uri http://xxxxx/api/v4/projects/<xx>/issues |
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <[email protected]> | |
| # Modified by: alirobe <[email protected]> based on my personal preferences. | |
| # Version: 2.20.2, 2018-09-14 | |
| # Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
| # Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/ | |
| # Tweak difference: | |
| # | |
| # @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |
| function Function-Name { | |
| <# | |
| .Synopsis | |
| The short function description. | |
| .Description | |
| The long function description | |
| .Example | |
| C:\PS>Function-Name -param "Param Value" | |
| This example does something |
| #!/usr/bin/env bash | |
| # Kick off with sudo request | |
| sudo -v | |
| # Keep-alive: update existing sudo time stamp if set, otherwise do nothing. | |
| while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & | |
| # Kill sudo when done, no password required: | |
| sudo -k |
| #!/usr/bin/env bash | |
| brew update | |
| brew cask update | |
| casks=( $(brew cask list) ) | |
| for cask in ${casks[@]} | |
| do | |
| # in the first line there is version |
| (* | |
| "Album Rating Reset" for iTunes | |
| written by Doug Adams | |
| [email protected] | |
| v1.0 sept 6 2007 | |
| -- initial release | |
| v2.0 mar 6 2013 | |
| updated by Dhiraj Gupta (http://www.dhirajgupta.com) |