- Strong OOP/OOD
- Опыт программирования от 5 лет
- Опыт Ruby/Rails от 2 лет
- TDD/BDD
- RDBMS (желательно MySQL)
- HTML/CSS на базовом уровне
- Be Smart, Be Quick, Be responsible
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
require 'spec_helper' | |
# Ensure css files are authored properly and use image_url instead of url() | |
# We need this so the assets have hashes in the url for cache-busting | |
describe "CssTest" do | |
Dir.glob(File.join(Rails.root, 'app/stylesheets/*.s?ss')) do |css_file| | |
context "scss/sass file #{css_file}" do | |
it "should not use 'url'(should use image_url/absolute_image_url/absolute_server_url)" do | |
File.open(css_file).each_with_index do |line, i| |
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
SITE NAME - USED ASSETS - TOTAL ASSETS | |
shutterfly - 142 - 526 | |
linio-mx-testing - 142 - 373 | |
toms-testing - 107 - 137 | |
bonobos - 105 - 168 | |
pavel - 85 - 625 | |
diamond-candles - 65 - 117 | |
blivakker-no - 55 - 92 | |
zozi - 54 - 85 |
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
<%- elements.group_by{|value, _, _| form.object.column_by_name(value).options[:group]}.each do |group, options| -%> | |
<%= group.humanize %> | |
<% options.each do |value, label, checked| %> | |
<%- id = [form.object_name, filter.name, value].join('_').underscore -%> | |
<%= form.label filter.name, options.merge(:for => id) do -%> | |
<%= form.check_box(filter.name, form.datagrid_extra_checkbox_options.merge(:multiple => true, :id => id, :checked => checked), value.to_s, nil) -%> | |
<%= text -%> | |
<%- end -%> | |
<%- end -%> | |
<%- end -%> |
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
development >> puts Campaign.group("length(name)").count.sb {first}.mp {join("-")}.to_yaml | |
(5.6ms) SELECT COUNT(*) AS count_all, length(name) AS length_name FROM `campaigns` GROUP BY length(name) | |
--- | |
- 1-4 | |
- 2-15 | |
- 3-28 | |
- 4-68 | |
- 5-46 | |
- 6-55 | |
- 7-78 |
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
<html> | |
<head> | |
</head> | |
<body> | |
<script style="text/javascript"> | |
var member = { |
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
require "diffbench" | |
require "bundler" | |
Bundler.setup | |
$:.unshift "./lib" | |
require "action_view/test_case" | |
# Running benchmark with current working tree | |
# Checkout HEAD^ | |
# Running benchmark with HEAD^ |
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
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.io.UnsupportedEncodingException; | |
import java.security.*; | |
public class HelloWorld{ | |
public static void main(String []args) | |
throws UnsupportedEncodingException, NoSuchAlgorithmException { | |
String digest = hash256("ef591fbbc527d77402d9a10dba92c195|approve-developer|developer@example.com|developer@example.com|2014-01-01T00:00:00+00:00"); |
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
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.io.UnsupportedEncodingException; | |
import java.security.*; | |
public class HelloWorld { | |
public static void main(String []args) | |
throws UnsupportedEncodingException, NoSuchAlgorithmException { |
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
#signupFlowHeader | |
- signup_flow_step 1 do | |
%h3 1. Register Store | |
- signup_flow_step 2 do | |
%h3 2. Integrate Curebit | |
- signup_flow_step 3, 4 do | |
%h3 3. Setup Campaign | |
.alert.alert-warning{:class => "step#{current_signup_flow_step}"} | |
- case current_signup_flow_step | |
- when 1: |