All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.
# run command in the foreground
command
# run commend in the background
| # устанавливаем ГОСТ-овское шифрование | |
| sudo apt install libengine-gost-openssl1.1 | |
| # правим конфиг | |
| sudo nano /etc/ssl/openssl.cnf | |
| # в начало файла | |
| openssl_conf = openssl_def | |
| # в конец |
| javascript | |
| ES6ValidationInspection | |
| JSAccessibilityCheckInspection | |
| JSBitwiseOperatorUsageInspection | |
| JSCheckFunctionSignaturesInspection | |
| JSClosureCompilerSyntaxInspection | |
| JSCommentMatchesSignatureInspection | |
| JSComparisonWithNaNInspection | |
| JSConsecutiveCommasInArrayLiteralInspection |
| # ... | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| location / { | |
| root html; | |
| index index.html index.htm; | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/bash | |
| # This has to be run from master | |
| git checkout master | |
| # Update our list of remotes | |
| git fetch | |
| git remote prune origin | |
| # Remove local fully merged branches | |
| git branch --merged master | grep -v 'master$' | xargs git branch -d |
| /** | |
| * Generates the string for the Haversine function. We assume that the `zipcode`, `latitude`, | |
| * and `longitude` columns are named accordingly. We are also not doing much error-checking | |
| * here; this is a simple text cruncher to make things prettier. | |
| * We may also be integrating some extra SQL in, passed in via the $extra parameter | |
| * | |
| * @param string $table The table to search in | |
| * @param float $lat The latitude part of the reference coordinates | |
| * @param float $lng The longitude part of the reference coordinates | |
| * @param int $radius The radius to search within |