This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eux | |
packages="postgresql-$PGVERSION postgresql-server-dev-$PGVERSION postgresql-common" | |
# bug: http://www.postgresql.org/message-id/20130508192711.GA9243@msgid.df7cb.de | |
sudo update-alternatives --remove-all postmaster.1.gz | |
sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install $packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db_host=localhost | |
db_port=55436 | |
db_user=skel_test | |
db_name=skel_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--I stumbled upon error, when multiple inserts or updates | |
--on table with gist index on arrays fails | |
--I got "stack depth limit exceded" on update, but when I started to write this test case I did not manage to get to updates - insert fails. | |
begin; | |
create table test_gist(id serial primary key, a1 int[],a2 int[], a3 int[], a4 int[], a5 int[]); | |
create index test_gist_i on test_gist using gist (a1,a2,a3,a4,a5); | |
--Simple random array generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import BaseHTTPServer | |
import re | |
import HTMLParser | |
base_url = 'http://habrahabr.ru' | |
port = 4000 | |
class TradeMarker(HTMLParser.HTMLParser): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ищу двух человек в команду Ramax Intl. на проект по созданию распределённой отказоустойчивой роуминговой системы. | |
Команда работает удалённо, задачи в YouTrack, код и CI в Gitlab, общаемся в Slack, периодически созваниваемся по Skype. | |
Зарплаты хорошие, трудоустройство официальное, welcome короче: | |
Жду ваших резюме на sergey@melekhin.me | |
DevOps (удалённо) | |
Вы будете проектировать архитектуру, создавать и поддерживать географически распределённые катастрофоустойчивые инфраструктуры. Вы будете работать в тесном взаимодействии с командой разработчиков, обеспечивать работу CI и CD. | |
Вы дисциплинированы и не усложняете себе жизнь ручной настройкой отдельных серверов, предпочитая централизованное управление при помощи Puppet/Chef/Salt/etc.. | |
Вам придётся столкнуться с: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Before update or insert trigger | |
--fires twice when INSERT .. ON CONFLICT(uk) DO UPDATE operation | |
--fails to insert and does the update part. | |
--First it will be called with TG_OP='INSERT' | |
--and then with TG_OP='UPDATE' | |
create table t1 (x int); | |
create unique index t1_ui on t1(x); | |
create table t1_log(x int, op varchar(100), ts timestamp default clock_timestamp()); |
- 2020 Developers Sabbath: Что хуже, DRY или SOLID? https://youtu.be/1Op-Oy745dE?t=8691
- 2017 DevFest Siberia: Build a robot: https://www.youtube.com/watch?v=RYwvCIpuB-U
- 2017 I/O Recap Siberian edition: https://youtu.be/FRhuN8CsLw0?t=3h8m30s
- 2017 VLDC Lite: Docker для тестирования и деплоя https://www.youtube.com/watch?v=-zxWm-dBW_c
- 2016 Новосибирск DevFest: Светлое будущее с Machine Learning https://www.youtube.com/watch?v=wLpkbekRNGw
- 2015 Москва Pgconf.ru: https://pgconf.ru/2015/89397
- 2014 Владивосток VLDC: Халява, Плиз https://www.youtube.com/watch?v=4oGRf30rKGE
- 2012 Владивосток VLDC: Волков не бояться http://video.vvsu.ru/vieweven/id/10290852/vtoraya_vladivostokskaya_konferenciya_razrabotchikov
Задача - сделать Excel-подобную таблицу с поддержкой простейших формул. Пересчёт значений в ячейках должен происходить сразу при потере фокуса и затрагивать только те ячейки, значения которых затронуты. Пересчитывать каждый раз всю таблицу (если нет необходимости) нельзя. Использовать чистый JS (ES6), HTML, CSS. Использовать стороннние фреймворки, библиотеки не надо. Только то, что предоставляет браузер. Будет проверяться на последней версии chrome (десктопный и мобильный).
Размер таблицы пусть будет 100x1000 (ШxВ)
OlderNewer