docker container ls -a
docker container ls -aq
docker ps -aq --no-trunc
docker ps -aq -f status=exited
This file contains 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
POST https://quickpdf.climstech.com/api/template-to-pdf | |
Content-Type: application/json | |
{ | |
"template": "payslip", | |
"values": { | |
"month_year": "2023-04", | |
"company_logo": "https://i.imgur.com/alOBAKC.png", | |
"company_name": "Company Name", | |
"company_address1": "Address", |
This file contains 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
for i in */.git; do ( echo $i; cd $i/..; git stash && git checkout master && git pull; ); done |
This file contains 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
# Last updated: 08/24/2916 | |
# | |
# Total instructions available: 18 | |
# | |
# https://docs.docker.com/engine/reference/builder/ | |
# | |
# You can use a .dockerignore file in the same context directory as | |
# your Dockerfile to ignore files in the context before sending them | |
# to the Docker daemon for building to speed up building. |
This file contains 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
Using AngularJS | |
=============== | |
Website: [https://angularjs.org/](https://angularjs.org/) | |
Docs: [https://docs.angularjs.org/guide](https://docs.angularjs.org/guide) | |
Init with Module | |
----------- |
This file contains 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
image: openjdk:8-jdk | |
stages: | |
- build | |
- test | |
- package | |
#################################################################################################### | |
# BUILD |
This file contains 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
/// <summary> | |
/// Formats the time to user safe string. | |
/// </summary> | |
/// <param name="ts">The ts.</param> | |
/// <param name="shorthand">if set to <c>true</c> [shorthand].</param> | |
/// <returns></returns> | |
public static string ToFriendlyString1(this TimeSpan ts, bool shorthand) | |
{ | |
if(ts == TimeSpan.MaxValue || ts == TimeSpan.MinValue) | |
return "Sometime"; |