This file contains hidden or 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
[ | |
{ | |
"property": { | |
"name": "<b>node1.1</b>" | |
}, | |
"type": "book" | |
}, | |
{ | |
"property": { | |
"name": "drag me! sorry imposible", |
This file contains hidden or 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
1. Билеты, купленные сильно заранее, дешевле только у лоукостов. | |
2. Чтоб купить дешево билет в нормальной компании, нужно заранее мониторить ценообразование. | |
3. Часто цена на билет может упасть примерно за 2 недели до вылета, а потом за несколько дней до вылета снова может вырасти. | |
4. Цена по одним направлениям в разные сезоны у разных авиакомпаний может быть разная. | |
5. Часто цена на momondo, expedia и aviasales ниже, чем на сайте авиакомпании. Но не всегда. | |
В аэропорту | |
6. Часто можно зарегистрироваться на стойке для бизнес класса, если там никого нет. | |
7. Большинство людей в аэропорту следуют общему потоку. |
1px = dp * (dpi / 160)
This file contains hidden or 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
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
This file contains hidden or 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
!function( $ ){ | |
"use strict" | |
var Taggable = function ( element, options ) { | |
this.$element = $(element); | |
this.options = $.extend({}, $.fn.taggable.defaults, options); | |
this.initialize(); | |
} | |
Taggable.prototype = { |
This file contains hidden or 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
/* | |
* Copyright 2012 Roman Nurik | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
Install prerequisites:
$ sudo apt-get install build-essential pkg-config checkinstall git-core avahi-daemon libavahi-client-dev
Download src:
$ cd /usr/local/src
$ git clone git://netatalk.git.sourceforge.net/gitroot/netatalk/netatalk
$ cd netatalk
$ ./bootstrap
This file contains hidden or 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
$ tar xvf netatalk-3.0.5.tar.bz2 | |
$ cd netatalk-3.0.5 | |
$ ./configure \ | |
--with-init-style=debian \ | |
--with-cracklib \ | |
--without-libevent \ | |
--with-pam-confdir=/etc/pam.d \ | |
--with-dbus-sysconf-dir=/etc/dbus-1/system.d | |
$ checkinstall --pkgname=netatalk-3.x --pkgversion="$(date +%Y%m%d%H%M)" --backup=no --deldoc=yes --default --fstrans=no |