Skip to content

Instantly share code, notes, and snippets.


JRichardsz jrichardsz

View GitHub Profile
jrichardsz / docker cron, dockercron,
Created June 11, 2023 02:08
docker cron, dockercron, crontab
View docker cron, dockercron,
RUN apt-get update
RUN apt-get install ngrep cron -y 
*/1  * * * * bash /usr/app/
jrichardsz / ReportGenerator needs
Last active May 12, 2023 23:10
Please don't use .Net c#
View ReportGenerator needs


Exclude folder from test coverage dont works

dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Exclude="[*]*Startup%2c[*]*Program%2c[*]Common*%2c[*]Api.UnitOfwork*" /p:CoverletOutput=$(pwd)/.coverage/

dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Exclude=\"[Api.Common.*]*,[xunit*]*\" /p:CoverletOutput=$(pwd)/.coverage/ && lcov-viewer lcov -o .coverage .coverage/
View Freelancing Reviews Samples
# Freelancing Reviews Samples
## Buyer Reviews to Sellers
jrichardsz / maven
Created April 10, 2023 05:45
maven helper
View maven
mvn_detect() {
maven_version=$(mvn -v > /dev/null 2>&1)
echo $status
java_detect() {
java_version=$(java -version > /dev/null 2>&1)
jrichardsz / certbot
Created April 5, 2023 06:39
ssl certificates snippets
View certbot
## docker
sudo apt-get update
sudo apt install snapd -y
sudo snap install core; sudo snap refresh core
## steps
jrichardsz / signature
Created March 31, 2023 23:06
View signature
View https cert snippets - linux cert
openssl req -new -x509 -keyout cert.pem -out cert.pem -days 365 -nodes -subj '/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/'

openssl req -new -x509 -keyout private.pem -out cert.pem -days 365 -nodes -subj '/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/'
jrichardsz / stackoverflow
Created March 27, 2023 00:16
stackoverflow tips
View stackoverflow

codo block with markdown

markdown source with ``` :