Для оформления сообщения коммита следует использовать следующий шаблон:
<type>(<scope>): <subject>
<BLANK LINE>
<body>
alias ls='ls --color=auto' | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias dir='dir --color=auto' | |
alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
# Add an "alert" alias for long running commands. Use like so: |
#!/bin/ash | |
# ======================================================== | |
# Setup a Dumb AP for OpenWRT | |
# Tested on: Belkin RT3200 (aka. Linksys E8450) 22.03.3 | |
# Script expects factory settings | |
# Copy the script file to your /tmp folder with SCP | |
# SSH your router | |
# Type sh /tmp/dumb_ap.sh | |
# ======================================================== | |
# Disable IPv6 |
//https://stackoverflow.com/questions/18299806/how-to-check-file-mime-type-with-javascript-before-upload/29672957#29672957 | |
// Return the first few bytes of the file as a hex string | |
function getBLOBFileHeader(url, blob, callback) { | |
var fileReader = new FileReader(); | |
fileReader.onloadend = function (e) { | |
var arr = (new Uint8Array(e.target.result)).subarray(0, 4); | |
var header = ""; | |
for (var i = 0; i < arr.length; i++) { | |
header += pad(arr[i].toString(16), 2); |
#ThrottleLimit ставьте по количеству ядер CPU минус 1 ядро, чтобы не повесить ПК | |
Get-ChildItem $dir | ForEach-Object -Parallel { C:\Jpegoptim\jpegoptim.exe -m85 $_.Name } -ThrottleLimit 15 |
git log --pretty=format:==%an --numstat | \ | |
sed -r '/==.*/{s/^==//;h;D};/^$/D;s/-/0/g;s/\t[^\t]+$//;G;s/(.*)\n(.*)/\2\t\1/' \ | |
| awk -F '\t' '{add[$1]+=$2;del[$1]+=$3} END {for (i in add) {print i,add[i],del[i]}}' |
ethtool -K eno1 gso off gro off tso off tx off rx off rxvlan off txvlan off sg off | |
или | |
ethtool -G eno1 rx 4096 | |
ethtool -G eno1 tx 4096 |
127.0.0.1 yandex.ru | |
127.0.0.1 yandex.kz | |
127.0.0.1 ya.ru | |
127.0.0.1 yandex.fr | |
127.0.0.1 yandex.com | |
127.0.0.1 tv.yandex.ru | |
127.0.0.1 radio.yandex.ru | |
127.0.0.1 browser.yandex.ru | |
127.0.0.1 dialog.yandex.ru |
0.0.0.0 mail.ru | |
0.0.0.0 e.mail.ru | |
0.0.0.0 r.mail.ru | |
0.0.0.0 russia.mail.ru | |
0.0.0.0 sf.mail.ru | |
0.0.0.0 deti.mail.ru | |
0.0.0.0 widget.mail.ru | |
0.0.0.0 panzar.mail.ru | |
0.0.0.0 torg.mail.ru | |
0.0.0.0 why.mail.ru |