Skip to content

Instantly share code, notes, and snippets.

View fabricesemti80's full-sized avatar

Fabrice Semti fabricesemti80

View GitHub Profile
@fabricesemti80
fabricesemti80 / personal-settings.json
Last active February 3, 2022 22:35
my-winterminal-settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
@fabricesemti80
fabricesemti80 / settings.json
Last active April 12, 2022 08:18
my-vscode-settings
{
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
@fabricesemti80
fabricesemti80 / how-to-use.md
Last active February 25, 2022 12:18
my-powershell-profile

How to use the two files

# urls
$modern_gist = "https://gist.githubusercontent.com/fabricesemti80/4b1d84458d3d0cf245ca1cfcbbc0c19b/raw/c86a7f0bfb6174dfec1c517166c2754aba496dde/modern-profile.ps1"
$legacy_gist = "https://gist.githubusercontent.com/fabricesemti80/4b1d84458d3d0cf245ca1cfcbbc0c19b/raw/12447d7faf1099c30c81dfead472ab98f60aa204/legacy-profile.ps1"
# execute
Invoke-WebRequest $modern_gist -OutFile $profile.CurrentUserAllHosts 
Invoke-WebRequest $legacy_gist -OutFile "$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShellISE_profile.ps1"
Invoke-WebRequest $legacy_gist -OutFile "$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1"