Skip to content

Instantly share code, notes, and snippets.

View junio256's full-sized avatar
Developing

Fabio Junio junio256

Developing
View GitHub Profile
@junio256
junio256 / recunzip.sh
Last active September 12, 2023 11:19
Unzip recursivelly
#!/usr/bin/env bash
# Unzip Recursively
# -----------------
# Unzip recursively all zip files in a directory
# Usage: unzip.sh <zip_file>
#
# Set input parameters
file_path="$1"
remove="$2"
@junio256
junio256 / .rustfmt.toml
Created April 16, 2023 16:00 — forked from Robbepop/.rustfmt.toml
.rustfmt.toml with all configs, descriptions, parameters and defaults for version 0.7.1 of rustfmt.
# ----------------------------------------------------------------------------------
# r u s t f m t - C O N F I G
# ==================================================================================
#
# Version: 0.7.1
# Author : Robbepop <robbepop@web.de>
#
# A predefined .rustfmt.toml file with all configuration options and their
# associated description, possible values and default values for use in other
# projects.
@junio256
junio256 / .editorconfig
Created April 16, 2023 15:58
Default config
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
indent_size = 4
tab_width = 4
{
"Saecki/crates.nvim",
event = "BufReadPost Cargo.toml",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
smart_insert = true,
insert_closing_quote = true,
avoid_prerelease = true,
autoload = true,
autoupdate = true,

C

TODO ...

C++

TODO ...

Java

TODO ...

@junio256
junio256 / .ideavimrc
Last active June 12, 2023 23:32
Config file for IdeaVim
"" Thanks to Towards Data Science (https://towardsdatascience.com/the-essential-ideavim-remaps-291d4cd3971b)
"" To search commands Actions names, search for "IdeaVim: track action Ids"
"" You can also type :actionlist <ActionName> for the list of actions available
"" SETTINGS
"" References: https://gist.github.com/zchee/9c78f91cc5ad771c1f5d
""
set clipboard+=unnamedplus
set clipboard+=ideaput
set scrolloff=8
set sidescrolloff=8
@junio256
junio256 / nvim_tree.lua
Created July 4, 2022 20:36
The original file has tons of content that are already deprecated, so I've refactored using the actual configs.
local status_ok, nvim_tree = pcall(require, "nvim-tree")
if not status_ok then
return
end
local config_status_ok, nvim_tree_config = pcall(require, "nvim-tree.config")
if not config_status_ok then
return
end
@junio256
junio256 / [Config] babel.config.js
Last active June 12, 2022 14:17
Vite@React project pre-install
module.exports = {
presets: [
'@babel/preset-env ',
['@babel/preset-react ', {runtime: ' automatic '}],
],
}
@junio256
junio256 / .editorconfig
Last active December 6, 2022 20:51
JS/TS linters
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 90
tab_width = 4