| IPv4 Addr | IPv6 Addr | ASn | Political Region | Loc | Svc | Org |
|---|---|---|---|---|---|---|
| 8.8.8.8 | 2001:4860:4860::8888 | AS15169 | US | Worldwide (Anycast) | Google Public DNS | |
| 8.8.4.4 | 2001:4860:4860::8844 | AS15169 | US | Worldwide (Anycast) | Google Public DNS | |
| 77.88.8.8 | 2a02:6b8::feed:0ff | AS13238 | RU | Worldwide (Anycast) | Yandex.DNS | Yandex |
| 77.88.8.1 | 2a02:6b8:0:1::feed:0ff | AS13238 | RU | Worldwide (Anycast) | Yandex.DNS | Yandex |
| 1.1.1.1 | 2606:4700:4700::1111 | AS13335 | US | *Worldwide |
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
| def list_element_multiplection(list_1,list_2): #create a funtion | |
| final='' #taking a empty string | |
| for a in list_1: #run loop 1 (2 and 3) | |
| for b in list_2: # run loop 2 (1,5,6) | |
| final+=f'({a},{b}),' #combine them one by one (2,1),(2,5),(2,6) | |
| return '{'+final[:-1]+'}' #removing the last extra comma and convert into string | |
| a = [2,3] # list one |
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
| import os | |
| import time | |
| while True: | |
| os.system("rm -rf ./nohup.out") | |
| os.system("git add .") | |
| os.system("git commit -m \"auto commit\"") | |
| os.system("git status") | |
| os.system("git push") | |
| time.sleep(60) |
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
| import socket | |
| def scan_ports(host, start_port, end_port, ssh_ports): | |
| open_ports = [] | |
| for port in range(start_port, end_port + 1): | |
| try: | |
| with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: | |
| s.settimeout(0.1) # Set a timeout to speed up scanning | |
| result = s.connect_ex((host, port)) | |
| if result == 0: |
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
| #rename mongo-compose.yml to compose.yml | |
| version: '3.1' | |
| networks: | |
| db_network: | |
| driver: bridge | |
| ipam: | |
| driver: default | |
| config: | |
| - subnet: 172.18.0.0/16 | |
| # create a docker network |
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
| deb http://deb.debian.org/debian bullseye main contrib non-free | |
| deb-src http://deb.debian.org/debian bullseye main contrib non-free | |
| deb http://deb.debian.org/debian bullseye-updates main contrib non-free | |
| deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free | |
| deb http://deb.debian.org/debian bullseye-backports main contrib non-free | |
| deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free | |
| deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free |
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
| FROM node:latest | |
| WORKDIR /app | |
| COPY . . | |
| RUN apt update; apt install nodejs npm -y | |
| RUN npm install | |
| RUN npm install -g nodemon |
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
| # Replace {user} with your linux username | |
| # e.g. @reboot /home/{user}/.start_vnc.sh -> @reboot /home/lenevo/.start_vnc.sh | |
| sudo apt install task-gnome-desktop #debian | |
| sudo apt install ubuntu-gnome-desktop #ubuntu | |
| sudo apt install kali-desktop-gnome #ubuntu | |
| #install gnome | |
| sudo apt install tigervnc-standalone-server tigervnc-common git dbus-x11 | |
| #install tigervnc |
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 | |
| # example: nmapw (nmap wrapper) , a wrapper that does wrap another bash file over actual program | |
| echo 'Nmap Starting......' | |
| nmap "$@" | |
| echo 'Bye! See You Next Time......' | |
| # wnmap localhost -p- => nmap localhost -p- | |
| # wnmap -A localhost -p 80,8001 => nmap -A localhost -p 80,8001 | |
Here’s a detailed table of enterprise-grade examples for Git commit messages tailored for large-scale solutions, considering high collaboration, scalability, and maintainability:
| Type | Description (When to Use) | Commit Message Example |
|---|---|---|
| feat | For introducing a new feature with clear business value. | feat: implement multi-tenant support for enterprise clients |
| fix | For resolving critical bugs or production issues. | fix: address race condition in payment processing workflow |
| docs | For |
OlderNewer