- https://mkechinov.com
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://spb.hh.ru/vacancy/9856893 | |
| Попробуйте для начала выполнить небольшое тестовое задание. | |
| Задача: | |
| 1. Найти информацию о пяти директорах нашей компании: ФИО, должность, контактная информация (телефон или e-mail). | |
| 2. Прислать эту информацию, а также свои ФИО, ссылку на резюме и сопроводительное письмо на e-mail исполнительного директора. | |
| Итого, формат вашего письма: |
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 source = ''; | |
| var medium = ''; | |
| var campaign = ''; | |
| var q = document.location.search; | |
| q = q.substring(1,q.length); | |
| q = q.split('&'); | |
| for(var a in q) { | |
| if (q.hasOwnProperty(a)){ | |
| var b = q.split(''); |
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
| Order Load (14.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."shop_id" = $1 AND (date >= '2013-12-02 00:00:00.000000' and date <= '2013-12-02 23:59:59.999999') ORDER BY "orders"."date" ASC [["shop_id", 1]] | |
| Item Load (1.4ms) SELECT "items".* FROM "items" INNER JOIN "order_items" ON "items"."id" = "order_items"."item_id" WHERE "order_items"."order_id" = $1 [["order_id", 1445]] | |
| OrderItem Load (1.2ms) SELECT "order_items".* FROM "order_items" WHERE "order_items"."item_id" = $1 AND "order_items"."order_id" = 1445 LIMIT 1 [["item_id", 4548]] | |
| Item Load (1.7ms) SELECT "items".* FROM "items" INNER JOIN "order_items" ON "items"."id" = "order_items"."item_id" WHERE "order_items"."order_id" = $1 [["order_id", 1446]] | |
| OrderItem Load (1.1ms) SELECT "order_items".* FROM "order_items" WHERE "order_items"."item_id" = $1 AND "order_items"."order_id" = 1446 LIMIT 1 [["item_id", 5391]] | |
| Item Load (1.1ms) SELECT "items".* FROM "items" INNER JOIN "order_items" ON "items"."id" = "order_items"."item_id" WHE |
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
| @Override | |
| public SimpleItemItemModel get() { | |
| // Get the transposed rating matrix | |
| // This gives us a map of item IDs to those items' rating vectors | |
| Map<Long, ImmutableSparseVector> itemVectors = getItemVectors(); | |
| // Get all items - you might find this useful | |
| LongSortedSet items = LongUtils.packedSet(itemVectors.keySet()); | |
| // Map items to vectors of item similarities |
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
| app_id = "XXX"; | |
| app_secret = "YYY"; | |
| @oauth = Koala::Facebook::OAuth.new(app_id, app_secret) | |
| app_oauth_token = @oauth.get_app_access_token | |
| graph = Koala::Facebook::API.new(app_oauth_token) | |
| while(true) do |
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
| #!/usr/bin/env ruby | |
| root = File.expand_path(File.dirname(__FILE__)) | |
| root = File.dirname(root) until File.exists?(File.join(root, 'config')) | |
| Dir.chdir(root) | |
| require File.join(root, "config", "environment") | |
| require 'tweetstream' |
NewerOlder