defaults read com.apple.dock tilesize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edition = "2021" | |
imports_layout = "Vertical" | |
imports_granularity = "Crate" | |
group_imports = "StdExternalCrate" |
https://bolknote.ru/all/4085/#comments
~/Library/Preferences/com.apple.HIToolbox.plist
plutil -convert xml1 com.apple.HIToolbox.plist
- Вычищаем все внутри которых есть упоминание раскладки, которая вам не нужна и сохраняем
plutil -convert binary1 com.apple.HIToolbox.plist
- Перезагружаемся
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MacOS: `ssh-add -K` | |
Host * | |
AddKeysToAgent yes | |
UseKeychain yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $HOME/.tigrc | |
bind diff <Up> move-up | |
bind diff <Down> move-down | |
bind stage <Up> move-up | |
bind stage <Down> move-down | |
set main-view = date:local=yes author:full commit-title:graph=yes,refs=yes,overflow=72 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ul v-for="r in reddits"> | |
<li><h4>{{r.title}}</h4><p>{{r.text}}</p></li> | |
</ul> | |
</template> | |
<script> | |
import { retrieveReddits } from './data'; // No nedd to specify js extension here. It will be added implicitely | |
export default { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Runs `go mod tidy` first. | |
# Then checks for modified but not staged `go.mod` & `go.sum` fileds. | |
exec 1>&2 | |
go mod tidy | |
gm=`git status --porcelain -- go.mod` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from here https://forums.kali.org/showthread.php?36275-Help-with-nmcli-and-connecting-to-specific-bssid-(error-53)&s=4a6691e9f86f22d4913fa5c5218c233f&p=71337#post71337 | |
sudo nmcli dev status | |
sudo nmcli dev wifi list | |
sudo nmcli con add con-name <My_profile_name> ifname <My_interface> type wifi ssid <My_eSSID> | |
sudo nmcli con modify <My_profile_name> wifi-sec.key-mgmt wpa-psk | |
sudo nmcli con modify <My_profile_name> wifi-sec.psk <My_WiFi_WPA_key> | |
sudo nmcli connection up <My_profile_name> | |
sudo nmcli -p c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gtf 1600 900 60 | |
# Output ModelLine "Name" val1 val2 etc... | |
sudo xrandr --new mode "Name" val1 val2 ... | |
sudo xrandr --addmode Virtual1 "Name" |
NewerOlder