-
[Курсовая][2]
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
SELECT "S"."ФИО" | |
FROM "Студент" AS "S", "Результат" AS "R", | |
(SELECT "Код" FROM "Ведомость" | |
WHERE "Предмет" = 3 AND "Дата" >= {D '2007-01-01' } | |
AND "Дата" <= {D '2007-06-01' } | |
) AS "V" |
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
c() { cd ~/code/$1; } | |
_c() { _files -W ~/code -/; } | |
compdef _c c | |
h() { cd ~/$1; } | |
_h() { _files -W ~/ -/; } | |
compdef _h h | |
export EDITOR='mate -w' |
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
/*! | |
* Bootstrap v2.1.1 | |
* | |
* Copyright 2012 Twitter, Inc | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Designed and built with all the love in the world @twitter by @mdo and @fat. | |
*/ | |
.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0;} |
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
require 'railsless-deploy' | |
server 'scpfoundation.net', :web, :app, :db, primary: true | |
set :application, "hatbot" | |
set :user, "deployer" | |
set :use_sudo, false | |
set :scm, :git | |
set :ssh_options, { forward_agent: true } |
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
set -g default-terminal 'screen-256color' | |
# act like vim | |
setw -g mode-keys vi | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind-key -r C-h select-window -t :- | |
bind-key -r C-l select-window -t :+ |
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
class Logger | |
include Cinch::Plugin | |
listen_to :connect, method: :setup | |
# listen_to :disconnect, method: :cleanup | |
listen_to :channel, method: :log_message | |
listen_to :topic, method: :log_topic | |
listen_to :action, method: :log_action | |
listen_to :leaving, method: :log_leaving | |
listen_to :join, method: :log_join |
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
require "bundler/capistrano" | |
server 'scpfoundation.net', :web, :app, :db, primary: true | |
set :application, "scpfoundation" | |
set :user, "deployer" | |
set :deploy_to, "/home/#{user}/apps/#{application}" | |
set :deploy_via, :remote_cache | |
set :use_sudo, false |
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 count = function (data) { | |
var left = 0, | |
right = data.length - 1, | |
result = 0; | |
for (i = left + 1; i < right; i++) { | |
if (data[i] < data[left]) | |
result += data[left] - data[i]; | |
else | |
left = i; |
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
[ | |
{ "keys": ["home"], "command": "move_to", "args": {"to": "hardbol", "extend": false} }, | |
{ "keys": ["end"], "command": "move_to", "args": {"to": "hardeol", "extend": false} }, | |
{ "keys": ["ctrl+a"], "command": "move_to", "args": {"to": "bol", "extend": false}}, | |
{ "keys": ["ctrl+e"], "command": "move_to", "args": {"to": "eol", "extend": false}}, | |
{ "keys": ["ctrl+x","a"], "command": "select_all"}, | |
{ "keys": ["ctrl+b"], "command": "move", "args": {"by": "characters", "forward": false} }, | |
{ "keys": ["ctrl+f"], "command": "move", "args": {"by": "characters", "forward": true} }, | |
{ "keys": ["ctrl+x", "f"], "command": "show_panel", "args": {"panel": "find", "reverse": false} }, |