Skip to content

Instantly share code, notes, and snippets.

@gunk1n
gunk1n / ssh.md
Created September 27, 2024 15:55 — forked from bradtraversy/ssh.md
🔘 SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@gunk1n
gunk1n / terminal-commands.md
Created September 27, 2024 15:55 — forked from bradtraversy/terminal-commands.md
🔘 Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@gunk1n
gunk1n / mern-server-setup.md
Created September 27, 2024 15:56 — forked from bradtraversy/mern-server-setup.md
🔘 Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@gunk1n
gunk1n / all.csv
Last active October 16, 2025 21:56 — forked from SimonJoz/all.csv
🔘 ISO-3166-Countries-with-Regional-Codes
name alpha-2 alpha-3 country-code iso_3166-2 region sub-region intermediate-region region-code sub-region-code intermediate-region-code
Afghanistan AF AFG 004 ISO 3166-2:AF Asia Southern Asia 142 034
Åland Islands AX ALA 248 ISO 3166-2:AX Europe Northern Europe 150 154
Albania AL ALB 008 ISO 3166-2:AL Europe Southern Europe 150 039
Algeria DZ DZA 012 ISO 3166-2:DZ Africa Northern Africa 002 015
American Samoa AS ASM 016 ISO 3166-2:AS Oceania Polynesia 009 061
Andorra AD AND 020 ISO 3166-2:AD Europe Southern Europe 150 039
Angola AO AGO 024 ISO 3166-2:AO Africa Sub-Saharan Africa Middle Africa 002 202 017
Anguilla AI AIA 660 ISO 3166-2:AI Americas Latin America and the Caribbean Caribbean 019 419 029
Antarctica AQ ATA 010 ISO 3166-2:AQ
@gunk1n
gunk1n / docker-compose.yml
Last active October 16, 2025 21:56 — forked from ju2wheels/docker-compose.yml
🔘 Docker-Compose reference YAML (с комментариями)
#########################################################################################################
GO-TO: https://github.com/compose-spec/compose-spec/blob/main/spec.md
#########################################################################################################
GO-TO-RAW: https://raw.githubusercontent.com/compose-spec/compose-spec/refs/heads/main/spec.md
#########################################################################################################
@gunk1n
gunk1n / css-only
Last active October 16, 2025 21:56
🔘 plug # dns.n3tw0rk.space
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
#background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
background: linear-gradient(135deg, #122D5E, #2254B0, #122D5E);
@gunk1n
gunk1n / index.html
Created October 24, 2025 06:07
#PLUG# ddos-as-is.online
<body>
<div>
<svg width="1123" height="837" viewBox="0 0 1123 837" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="1123" height="837" fill="black" />
<g id="sky" filter="url(#filter0_d)">
<rect id="background" x="30" y="26" width="1063" height="777" rx="20" fill="black" />
<g id="stars">
<path id="Vector" d="M202.12 319.2C204.937 319.2 207.22 316.917 207.22 314.1C207.22 311.283 204.937 309 202.12 309C199.303 309 197.02 311.283 197.02 314.1C197.02 316.917 199.303 319.2 202.12 319.2Z" fill="white" />
<path id="Vector_2" d="M566.12 615.2C568.937 615.2 571.22 612.917 571.22 610.1C571.22 607.283 568.937 605 566.12 605C563.303 605 561.02 607.283 561.02 610.1C561.02 612.917 563.303 615.2 566.12 615.2Z" fill="white" />
<path id="Vector_3" d="M351.12 638.95C352.694 638.95 353.97 637.674 353.97 636.1C353.97 634.526 352.694 633.25 351.12 633.25C349.546 633.25 348.27 634.526 348.27 636.1C348.27 637.674 349.546 638.95 351.12 638.95Z" fill="white"
@gunk1n
gunk1n / oh-my-hostvds-extended-v2.sh
Last active October 29, 2025 23:57
🔘 This script checks the availability of a range of IP addresses based on a specified pattern. It sends ICMP ping requests to each address in sequence and displays the results with color‑coded output.
#!/bin/bash
# Цвета
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m'
# Порты для проверки (можно изменить)
@gunk1n
gunk1n / remove-all-from-docker.md
Created October 30, 2025 12:31 — forked from tomasevich/remove-all-from-docker.md
Удалить/очистить все данные Докера (контейнеры, образы, тома и сети)

Удалить/очистить все данные Докера (контейнеры, образы, тома и сети)

Одной строкой

docker stop $(docker ps -qa) && docker rm $(docker ps -qa) && docker rmi -f $(docker images -qa) && docker volume rm $(docker volume ls -q) && docker network rm $(docker network ls -q)

Описание команд

@gunk1n
gunk1n / Redis as a Service
Created November 10, 2025 10:10 — forked from nightfox/Redis as a Service
Installing Redis Server as a service
sudo vim /etc/redis/redis.conf
Change the following lines
daemonize yes
bind 127.0.0.1
dir /var/lib/redis
wget https://gist.github.com/nightfox/8153193/raw/553c375424866e8d0d0bd5b48d23578c93031bce/redis-server