View gist:82f2f1898dd49cb8178acf7033d69049
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
# HELP go_gc_duration_seconds A summary of the GC invocation durations. | |
# TYPE go_gc_duration_seconds summary | |
go_gc_duration_seconds{quantile="0"} 3.7071e-05 | |
go_gc_duration_seconds{quantile="0.25"} 6.7989e-05 | |
go_gc_duration_seconds{quantile="0.5"} 7.9453e-05 | |
go_gc_duration_seconds{quantile="0.75"} 9.1909e-05 | |
go_gc_duration_seconds{quantile="1"} 0.00026005 | |
go_gc_duration_seconds_sum 0.005024303 | |
go_gc_duration_seconds_count 58 | |
# HELP go_goroutines Number of goroutines that currently exist. |
View logrus.go
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
1 package main | |
2 | |
3 import ( | |
4 "os" | |
5 | |
6 "github.com/sirupsen/logrus" | |
7 ) | |
8 | |
9 func main() { | |
10 log := logrus.New() |
View gulpfile.js
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 gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var concat = require('gulp-concat'); | |
var coffee = require('gulp-coffee'); | |
var templateCache = require('gulp-angular-templatecache'); | |
var paths = { | |
jsfolder:"../gott/src/gott/static/js", | |
cssfolder:"../gott/src/gott/static/css", | |
coffeescript: 'app/**/*.coffee', |
View access2
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
80.254.56.254 - - [17/Dec/2015:16:58:17 +0300] "GET /hls/1-17872.ts HTTP/1.1" 200 551404 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:58:21 +0300] "GET /hls/1.m3u8 HTTP/1.1" 200 259 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:58:21 +0300] "GET /hls/1-17873.ts HTTP/1.1" 200 589944 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:58:23 +0300] "GET /hls/1-17871.ts HTTP/1.1" 206 860100 "-" "VLC/2.2.1 LibVLC/2.2.1" | |
80.254.56.254 - - [17/Dec/2015:16:58:23 +0300] "GET /hls/1-17872.ts HTTP/1.1" 206 551404 "-" "VLC/2.2.1 LibVLC/2.2.1" | |
80.254.56.254 - - [17/Dec/2015:16:58:23 +0300] "GET /hls/1-17873.t |
View access
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
80.254.56.254 - - [17/Dec/2015:16:53:45 +0300] "GET /hls/1.m3u8 HTTP/1.1" 200 259 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:53:45 +0300] "GET /hls/1-17807.ts HTTP/1.1" 200 650104 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:53:49 +0300] "GET /hls/1.m3u8 HTTP/1.1" 200 259 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:53:49 +0300] "GET /hls/1-17808.ts HTTP/1.1" 200 580168 "http://212.116.123.74/hls/1.m3u8" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9" | |
80.254.56.254 - - [17/Dec/2015:16:53:53 +0300] "GET /hls/1.m3u8 HT |
View excel.py
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
# -*- coding: utf-8 -*- | |
import xlrd | |
rb = xlrd.open_workbook('OSTATKI_R.XLS',formatting_info=True,encoding_override="cp1251") | |
sheet = rb.sheet_by_index(0) | |
vals = [sheet.row_values(rownum) for rownum in range(sheet.nrows)] | |
for x in vals: | |
print(x) |
View .vimrc
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 nocompatible | |
filetype on | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'bling/vim-airline' |
View gist:e8f3dbd6bd0b3f5a5670
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
module.exports = function (grunt) { | |
var externalDeps = [ | |
"static/bower_components/angular/angular.min.js", | |
"static/bower_components/angular-ui-router/release/angular-ui-router.min.js", | |
"static/bower_components/restangular/dist/restangular.min.js" | |
]; | |
var catalogJsFiles = [ |
View host.conf
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name защекан.рф, www.защекан.рф; | |
location / { | |
proxy_cache backcache; | |
proxy_cache_bypass $http_cache_control; | |
add_header X-Proxy-Cache $upstream_cache_status; | |
proxy_pass http://grabicon.com/; |