Skip to content

Instantly share code, notes, and snippets.

View l0nax's full-sized avatar

Emanuel Bennici l0nax

View GitHub Profile
@pichuang
pichuang / etc_sysconfig_gitlab
Created December 20, 2019 16:12
Running GitLab Container with podman and systemd
IMAGE=docker.io/gitlab/gitlab-ce:12.2.0-ce.0
HOSTNAME=gitlab.pichuang.local
NAME=gitlab-ce
@rarecoil
rarecoil / rx5700xt-bench.txt
Created September 16, 2019 19:12
AMD Radeon RX 5700 XT Reference Card - hashcat 5.1.0 benchmark
hashcat (v5.1.0-1397-g7f4df9eb) starting in benchmark mode...
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
/sys/bus/pci/devices/0000:23:00.0/hwmon/hwmon0/temp1_input: unexpected data.
OpenCL API (OpenCL 2.1 AMD-APP (2906.7)) - Platform #1 [Advanced Micro Devices, Inc.]
@graffic
graffic / steam.md
Last active December 28, 2023 03:09
Downloading steam games from another computer/faster line

Framing the issue

With almost no bandwith at home, I needed a way to download DOOM that didn't involve blocking the home internet line for two days.

Approach

Using steamcmd you can use any computer to download steam games.

Downloading

  1. Install it
  2. Open it and loging with your username and password: login username password
@surhudm
surhudm / GNUPG_agent_forwarding.md
Last active February 18, 2022 17:50
GNUPG agent forwarding

Forward GNUPG agent with the following steps:

On the remote insecure machine:

Run gpg once to create the directory structure.

gpg --list-keys

On the local machine:

@eyecatchup
eyecatchup / git-commit-log-stats.md
Last active May 22, 2024 12:19
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@CMCDragonkai
CMCDragonkai / typeofvar.sh
Last active May 19, 2023 01:00
Bash: Get the type of a variable
#!/usr/bin/env bash
typeofvar () {
local type_signature=$(declare -p "$1" 2>/dev/null)
if [[ "$type_signature" =~ "declare --" ]]; then
printf "string"
elif [[ "$type_signature" =~ "declare -a" ]]; then
printf "array"
@waj
waj / bitbucket-matrix.html
Created November 1, 2011 03:29
Display a matrix with the permissions of your bitbucket repositories
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<style>
body, table {
font-family: verdana;
font-size: 8pt;
}
table, td {