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
| docker run --rm -it -e USERNAME=root -v /net/mapr5-nfs/mapr/mapr5/user/profiles:/etc alpine sh |
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
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: de1aeb63069824d82283d1a4f5813d96-ttd | |
| spec: | |
| template: | |
| metadata: | |
| name: de1aeb63069824d82283d1a4f5813d96-ttd | |
| spec: | |
| containers: |
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
| ps aux | awk '{mem[$11]+=int($6/1024)}; {cpuper[$11]+=$3};{memper[$11]+=$4}; END {for (i in mem) {print cpuper[i]"% ",memper[i]"% ",mem[i]" MB ",i}}' | sort -k3nr | head -n 5 |
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
| 373: Особенности списка инициализации конструктора | |
| 374: Порядок инициализации членов класса при использовании списка инициализации |
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
| func spinner(delay time.Duration) { | |
| for { | |
| for _, r := range `-\|/` { | |
| fmt.Printf("\r%c", r) | |
| time.Sleep(delay) | |
| } | |
| } | |
| } |
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
| Понимаете принципы построения распределенных систем. | |
| Понимаете JMM (java memory model). | |
| Имеете опыт работы с akka. | |
| Имеете опыт построения систем со сложной бизнес-логикой. | |
| Знаете PostgreSQL. | |
| Знаете принципы ООП, SOLID, Event-driven programming. | |
| Ваш уровень знания Scala A2/L1. |
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 gulp = require('gulp'), | |
| connect = require('connect'), | |
| http = require('http'), | |
| opn = require('opn'), | |
| rimraf = require('rimraf'), | |
| jshint = require('gulp-jshint'), | |
| uglify = require('gulp-uglify'), | |
| sass = require('gulp-sass'), | |
| cssbeautify = require('gulp-cssbeautify'), | |
| minifycss = require('gulp-minify-css'), |
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
| bool | |
| string | |
| int int8 int16 int32 int64 | |
| uint uint8 uint16 uint32 uint64 uintptr | |
| byte // alias for uint8 | |
| rune // alias for int32 |
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(){ | |
| var tmp_poll_images_ids = '#{@tmp_poll_images_ids}'; | |
| $.get( | |
| '#{new_poll_path}', | |
| { | |
| tmp_poll_images_ids : tmp_poll_images_ids | |
| }).done(function(data){$.fancybox.close();}); | |
| }) |
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
| Started GET "/instagram_media/download?instagram_photo_ids%5B%5D=694134176098273770_1212139849&instagram_photo_ids%5B%5D=694134083865528807_1212139849&upload_to=poll&album_id=" for 127.0.0.1 at 2014-04-09 18:51:54 +0400 | |
| Processing by InstagramMediaController#download as */* | |
| Parameters: {"instagram_photo_ids"=>["694134176098273770_1212139849", "694134083865528807_1212139849"], "upload_to"=>"poll", "album_id"=>"", "subdomain"=>""} | |
| User Load (2.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 | |
| (2.4ms) SELECT COUNT(*) FROM "user_authorizations" WHERE "user_authorizations"."user_id" = 1 AND "user_authorizations"."provider" = 'instagram' | |
| User::Authorization Load (4.3ms) SELECT "user_authorizations".* FROM "user_authorizations" WHERE "user_authorizations"."user_id" = 1 AND "user_authorizations"."provider" = 'instagram' LIMIT 1 | |
| (1.9ms) BEGIN | |
| SQL (2.5ms) INSERT INTO "poll_tmp_images" ("client_id", "created_at", "image", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["client_ |
NewerOlder