Yes, this is total basic but still useful 🙂
git pull git checkout -b stage origin/stage
Yes, this is total basic but still useful 🙂
git pull git checkout -b stage origin/stage
Title: Jak łączyć mobile i desktop? Node.js w aplikacjach czasu rzeczywistego
Venue: Business Link Kraków, 05.08.2015
Slides: Slideshare
So, you have to use SFTP in your console? Very good article!
$ wget \ --recursive \ --no-clobber \ --page-requisites \ --html-extension \ --convert-links \ --restrict-file-names=windows \ --domains website.org \ --no-parent \ www.website.org/tutorials/html/
source: Linux Journal
Sometimes you have to remove directories from your VCS tool.
find . -name .svn -exec rm -rf {} \;
find . -name .svn -exec echo {} \;
--head
– performs HEAD http request (not GET).
curl --head https://www.wp.pl/
--get
– performs GET request
-i
– include headers
curl --get -i https://www.wp.pl/
Simple thing if you want to have min
and max
in SQL query.
ROUND((RAND() * (max-min))+min)
So, you have to copy one directory into another on your server and you don’t want to kill the machine?
Instead of
cp -r master master_copy
use
rsync --bwlimit=30000 -av master/ master_copy/
The –bwlimit=KBPS switch is for limiting I/O bandwidth.
Small thing but extremely useful. Getting context with grep
.
-C
– Print num lines of leading and trailing context surrounding each match. The default is 2 and is equivalent to -A 2 -B 2. Note: no whitespace may be given between the option and its argument.
grep -C 5 file.txt
Title: Agile w pracy agencyjnej – z dwóch perspektyw – programisty i project managera
Venue: LoGeek Night #2, 23.01.2014
Slides: Slideshare