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 Session = require('slackr-bot'); | |
var token = 'token for slack'; | |
var session = new Session({ | |
token: token, | |
webhookClient: { | |
token: 'token for webhook client', | |
team: 'aviasales', | |
username: 'emergency_bot' | |
} |
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
// ---- | |
// Sass (v3.3.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$color-map: (1: red, 2: blue, 3: green); | |
@each $color-i, $color-val in $color-map { | |
.foo-#{$color-i} { | |
color: $color-val |
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
[alias] | |
download = "!f() { git clone --depth 1 $1 ./git-download-tmp/; rm -rf git-download-tmp/.git/; cp -r git-download-tmp/* ./; rm -rf git-download-tmp; }; f" |
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
# Incude imageList function | |
require File.join(File.dirname(__FILE__), 'image-list.rb') |
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
div { | |
height: 100px; | |
} | |
.with-transform { | |
background: red; | |
transform: rotate(1deg); | |
} | |
.without-transform { | |
background: blue; | |
/* position: relative; */ |
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
div { | |
height: 100px; | |
} | |
.with-transform { | |
background: red; | |
transform: rotate(1deg); | |
} | |
.without-transform { | |
background: blue; | |
/* position: relative; */ |
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
body { | |
padding-top: 100px; | |
} | |
.container { | |
float:left; | |
height: 300px; | |
width: 100px; | |
border: 1px solid #000; | |
margin-right: 100px; | |
} |
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
# по модулю реврайте лучше это почитай http://sysoev.ru/nginx/docs/http/ngx_http_rewrite_module.html | |
# там есть директивы насчет $request_filename | |
location /events/i/ { | |
root /path/to/events/i/; | |
index index.php index.html; | |
# а если не существует | |
if (!-f $request_filename) { | |
rewrite ^(.*)$ /index.php?q=$1 break; | |
break; | |
} |
NewerOlder