sed -n '240000,510000p' example.txt
return single line
sed -n '123{p;q}' example.txt
sed -n '240000,510000p' example.txt
return single line
sed -n '123{p;q}' example.txt
bellow commands to create zip archive containing only changed files between range of commit
diff between HEAD and specified revision number
git archive -o update.zip HEAD $(git diff --name-only GIT_REVISION_NUMBER_HASH_HERE)
diff between HEAD and previous commit only
git archive -o update.zip HEAD $(git diff --name-only HEAD^)
to crate archive from branch
git archive BRANCH_NAME -o archive.zip
Chrome text node limit of 65535 bytes, makes pages with large amount of text (or spaces), that use custom font (font loaded from google fonts for example), to blink / flash when switching pages on page load, when clicking on link to other page on site, or when refreshing page
when limit of 65535 bytes is used up, Chrome makes second text node, and this results with issue of flashing text mentioned above
more info on that can be found:
good tutorial on basic LAMP with http2 setup
this fixes problem:
The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
tree --dirsfirst | COPY
you can also exclude some directories using
tree -I 'node_modules|cache|test_*'
grep -r "search" $(dirname $HISTFILE)/history-*
TRUNCATE table table_name;
ALTER TABLE table_name AUTO_INCREMENT = 1;
tar -czvf archive_$(date +%Y-%m-%d_%H%M%S).tar.gz
_$(date +%Y-%m-%d_%H%M%S)
$(date +%Y-%m-%d_%H%M%S)