Skip to content

Instantly share code, notes, and snippets.

View xyzkpz's full-sized avatar
😮
I may be slow to respond.

kishan.panchal xyzkpz

😮
I may be slow to respond.
View GitHub Profile

Generation of a Self Signed Certificate

Generation of a self-signed SSL certificate involves a simple 3-step procedure:

STEP 1: Create the server private key

openssl genrsa -out cert.key 2048

STEP 2: Create the certificate signing request (CSR)

openssl req -new -key cert.key -out cert.csr

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@xyzkpz
xyzkpz / install-docker-using-powershell-in-windows-server-2019
Created November 21, 2023 09:06
install docker windows server 2019
while doing installationgatting same err on windows server 2019
https://community.microfocus.com/cyberres/fortify/f/fortify-discussions/524702/docker-install-on-windows-server-2019
blog url to install docker using power shell on windows server 2019
https://learn.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=dockerce#windows-server-1
command run as admin on windows server 2019
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
.\install-docker-ce.ps1
@xyzkpz
xyzkpz / DevOps related courses with links
Created December 14, 2022 13:36 — forked from sd031/DevOps related courses with links
GCP, AWS Certification, DevOps / DevSecOps courses link that I did go through
@xyzkpz
xyzkpz / good websites
Last active June 4, 2023 10:58
good websites github actions
https://www.shellcheck.net/
https://www.emmecilab.net/blog/installiamo-e-configuriamo-helm-per-kubernetes/
https://ace.c9.io/
https://scanlibs.com/hands-github-actions-implement-applications/
@xyzkpz
xyzkpz / Email Server (Linux, Unix, Mac).md
Created October 21, 2021 05:02 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix

@xyzkpz
xyzkpz / README.md
Created October 17, 2021 15:21 — forked from hashlash/README.md
Setup Kubernetes Using Kubeadm Cheatsheet (It Just Work!)

Install a 3-Node Kubernetes Cluster on Centos 7

This setup uses 3 machines:

  1. Centos7
  2. 100GB HDD
  3. 32 GB RAM
  4. 8 CPU

All Machines

@xyzkpz
xyzkpz / GoogleDorking.md
Created September 30, 2021 09:26 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@xyzkpz
xyzkpz / Jenkinsfile
Created September 27, 2021 15:55 — forked from jonico/Jenkinsfile
Example for a full blown Jenkins pipeline script with CodeQL analysis steps, multiple stages, Kubernetes templates, shared volumes, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, Docker containers, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, …
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, yaml: """
spec:
containers:
- name: mvn
image: maven:3.3.9-jdk-8