Пешеходные зоны
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
set :application, "simonenko.su" | |
set :node_file, "server.coffee" | |
set :host, "178.79.189.200" | |
set :repository, "[email protected]:meritt/simonenko.su.git" | |
set :user, "root" | |
set :admin_runner, "www" | |
set :scm, :git | |
set :branch, "master" | |
set :deploy_via, :remote_cache |
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
<!-- Twitter --> | |
<a href="http://twitter.com/share" class="twitter-share-button" data-lang="ru" data-url="http://simonenko.su">Tweet</a> | |
<!-- Facebook Like --> | |
<div class="fb-like" data-href="http://simonenko.su" data-layout="button_count" data-send="false" data-show-faces="true"></div> | |
<!-- Google +1 --> | |
<div class="g-plusone" data-href="http://simonenko.su"></div> | |
<!-- ВКонтакте "Мне нравится" --> |
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
[PHP] | |
;;;;;;;;;;;;;;;;;;;; | |
; Language Options ; | |
;;;;;;;;;;;;;;;;;;;; | |
engine = On | |
short_open_tag = Off | |
asp_tags = Off | |
precision = 14 |
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
<?php | |
trait Hello | |
{ | |
public function sayHello() | |
{ | |
echo 'Hello '; | |
} | |
} |
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
var socket = io.connect('http://127.0.0.1:8080'); | |
socket.on('connect', function() { | |
socket.on('message', function(tweet) { | |
var tweet = JSON.parse(tweet), content = ''; | |
content = '<div class="name">' + tweet.name + '</div>'; | |
content += '<div class="text">' + tweet.text + '</div>'; | |
$('#tweets').prepend(content); | |
}); |
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
function isRetina() { | |
return (('devicePixelRatio' in window && devicePixelRatio > 1) || ('matchMedia' in window && matchMedia("(-moz-device-pixel-ratio:1.0)").matches)); | |
} |
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
options = {} unless options? | |
options.type = type if type? |
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
body { | |
font: 25px/1 Arial; | |
} |