Skip to content

Instantly share code, notes, and snippets.

View pauloreis7's full-sized avatar
🏆
JS/TS | C#/.NET

Paulo Silva dos Reis pauloreis7

🏆
JS/TS | C#/.NET
View GitHub Profile
@pauloreis7
pauloreis7 / gist:376d61c27ac80ef223f4d8b0a8dc3a4b
Created February 27, 2022 17:59
Terminal $profile configs
# PowerShell settings
# Import the oh-my-posh themes and use Spaceship
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt Spaceship
# Autocomplete, keybinds and command history
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
@pauloreis7
pauloreis7 / gist:72e6e7e0d718b91652251b8ab36df59d
Created February 27, 2022 15:13
Windows Terminal JSON config
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
@pauloreis7
pauloreis7 / gist:839cb89e166e673c2b2bdd145803789f
Last active February 16, 2022 15:11
Global responsive css styles
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
//variables
}
@pauloreis7
pauloreis7 / settings.json
Last active September 28, 2022 13:24
VSCode Settings
{
"workbench.iconTheme": "material-icon-theme",
"terminal.integrated.profiles.windows": {
"WSL": {
"path": ["C:\\WINDOWS\\System32\\wsl.exe"],
"args": [],
"icon": "terminal-ubuntu"
},
"PowerShell": {
"source": "PowerShell",
@pauloreis7
pauloreis7 / webpack.config.js
Last active August 7, 2021 16:38
Webpack config
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin')
const isDevelopment = process.env.NODE_ENV !== 'production'
module.exports = {
mode: isDevelopment ? 'development' : 'production',
devtool: isDevelopment ? 'eval-source-map' : 'source-map',
entry: path.resolve(__dirname, 'src', 'index.tsx'),