Skip to content

Instantly share code, notes, and snippets.

View gquittet's full-sized avatar
👋
Welcome

Guillaume Quittet gquittet

👋
Welcome
View GitHub Profile
@gquittet
gquittet / i18n-try.js
Last active April 10, 2023 10:51
i18n typescript try
const locale = {
"en-us": {
greetings: {
hello: "Hello {{user}} and {{user}}",
goodMorning: "Good morning"
},
cat: {
"one": "% cat",
"many": "% cats"
},
@gquittet
gquittet / macOS utilities.md
Created December 9, 2022 15:01
macOS top utilities
@gquittet
gquittet / wifi_tips.md
Created November 2, 2022 13:31
WiFi Tips

WiFi Tips

Setup

  1. Create two access points: one for 2.4 and one for 5
  2. Put all modern devices such as phone, tablet and laptop to the 5
  3. Put all IOT devices such as security camera, chromecast to the 2.4

Wifi 2.4

@gquittet
gquittet / IntelliJ IDEA.md
Last active June 7, 2024 13:55
IDEA VMOptions

IntelliJ Optimization

  • Go to Settings -> Editor -> Appearance -> Disable Show whitespaces: it helps to reduce input and scroll lag
  • Disable auto import on the fly (huge impact on performance)
  • Disable all plugins that you don't use
  • Disable all inspections that you don't need

VM Options

@gquittet
gquittet / fedora_install_tips.md
Last active May 12, 2022 06:40
Fedora Install Tips

Fedora Install Tips

GSettings

  • Enable fractional scaling

    gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
  • Eable sound over amplification.

@gquittet
gquittet / gnome-alt-tab-removal.sh
Last active April 9, 2022 19:57
Gnome Remove Alt-Tab and Alt-~
#!/usr/bin/env bash
gsettings set org.gnome.desktop.wm.keybindings switch-group-backward "['<Shift><Super>Above_Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-group "['<Super>Above_Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
@gquittet
gquittet / US Intl Fix.xml
Last active March 20, 2024 22:13
Copy this file to "%APPDATA%\JetBrains\<ProductName><ProductVersion>\jba_config\win.keymaps" or "~/.config/JetBrains/WebStorm2021.3/jba_config/linux.keymaps" (PS: Datagrip use <config_folder>/JetBrains/Datagrip<ProductVersion>/keymaps/) #### macOS use: ~/Library/Application Support/JetBrains/IntelliJIdea2/jba_config/mac.keymaps
<keymap version="1" name="Win/Linux US Intl Fix" parent="$default">
<action id="$LRU">
<keyboard-shortcut first-keystroke="ctrl k" second-keystroke="ctrl o" />
</action>
<action id="CheckinProject" />
<action id="CloseAllEditors">
<keyboard-shortcut first-keystroke="ctrl k" second-keystroke="ctrl w" />
</action>
<action id="CloseProject">
<keyboard-shortcut first-keystroke="ctrl k" second-keystroke="ctrl f" />
@gquittet
gquittet / ooshutup10.cfg
Last active February 22, 2022 21:27
Windows 10 - ShutUp config
############################################################################
# This file was created with O&O ShutUp10++ V1.9.1426
# and can be imported onto another computer.
#
# Download the application at https://www.oo-software.com/shutup10
# You can then import the file from within the program.
#
# Alternatively you can import it automatically over a command line.
# Simply use the following parameter:
# OOSU10.exe <path to file>
@gquittet
gquittet / Microsoft.PowerShell_profile.ps1
Last active February 22, 2022 21:57
PowerShell config
Set-PSReadLineOption -EditMode Emacs
Set-Alias -Name bash -Value "C:\Users\$env:UserName\scoop\apps\git\current\bin\bash.exe"
Invoke-Expression (&starship init powershell)
@gquittet
gquittet / gwsl_settings.json
Last active November 16, 2021 19:26
My settings of GWSL - fix clipboard issue
{
"conf_ver": 6,
"gwsl_ver": "1.4.0",
"general": {
"pulseaudio": false,
"clipboard": true,
"start_menu_mode": false,
"shell_gui": "cmd",
"acrylic_enabled": true
},