Skip to content

Instantly share code, notes, and snippets.

@Issykul
Issykul / html_simple_maintenance_page.html
Created February 3, 2023 13:38 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@Issykul
Issykul / deploy.sh
Last active February 3, 2023 13:59
This is a script which helps you deploy, remove and re-deploy docker stacks/services.
#!/bin/bash
# Variables
STACK_NAME="app"
COMPOSE_FILE_NAME="docker-compose.yml"
SEC_REDEPLOY=20
# Make sure the script is run with sudo permissions
if [[ "${UID}" -ne 0 ]]
then
@Issykul
Issykul / Disable_Enable_Hypervisor.md
Last active December 8, 2022 20:37 — forked from ichadhr/Disable_Enable.md
Disable/Enable Hyper-V and VT-X

If you run bcdedit with no arguments, you should see a property called hypervisorlaunchtype. This will be set to off or auto.

To disable Hyper-V in order to use VirtualBox, open a command prompt as administrator and run the command:

bcdedit /set hypervisorlaunchtype off

You’ll need to reboot, but then you’ll be all set to run VirtualBox. To turn Hyper-V back on, run:

bcdedit /set hypervisorlaunchtype auto
@Issykul
Issykul / 7zz_cheat_sheet.md
Last active February 21, 2023 23:59
A Cheat Sheet for the 7zz Linux Terminal Utility

7zz Cheat Sheet

Overview

7z [Args] [archive.7z] [files / folders to archive]

A file archiver with highest compression ratio

Args:
@Issykul
Issykul / pocket_screen_cheatsheet.md
Last active November 6, 2022 16:46 — forked from ggrandes/pocket_screen_cheatsheet.md
Pocket Screen Cheatsheet

Screen Cheatsheet / Quick Reference (Pocket Friendly)

Escape Key

All screen commands are prefixed by an escape key, by default Ctrl-a (that's Control-a, sometimes written ^a). To send a literal Ctrl-a to the programs in screen, use Ctrl-a a. This is useful when when working with screen within screen. For example Ctrl-a a n will move screen to a new window on the screen within screen.

Description Command
Basic
Start a new session with session name screen -S
@Issykul
Issykul / GPG-Simple-How-To.md
Created September 22, 2022 10:45 — forked from turboBasic/GPG-Simple-How-To.md
GPG Simple How-To #gpg
@Issykul
Issykul / tarcheatsheet.md
Last active September 13, 2022 09:07 — forked from haskaalo/tarcheatsheet.md
Tar usage / Tar Cheat Sheet

Tar Usage / Cheat Sheet

Compress a file or directory

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

  • -c: Create an archive.
  • -z: Compress the archive with gzip.
  • -v: makes tar talk a lot. Verbose output shows you all the files being archived and much.
  • -f: Allows you to specify the filename of the archive.
@Issykul
Issykul / Office 2016 ISO Links at Microsoft.md
Created July 31, 2022 20:43
Office 2016 ISO Links at Microsoft
@Issykul
Issykul / Office 2019 ISO Links at Microsoft.md
Last active July 15, 2024 18:55
Office 2019 ISO Download Links at Microsoft

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r