original post http://vasnake.blogspot.com/2013/01/blog-post_24.html
Tools
Записки программиста, обо всем и ни о чем. Но, наверное, больше профессионального.
2013-01-31
Программа
original post http://vasnake.blogspot.com/2013/01/blog-post_24.html
Posted by Valentin at 18:08 0 comments
Labels: windsurfing
2013-01-30
Carve jibe
Posted by Valentin at 17:22 0 comments
Labels: windsurfing
2013-01-29
Видеоурок виндсерфинга
original post http://vasnake.blogspot.com/2013/01/blog-post_22.html
Posted by Valentin at 18:02 0 comments
Labels: windsurfing
2013-01-28
UnicodeDecodeError
original post http://vasnake.blogspot.com/2013/01/unicodedecodeerror.html
Posted by Valentin at 18:41 2 comments
Labels: python
2013-01-26
Вплавь
View moscow-hurghada in a larger map
original post http://vasnake.blogspot.com/2013/01/blog-post_26.html
Posted by Valentin at 20:39 0 comments
2013-01-24
The Twelve Factors
original post http://vasnake.blogspot.com/2013/01/the-twelve-factors.html
Posted by Valentin at 17:48 0 comments
Labels: citation, hiload, web-develop
2013-01-23
JavaScript
Рельсы — старые и тупые, а Node.js — новый офигеньчик. Но люди ненавидят Node.js из-за чрезмерного «шума». Лично для меня это выглядит забавным, потому что основной шум вокруг Node.js исходит от людей, которые ненавидят Ноду за этот шум.
Меня не удивляют рассказы о том, насколько Нода дерзкая. Когда Рельсы были в таком возрасте, они были не менее дерзкими. На RailsConf 2007 было огромное количество отличных технических докладов, но кроме того там же собралась критическая масса самовлюбленных придурков. Тогда, насколько мог, я старался игнорировать эту самовлюбленность, а теперь советую поступить так же с Нодой. И вот почему
Posted by Valentin at 17:20 0 comments
2013-01-22
List comprehensions
>>> animal_names = [animal.name for animal in list_of_animals]
>>> squares = [x*x for x in range(15)]
>>> div_by_seven = [x for x in range(100) if x%7 == 0]
>>> moods = ['sad' if person.is_alone() else 'happy' for person in people_at_party]
>>> ident_matrix = [[1 if col_index==row_index else 0 for row_index in range(4)] for col_index in range(4)]
>>> flattened = [num for row in ident_matrix for num in row]
>>> even_zeroes = [num for row in ident_matrix if ident_matrix.index(row)%2==0 for num in row if num==0]
>>> even_zeroes = []
>>> for row in ident_matrix[::2]:
>>> for val in row:
>>> even_zeroes.append(val) if val == 0 else None
original post http://vasnake.blogspot.com/2013/01/list-comprehensions.html
Posted by Valentin at 17:58 0 comments
Labels: python
2013-01-21
Про паруса
Posted by Valentin at 17:56 0 comments
Labels: windsurfing
2013-01-18
FeatureLayer
var lyr = new ESRI.ArcGIS.Client.FeatureLayer() { Url = lyrUrl, ProxyUrl = proxy };
ESRI.ArcGIS.Client.Map map = MapApplication.Current.Map;
ESRI.ArcGIS.Client.LayerCollection lyrs = map.Layers;
lyr.InitializationFailed += new EventHandler(lyr_InitializationFailed);
lyrs.Add(lyr);
MapApplication.SetLayerName(lyr, lyrName);
var lyr = new ESRI.ArcGIS.Client.FeatureLayer() { Url = lyrUrl, ProxyUrl = proxy };
lyr.OutFields.Add("*");
lyr.Mode = FeatureLayer.QueryMode.OnDemand;
lyr.Initialize();
Posted by Valentin at 19:54 0 comments
Labels: ArcGIS, GIS, howto, web-develop
2013-01-17
web crawler
Добрым человеком написан на Python паучок
для обхода сайтов. Очень простой и
маленький, один файл в 360 строк кода.
Парсинга HTML как такового нет, добыча
ссылок проводится через regexp-ы
from pholcidae import Pholcidae
class MySpider(Pholcidae):
settings = {'domain': 'www.test.com', 'start_page': '/sitemap/'}
def crawl(self, data):
print(data.url)
spider = MySpider()
spider.start()
Posted by Valentin at 18:59 0 comments
Labels: python
2013-01-16
Единая система идентификации
Posted by Valentin at 19:09 0 comments
Labels: gov.ru
2013-01-15
Рекорды
original post http://vasnake.blogspot.com/2013/01/blog-post_15.html
Posted by Valentin at 17:12 6 comments
Labels: PDA
2013-01-14
Головоног
Posted by Valentin at 17:00 0 comments
Labels: hiload
2013-01-11
Isis
Posted by Valentin at 18:03 0 comments
Labels: Java, opensource, web-develop
2013-01-10
Права и обязанности
original post http://vasnake.blogspot.com/2013/01/blog-post_10.html
Posted by Valentin at 18:28 2 comments
Labels: gov.ru
2013-01-09
На GitHub-е
- FortAwesome/FontAwesome: The iconic font designed for use with Twitter Bootstrap
- textmate/textmate: TextMate is a graphical text editor for OS X 10.7+
- meteor/meteor: Meteor, an ultra-simple, database-everywhere, data-on-the-wire, pure-Javascript web framework
- saasbook/hw3_rottenpotatoes: A project used in a free Software as a Service course taught through BerkeleyX
- ivaynberg/select2: Select2 is a jQuery based replacement for select boxes
- jkbr/httpie: HTTPie is a CLI, cURL-like tool for humans
- maker/ratchet: Prototype iPhone apps with simple HTML, CSS, and JS components
- twitter/bower: A package manager for the web
- Kicksend/mailcheck: Email domain spelling suggester
- jmechner/Prince-of-Persia-Apple-II: A running-jumping-swordfighting game for the Apple II from 1985-89
- mxcl/homebrew: The missing package manager for OS X
- rails/rails: Ruby on Rails
- CyanogenMod/android_frameworks_base: Android base frameworks
- CocoaPods/Specs: CocoaPods (cocoapods.org) specifications
- symfony/symfony: The Symfony PHP framework
- zendframework/zf2: Zend Framework
- openstack/nova: OpenStack Compute (Nova)
- saltstack/salt: Central system and configuration manager for infrastructure
- TrinityCore/TrinityCore: TrinityCore Open Source MMO Framework
- github/hubot-scripts: optional scripts for hubot, a customizable, kegerator-powered life embetterment robot
Posted by Valentin at 18:02 0 comments
Labels: opensource
Data mining
original post http://vasnake.blogspot.com/2013/01/data-mining.html
Posted by Valentin at 01:52 0 comments
Labels: Fun
2013-01-07
Визуализация
original post http://vasnake.blogspot.com/2013/01/blog-post_7.html
Posted by Valentin at 18:26 0 comments
Labels: documentation
2013-01-05
Книжка
original post http://vasnake.blogspot.com/2013/01/blog-post.html
Posted by Valentin at 16:16 0 comments
Labels: Book