Posts

Showing posts from 2017

Navicat MySQL Editor (hint) Undo, Redo

Image
How to redo, undo text (SQL) in the Navicat MySQL editor using a keyboard? Here is the answer: CTRL+Z:  Undo CTRL+Y:  Redo I hope it will be helpful to someone ;-)

Шпаргалка по значениям umask в UNIX/Linux и пару полезных ссылок

Image
Шпаргалка по значениям umask в UNIX/Linux и пару полезных ссылок Все возможные режимы umask Создание файлов с определённым режимом  (eng.) Что такое umask и как установить права на файл или директорию

Как отобразить объект JavaScript

Image
console . log ( obj ) str = JSON . stringify ( obj ); str = JSON . stringify ( obj , null , 4 ); // (Optional) beautiful indented output. console . log ( str ); // Logs output to dev tools console. alert ( str ); // Displays output using window.alert() Ссылка на Mozilla API Reference и другие примеры obj = JSON . parse ( str ); // Reverses above operation (Just in case if needed.) Источник: https://stackoverflow.com/questions/957537/how-can-i-display-a-javascript-object

Географический атлас 'Мир и человек' (1988)

Географический атлас 'Мир и человек' (1988)  on Scribd

Шикарный туториал по селекторам jQuery для новичков (link)

Image
http://anton.shevchuk.name/javascript/jquery-for-beginners-selectors/

Перенаправление вывода в linux(unix) - Output redirection in linux(unix)

Image
  echo test > afile . txt ..redirects stdout to afile.txt . This is the same as doing.. echo test 1> afile . txt To redirect stderr, you do.. echo test 2 > afile . txt >& is the syntax to redirect a stream to another file descriptor - 0 is stdin. 1 is stdout. 2 is stderr. You can redirect stdout to stderr by doing.. echo test 1 >& 2 # or echo test >&2 ..or vice versa: echo test 2 >& 1 So, in short:  2> redirects stderr to an (unspecified) file, appending &1 redirects stderr to stdout In the shell, what does “ 2>&1 ” mean?   Crontab, want to mail just errors to myself AND log output in separate file Some additional INFO: Основы системного администрирования Linux: работа с консолью Техническая библиотека IBM - Linux 101 Перенаправление вывода (википедия) Перенаправление ввода/вывода, каналы и фильтры в BASH Что значит >/dev/null 2>&1 Advanced Bash-Scripting Guide and little add...

Check your site for broken links as Crawler or Spider (useful for Linux)

Image
Check your site for broken links as Crawler or Spider (useful for Linux) http://www.pc-freak.net/blog/checking-your-website-for-broken-links-on-linux-with-linkchecker-and-htcheck-how-to-find-broken-links-on-your-website/ http://htcheck.sourceforge.net Pros: The "Spider" or "Crawler" - HTTP/1.1 compliant with persistent connections and cookies support - HTTP Basic authentication supported - HTTP Proxy support (basic authentication included) - Crawl customisable through many configuration attributes which let the user limit the digging on URLs pattern matchings and distance ("hops") from the first URL. - MySQL databases directly created by the spider - MySQL connections through user or general option files as defined by the database system (/etc/my.cnf or ~/.my.cnf) Cons:  for htcheck but not for linkcheckr : No support for Javascript and other protocols like HTTPS, FTP, NNTP and local files.

Vagrant + Windows (some useful links)

Vagrant + Windows (some useful links) Getting Started with Vagrant on Windows Change VAGRANT_HOME directory on windows   Vagrant and Windows и на закуску: 5 Easy Ways to Get Started with PHP on Vagrant   Vagrant для PHP-проекта