Ctrl+h select file tree
Ctrl+l select file editor
Shift+h left editor tab
Shift+l right editor tab
Alt+j move current line up
Alt+k move current line down
double space filename search(telescope) - `Ctrl+d` and `Ctrl+u` to scroll preview
This file contains 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 | |
sudo -v | |
################################### | |
# Updating repositories | |
# Installin Timeshift | |
# Creating a system snapshot | |
################################# |
This file contains 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
apiVersion: 1 | |
datasources: | |
- name: Postgres | |
type: postgres | |
url: localhost:5432 | |
database: grafana | |
user: grafana | |
secureJsonData: | |
password: "Password!" |
This file contains 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
network: | |
renderer: networkd | |
ethernets: | |
enp0s3: | |
dhcp4: false | |
addresses: | |
- 192.168.100.110/24 | |
nameservers: | |
addresses: [1.1.1.1, 8.8.8.8] | |
routes: |
This file contains 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
#!/usr/bin/env bash | |
while :;do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(printf "\U$(($RANDOM % 500))");sleep 0.05;done|gawk '{a[$3]=0;for (x in a){o=a[x];a[x]=a[x]+1;printf "\033[%s;%sH\033[2;32m%s",o,x,$4;printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,$4;if (a[x]>=$1){a[x]=0;}}}' |
This file contains 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
Share with your network and friends. | |
· Attack-Defense - https://attackdefense.com | |
· Alert to win - https://alf.nu/alert1 | |
· Bancocn - https://bancocn.com | |
· CTF Komodo Security - https://ctf.komodosec.com | |
· CryptoHack - https://cryptohack.org/ | |
· CMD Challenge - https://cmdchallenge.com | |
· Explotation Education - https://exploit.education | |
· Google CTF - https://lnkd.in/e46drbz8 | |
· HackTheBox - https://www.hackthebox.com |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Very simple HTTP server in python for logging requests | |
Usage:: | |
./server.py [<port>] | |
""" | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import logging | |
class S(BaseHTTPRequestHandler): |
This file contains 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
# curl -w "@curl-format.txt" -o /dev/null -s "http://wordpress.com/" | |
time_namelookup: %{time_namelookup}s\n | |
time_connect: %{time_connect}s\n | |
time_appconnect: %{time_appconnect}s\n | |
time_pretransfer: %{time_pretransfer}s\n | |
time_redirect: %{time_redirect}s\n | |
time_starttransfer: %{time_starttransfer}s\n | |
----------\n | |
time_total: %{time_total}s\n |
This file contains 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
sed -i "s/^version:.*$/version: $(git describe)/" chart/Chart.yaml | |
sed -i "s/^appVersion:.*$/appVersion: $(git describe)/" chart/Chart.yaml | |
helm upgrade app ./chart |
NewerOlder