Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat
Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.
1. Edit ~/.bash_profile and add the following line to show full path before the $ prompt. | |
For example, as user@hostname:path/to/directory$ | |
# show path before the $ prompt | |
export PS1='\u@\H:\w$ ' | |
2. Save file and restart terminal or run source command | |
$ source ~/.bash_profile |
{ | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es6", | |
"baseUrl": ".", | |
"paths": { | |
"common/*": ["./src/common/*"], | |
"core/*": ["./src/core/*"] | |
} | |
}, |
proxy http://{proxy_server}:{proxy_port} | |
https-proxy http://{proxy_server}:{proxy_port} | |
strict-ssl=false |
{ | |
"title": "Language toggler", | |
"rules": [ | |
{ | |
"description": "Language toggler on SHIFTS", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "input_source_if", |
# WSL2 network port forwarding script v1 | |
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
# written by Daehyuk Ahn, Aug-1-2020 | |
# Display all portproxy information | |
If ($Args[0] -eq "list") { | |
netsh interface portproxy show v4tov4; | |
exit; | |
} |
# Know the id of the username in the original distro that was exported | |
wsl -d Ubuntu-20.04 -u kartz -e id -u | |
# Outputs 1000 | |
# Knowing the id of the username in the distro that was created by importing the tar image | |
wsl -d Ubuntu-20 -u kartz -e id -u | |
# Outputs 1000 | |
# I would want to use this distroname and id, to set this user as the default login profile of WSL. | |
# I set this up in Windows Registry with the line snippet below: |
Settings: System Preferences » Keyboard » Key Repeat/Delay Until Repeat
Use the commands below to increase the key repeat rate on macOS beyond the possible settings via the user interface. The changes aren't applied until you restart your computer.
This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
which git
Here is my recipe how to speed up WebStorm: | |
Go to Preferences and do next: | |
Appearance & Behaviour > System Settings > Updates: disable auto update | |
Appearance & Behaviour > System Settings > Using Statistics: Uncheck allowing sending data | |
Editor > Live Templates: disable all, leave only what you are really use | |
Editor > Emmet: disable all emmets | |
Editor > Intentions: I leave only: CSS, Declaration, JavaScript and Language Injection | |
Plugins: leave only next (* - can be also disabled in case don't need them): | |
CoffeeScript * |
#!/bin/sh | |
echo Disabling vpnagentd... | |
sudo launchctl disable system/com.cisco.anyconnect.vpnagentd | |
echo Tearing down vpnagentd... | |
sudo launchctl bootout system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist | |
echo Deactivating Cisco AnyConnect Socket Filter Extension... | |
/Applications/Cisco/Cisco\ AnyConnect\ Socket\ Filter.app/Contents/MacOS/Cisco\ AnyConnect\ Socket\ Filter -deactivateExt |