I hereby claim:
- I am andronov04 on github.
- I am andronov04 (https://keybase.io/andronov04) on keybase.
- I have a public key ASBuFTKxe5wQD20oLsdmwhmBk4yQtbzf02fWjFppwq20Jwo
To claim this, I am signing this object:
<div class="indicator"> | |
<output name="result" for="completion">50</output> | |
</div> | |
<input id="completion" type="range" min="0" max="100"> |
My Awesome Sketch | |
First State | |
some event -> Second State | |
Second State |
I am attesting that this GitHub handle andronov04 is linked to the Tezos account tz1iChpqVTi68JTcbpmmVnD9yfXxe2UxTkZL for tzprofiles | |
sig:edsigtj3GvAyPUGBXTQjoSEjGbJm2p5fJpQXjLZPxgfY4PHydzbZGWcBz8akTQ4RL8iZyiMmhPhTmBVmoFqym5zj1KPnfMwe1c2 |
Товарищи, идея такова. | |
Сервис - "Найди свою тачку бро на Яндекс.Панораме" | |
Смысл: | |
Человечек заходить, вбивает в форму номер типа Х100АМ55 и жмет "Найти", если находить кидает координаты и вуаля, он видеть себя в 2012 едущим по трешки с любовницей. | |
Короче, как все знаете яндекс на панорамах не замазывает номера у автомобилей. | |
Вкратце, необходимо написать бота что бы он прошел по маршрутам и с помощью ML прочитал номера тачек и сохранил в бэдешечку номер и координаты. |
I hereby claim:
To claim this, I am signing this object:
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
#!/bin/bash | |
# from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
# and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
############################################### | |
# To use: | |
# wget https://raw.github.com/gist/2776679/04ca3bbb9f085b192f6aca945120fe12d59f15f9/install-redis.sh | |
# chmod 777 install-redis.sh | |
# ./install-redis.sh | |
############################################### | |
echo "*****************************************" |
""" | |
This is a simple example of WebSocket + Tornado + Redis Pub/Sub usage. | |
Do not forget to replace YOURSERVER by the correct value. | |
Keep in mind that you need the *very latest* version of your web browser. | |
You also need to add Jacob Kristhammar's websocket implementation to Tornado: | |
Grab it here: | |
http://gist.github.com/526746 | |
Or clone my fork of Tornado with websocket included: | |
http://github.com/pelletier/tornado | |
Oh and the Pub/Sub protocol is only available in Redis 2.0.0: |