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
// http://instagram.com/<username>/media | |
function handleInstagramJSON(json){ | |
var html = []; | |
if ( json.items && json.items.length ) { | |
json.items.forEach(function(item){ | |
var img = '<img width="300" src="' + item.images.standard_resolution.url + '">'; | |
var imgLink = '<a href="' + item.link + '" target="_blank">' + img + '</a>'; | |
var date; |
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, body { | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
body { | |
font-family: Verdana, sans-serif; | |
} |
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 AMOUNT_TO_ADD = 3000; | |
function formatNumber(number, separator){ | |
var str = number.toString(); | |
var a = str.split('.')[0]; | |
var b = str.split('.')[1]; | |
var formatted = a.replace(/\d(?=(\d{3})+$)/g, "$&" + separator); | |
if ( b ) { | |
if ( b.length < 2 ) { | |
b+= '0'; |
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
(function() { | |
var send = function(url, content, type) { | |
if (type == null) | |
type = 'text/html;charset=utf-8'; | |
else | |
type = type.match(/^[^;]+/)+';charset=utf-8'; | |
var form = document.createElement('form'); | |
form.setAttribute('method', 'post'); | |
form.setAttribute('action', 'http://www.peeep.us/upload.php'); |
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
$('body').on('click', function(e){ | |
var target = $(e.target); | |
if ( !target.parents().is('.dropdown') ) { | |
$('.dropdown-list').addClass('m-hidden'); | |
} | |
}); | |
$('.dropdown-button').on('click', function(e){ | |
$(e.currentTarget) | |
.next('.dropdown-list') | |
.removeClass('m-hidden') |
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
<a class="create-test__task-evaluate button button-yellow" href="#" data-url="<%= evaluate_template_test_tasks_path(task.test.id, code: task.type_to_code) %>" data-trigger="task-evaluation" data-target="#task_initial_words_raw" data-container="#eval-container">Evaluate</a> | |
<span class="create-test__task-generate dropdown"> | |
<span class="create-test__task-generate-button dropdown-button button"> | |
Generate words | |
<i class="dropdown-button-arrow pe-7s-angle-down"></i> | |
</span> | |
<ul class="dropdown-list m-hidden"> | |
<li class="dropdown-item"> | |
<span class="dropdown-item-inner" data-value="easy">Easy</span> |
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
[ | |
{ | |
"k": 9093999, | |
"v": "vk.com" | |
}, | |
{ | |
"k": 3773207, | |
"v": "linkedin.com" | |
}, | |
{ |
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
{ | |
"status": "success", | |
"data": [ | |
{ | |
"rawData": { | |
"url": "http://saratov.hh.ru/resume/cb81068e0001e14fdd000d2f56635367374875", | |
"userId": 219, | |
"date": "2014-12-30 19:01:29.465064+00:00", | |
"_id": 469448822553051140, | |
"data": "<html id=\"js-disabled\" class=\"hidpi desktop ah-site-extension ah-site_headhunter ah-site-indent_headhunter\"><!--request: bbed40f7076dccdd55013fd1fa00e346--><head><script type=\"text/javascript\" async=\"\" src=\"http://www.google-analytics.com/plugins/ga/inpage_linkid.js\" id=\"undefined\"></script><script async=\"\" src=\"http://st.top100.ru/pack/pack.min.js\"></script><script async=\"\" src=\"http://top-fwz1.mail.ru/js/code.js\"></script><script type=\"text/javascript\" async=\"\" src=\"http://stats.g.doubleclick.net/dc.js\"></script><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><title>CIO / CTO/ ИТ д |
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
@echo OFF | |
set /P id="Copy and paste extension ID here (more details in README.txt): " | |
@echo {"name":"estaff_ah","description":"E-Staff Demo AH","path":"C:\\Program Files\\EStaff_Demo\\SpXml.exe","type":"stdio","allowed_origins":["chrome-extension://%id%/"]} > "C:\Program Files\EStaff_Demo\manifest.json" | |
REG ADD "HKCU\Software\Google\Chrome\NativeMessagingHosts\estaff_ah" /ve /t REG_SZ /d "C:\Program Files\EStaff_Demo\manifest.json" /f | |
set /P finish="AmazingHiring EStaff integration was successfully installed. Press Enter to exit." |
OlderNewer