C-x b buffer name - swith to the buffer with name name
C-x o - switch between windows
C-x 0 - close current window
C-x 1 - close all windows expect current
| import time | |
| timestr = time.strftime("%Y%m%d-%H%M%S") | |
| print(timestr) |
| @echo off | |
| :start | |
| echo %date% %time% | |
| echo Start... | |
| echo Pinging... | |
| ping 74.125.39.104 >dev.null && goto pinging || echo ping fault =^> Connect && goto dialing | |
| :redialing |
| -- superuser login | |
| sudo -u postgres psql | |
| -- exit | |
| \q | |
| -- list databases | |
| \l | |
| -- conenct database | |
| \c dbname |
| """ Iterration with counters """ | |
| monthes = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sept', 'Oct', 'Nov', 'Dec'] | |
| for idx, month in monthes: | |
| print('#{} {}'.format(idx, month) |
This instructions whall work on any system (Mac OS X, Linux) supporting installation of mkvtoolnix
If you don't have Homebrew installed, do it first, the continue with following command:
brew install mkvtoolnix
| во всех вакансиях пишут надо знать SOLID | |
| на любую должность практически (edited) | |
| ладно верстальщикам не пишут | |
| в общем складывается ощущение что солид это то без чего код не полетит | |
| и только он спасет нас | |
| sunscreed [3:38 AM] | |
| + | |
| isergius [3:39 AM] |
| -- Create a test_guru database | |
| CREATE DATABASE test_guru; | |
| -- Create a categories table with a title attribute | |
| CREATE TABLE categories ( | |
| id serial PRIMARY KEY, | |
| title varchar(50) NOT null | |
| ); | |
| -- Create a tests table with attributes: tittle, level and with an external key to the categories table |
| GET /anything HTTP/1.1 | |
| Host: httpbin.org | |
| HTTP/1.1 200 OK | |
| Connection: keep-alive | |
| Server: meinheld/0.6.1 | |
| Date: Wed, 21 Mar 2018 14:20:31 GMT | |
| Content-Type: application/json | |
| Access-Control-Allow-Origin: * | |
| Access-Control-Allow-Credentials: true |