Skip to content

Instantly share code, notes, and snippets.

View denisse-dev's full-sized avatar
🐶
Dog Driven Development.

andrea denisse denisse-dev

🐶
Dog Driven Development.
View GitHub Profile
0433561f7752d8cfd250132ab4d06889827a30c7d249ec86c5c965fc59a91e7e03c4ab7941b5f265fea42e5ca3b134a7e035b7fa675b7ad24f257cdc473342ecb4
@denisse-dev
denisse-dev / neofetchlog
Created April 10, 2018 22:19
Neofetchlog
+ verbose=on
+ shift
+ [[ -n '' ]]
+ [[ on != \o\n ]]
+ get_distro
+ [[ -n '' ]]
+ case "$os" in
+ [[ -f /etc/redstar-release ]]
+ [[ -f /etc/siduction-version ]]
+ type -p lsb_release
@denisse-dev
denisse-dev / commit-loop.sh
Created August 18, 2018 02:39
Full green contribution bar to GitHub
#!/bin/bash
# Make your contribution bar green with this script, pretend you're an avid developer!
touch numbers
for i in {1..365}
do
echo "$i" >> numbers
git add -A
git commit --date=$"(`date --date="${i} day ago"`)" -am "Commit message number $i"
done
### Keybase proof
I hereby claim:
* I am da-edra on github.
* I am daedra (https://keybase.io/daedra) on keybase.
* I have a public key whose fingerprint is 66B0 172C 3F68 1000 3587 9A54 696A 86F7 D95C BD1D
To claim this, I am signing this object:
@denisse-dev
denisse-dev / broken-rofi.conf
Created August 13, 2019 17:52
Broken config
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
@denisse-dev
denisse-dev / PKGBUILD
Created September 24, 2019 18:26 — forked from shibumi/PKGBUILD
# Maintainer: Andrea 'alephZer0' Gómez <crypto.andrea at protonmail dot ch> -> https://github.com/da-edra
pkgname=arpfox
pkgver=0.9.9
pkgrel=1
pkgdesc="An arpspoof alternative written in Go that injects specially crafted ARP packets into a LAN."
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/malfunkt/arpfox"
license=('MIT')
depends=('libpcap')
@denisse-dev
denisse-dev / .xinitrc
Created November 4, 2019 04:36
.xinitrc
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
exec i3
@denisse-dev
denisse-dev / Xorg.0.log
Created November 4, 2019 04:37
Xorg.0.log
[ 11900.677] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 11900.678]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 11900.680] Build Operating System: Linux Arch Linux
[ 11900.681] Current Operating System: Linux diyu 5.3.7.b-2-hardened #1 SMP PREEMPT @1572016775 x86_64
[ 11900.681] Kernel command line: pti=on page_alloc.shuffle=1 BOOT_IMAGE=/vmlinuz-linux-hardened root=/dev/mapper/diyuGroup-root rw loglevel=3 quiet cryptdevice=UUID=74638b99-384e-470a-a830-bb47efbf7040:cryptlvm root=/dev/mapper/diyuGroup-root
[ 11900.682] Build Date: 25 October 2019 08:43:50AM
[ 11900.683]
[ 11900.683] Current version of pixman: 0.38.4
@denisse-dev
denisse-dev / cheaply dump ec2 info to csv
Created December 9, 2019 18:47 — forked from jonathanhle/cheaply dump ec2 info to csv
cheaply dump ec2 info to csv
import boto3
import csv
# define header row and start a row_list with the header present
header_row = ["account_id", "aws_region", "environment", "instance_id", "instance_name", "security_groups"]
row_list = [header_row]
regions = ["us-east-1", "us-west-2"]
# ---------------------------------------------------------------------------------------------------------------------
---
- name: Ensure a the user bouncie is created with sudo access
hosts: localhost
become: yes
tasks:
- name: Create the bouncie user
user:
name: bouncie
shell: /bin/bash
- name: Give sudo access to the bouncie user