Skip to content

Instantly share code, notes, and snippets.

View k4yt3x's full-sized avatar
Working on too many projects.

K4YT3X k4yt3x

Working on too many projects.
View GitHub Profile
@k4yt3x
k4yt3x / vimrc
Last active June 22, 2021 09:12
K4YT3X's Personal vimrc
" Name: K4YT3X Personal vimrc
" Author: K4YT3X
" Date Created: September 4, 2017
" Last Modified: June 22, 2021
" (C) K4YT3X 2017-2021
" All rights reserved
" Gist Page: https://gist.github.com/k4yt3x/6357efea916122c66746232c17e4d829
" Short URL: k4t.io/v
" Quick Install: curl -L k4t.io/v -o ~/.vimrc
@k4yt3x
k4yt3x / ipinfo.md
Last active May 25, 2021 07:20
IPInfo IP Information Lookup Script

ipinfo

Description

ipinfo fetches and parses current or specified IP address information.

Screenshots

image

@k4yt3x
k4yt3x / ipr.md
Last active August 11, 2020 13:05
ipr: A shell alias that will simplify your "ip route" output

ipr

Description

ipr is a shell function that will display the distilled informaiton from the ip r command.

Screenshots

image

@k4yt3x
k4yt3x / ipa.md
Last active October 11, 2022 21:19
ipa: A shell alias that will simplify your "ip address" output

ipa

Description

ipa is a shell function that will display the distilled informaiton from the ip a command.

Screenshots

image

@k4yt3x
k4yt3x / elk-apache-example.md
Last active June 6, 2020 02:28
ELK Stack Example Apache Logs Import

Getting Started with Elastic Stack for Apache Logs

This document is an updated version of the official guide. The official guide is designed for ELK version 6.0, where as when this tutorial is written, the newest version of the ELK stack is 7.5.1.

This example provides sample files to ingest, analyze & visualize Apache Access Logs using the Elastic Stack, i.e. Elasticsearch, Filebeat and Kibana. The sample logs in this example are in the default apache combined log format.

In order to achieve this we use the Filebeat Apache module per Elastic Stack best practices.

Historically this example used Logstash. This configuration is provided for reference only.

@k4yt3x
k4yt3x / debian-elk-install.md
Last active January 17, 2020 00:49
Debian ELK Installation

Debian ELK Installation

This tutorial will guide you through the installation of ELK stack on Debian 10.

Compatibility

This tutorial is tested to be working with the following software versions on January 13, 2020.

  • Debian: 10
  • Elasticsearch: 7.5.1
@k4yt3x
k4yt3x / arch-linux-install.md
Last active June 16, 2020 09:41 — forked from kylemanna/arch-linux-install.md
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
@k4yt3x
k4yt3x / zshrc
Last active November 7, 2024 23:20
K4YT3X Server/Community zshrc
# K4YT3X Server/Community Zshrc
# Version: 2024.11.07
# Copyright (C) 2017-2024 K4YT3X.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@k4yt3x
k4yt3x / mtproxy_debian_deploy.sh
Last active December 7, 2018 05:17
This is a script that will help you easily deploy MTProxy on a Debian server.
#!/bin/bash -e
# Name: MTProxy Debian Quick Deploy Script
# Author: K4YT3X
# Date Created: December 3, 2018
# Last Modified: December 7, 2018
version="1.0.1"
echo "MTProxy Debian Quick Deploy Script $version"
echo "(C) 2018 K4YT3X"

Keybase proof

I hereby claim:

  • I am k4yt3x on github.
  • I am k4yt3x (https://keybase.io/k4yt3x) on keybase.
  • I have a public key ASCnwF8DYmlHBZlCjK-xoBDPxSCzOS9bqJkUdPMmkxyhWAo

To claim this, I am signing this object: