Skip to content

Instantly share code, notes, and snippets.

View filipelperes's full-sized avatar
🚀

Filipe Lago Peres filipelperes

🚀
View GitHub Profile
@filipelperes
filipelperes / settings.json
Last active March 28, 2025 20:02
VSCode Settings
{
"C_Cpp.inlayHints.autoDeclarationTypes.enabled": true,
"C_Cpp.inlayHints.autoDeclarationTypes.showOnLeft": true,
"C_Cpp.inlayHints.parameterNames.enabled": true,
"C_Cpp.inlayHints.parameterNames.suppressWhenArgumentContainsName": true,
"C_Cpp.inlayHints.referenceOperator.enabled": true,
"C_Cpp.inlayHints.referenceOperator.showSpace": true,
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
@filipelperes
filipelperes / ~\.hyper.js
Last active January 19, 2025 13:38
Hyper Terminal
"use strict";
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
[global_config]
title_hide_sizetext = True
title_transmit_fg_color = "#282a36"
title_transmit_bg_color = "#50fa7b"
title_receive_fg_color = "#282a36"
title_receive_bg_color = "#ff79c6"
title_inactive_fg_color = "#f8f8f2"
title_inactive_bg_color = "#44475a"
inactive_color_offset = 0.61
suppress_multiple_term_dialog = True
@filipelperes
filipelperes / ~\.config\starship.toml
Last active January 15, 2025 23:48
Starship Config
#GLOBAL
format = """
$fill\n
$sudo\
$username\
$hostname\
$shlvl\
$singularity\
$kubernetes\
$directory\
@filipelperes
filipelperes / install-fish-windows-git-bash.md
Last active March 29, 2025 19:28
Fish Shell With Starship on WIndows Git Bash

Fish Shell With Starship on Windows Git Bash

Why go through all these steps? Make things easier and simply use the 4devs menu in 🚀 All-win-1 🚀 to get it done effortlessly


Old/Manual Mode
  1. To install fish shell on Windows Git Bash, install Git and MSYS executing the following commands in powershell:
@filipelperes
filipelperes / OpenWithSublimeText.bat
Last active March 6, 2024 20:24 — forked from mrchief/LICENSE.md
Add "Open with Sublime Text" to Windows Explorer Context Menu (including folders)
@echo off
SET st2Path=C:\Program Files\Sublime Text\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
@reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f
@filipelperes
filipelperes / .zshrc
Last active March 6, 2024 13:24
My .zshrc on windows with git bash
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
source "$HOME/.zsh/spaceship/spaceship.zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
@filipelperes
filipelperes / NP1.sh
Created June 12, 2023 18:07
Pazetti NP1 shell script
clear
continuar=true
while [ $continuar=true ]; do
echo " ------------------------------------------------------------------------- "
echo "| |"
echo "|Bem vindos ao programa de Cadastro, em seguida vamos coletar seus dados. |"
echo "| |"
echo " ------------------------------------------------------------------------- "
sleep 2
@filipelperes
filipelperes / .php
Created June 3, 2022 19:45
URL Sem Extensão PHP
<?php
if(isset($_GET['url'])) {
if(file_exists($_GET['url']).'.html') {
include($_GET['url'].'.html');
} else {
include('404.html');
}
} else {
include('home.html');