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/zsh | |
# | |
# indices.sh - version 1.2 - 28/09/2024 | |
# Copyright (c) 2024 Daniel Dias Rodrigues <danieldiasr@gmail.com>. No rights | |
# reserved. | |
# | |
# This program is free software; you can redistribute it and/or modify it | |
# under the terms of the Creative Commons Zero 1.0 Universal (CC0 1.0) Public | |
# Domain Dedication (https://creativecommons.org/publicdomain/zero/1.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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import os, sys, random | |
# VARIÁVEIS | |
# Gerador de Aventuras de Espada e Feitiçaria | |
# =========================================== | |
objetivo = { 'Atacar / Matar / Destruir' : [ 'Uma pessoa importante', |
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 | |
# -*- coding: utf-8 -*- | |
import sys | |
args = sys.argv | |
def color(code, txt): | |
# 1 Red 3 Yellow 5 Purple 7 Light Gray | |
# 2 Green 4 Blue 6 Cyan (Light Blue) 8 Black | |
return '\033[3' + str(code) + 'm' + str(txt) + '\033[00m' |
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 zsh | |
################################################################################ | |
# PARAGRAPHER revision 19 | |
# By Daniel "Nerun" Rodrigues | |
# June 19, 2024 | |
# https://gist.github.com/nerun/8318924aa35f3f27231f86468804cc8c | |
# | |
# The purpose of this script is to analyze plain text files (with or without the | |
# ".txt" extension) looking for broken paragraphs, i.e., paragraphs splited in | |
# more than one line, and join them in a single very long line. |
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
{ | |
"dark": { | |
"accent": "#ac7e9a", | |
"background": "#2e3436", | |
"block": "#bdc3c7", | |
"cursor": "#3daee9", | |
"emphasis": "#8ae234", | |
"error": "#da4453", | |
"foreground": "#d3d3a9", | |
"heading": "#ca6b0d", |
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 zsh | |
############################################################################## | |
# DIÁRIO NUM TERMINAL | |
# | |
# Copyright (C) 2023, 2024 Daniel Dias Rodrigues | |
# | |
# Source code is available at: | |
# https://gist.github.com/nerun/25bad2359b873351a65c40b1d425766f | |
# | |
# This program is free software; you can redistribute it and/or modify it |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
COPYRIGHT: | |
========== | |
Gedit groff syntax highlight. A definition of the groff syntax for | |
GtkSourceView. | |
Copyright (C) 2022 - Daniel Dias Rodrigues. All rights reserved. | |
Copyright (C) 2020 - Sciancisco. All rights reserved. |
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/python3 | |
# -*- coding: utf-8 -*- | |
# | |
# PyDice.py - version 2.0 - 08 july 2024 | |
# Copyright (c) 2024 Daniel Dias Rodrigues <danieldiasr@gmail.com> | |
# | |
# This program is free software; you can redistribute it and/or modify it | |
# under the terms of the Creative Commons Zero 1.0 Universal (CC0 1.0) Public | |
# Domain Dedication (https://creativecommons.org/publicdomain/zero/1.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
#!/bin/bash | |
# First, make a copy of the original CSV file. We gonna work with the copy. | |
cp $1 $2 | |
# If no name is given for the output file, use a default. | |
if [ -z $2 ]; then | |
output='passwords_output.csv' | |
else | |
output=$2 | |
fi |
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 zsh | |
########################### | |
# ZAP | |
# By Daniel Dias Rodrigues | |
########################### | |
# Se o parâmetro for -c, compactar | |
if [[ $1 == "-c" || $1 == "c" ]]; then | |
local args=("$@") # array de argumentos |
NewerOlder