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
for entry in */page.md | |
do | |
echo "$entry" | |
cat "$entry" | grep 'has_languages' | |
done |
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
#!/bin/sh | |
if [[ $? -gt 0 ]]; then | |
echo "Not Mac" | |
else | |
echo "This is Mac" | |
fi |
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
#!/usr/bin/env bash | |
IFS=$'\n' read -d '' -r -a filesArray < /Users/miketsvik/Downloads/Photo_archive/2018_2019/44/photos.rtf | |
#echo "${filesArray[@]}" | |
for fn in ${filesArray[@]}; do | |
#echo "the next file is $fn" | |
mv /Users/miketsvik/Downloads/Photo_archive/2018_2019/44/$fn /Users/miketsvik/Downloads/Photo_archive/2018_2019/44/new/$fn | |
done | |
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
Array.prototype.forEach.call( | |
document.querySelectorAll('.sold-out'), function(el){ | |
el.parentElement.style.display = 'none' | |
} | |
) |
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
{ | |
"disclaimer": "Usage subject to terms: https://openexchangerates.org/terms", | |
"license": "https://openexchangerates.org/license", | |
"timestamp": 1558267200, | |
"base": "USD", | |
"rates": { | |
"AED": 3.673014, | |
"AFN": 79.251075, | |
"ALL": 110.1, | |
"AMD": 479.23359, |
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
{ | |
"items": [{ | |
"date": "April 20, 2018", | |
"img_src": "https://www.wrike.com/newsroom/content/uploads/2018/04/MartechAdvisor_3.png", | |
"title": "The 4 Characteristics of High Performing Marketing Teams: a CMO’s Insights", | |
"description": "I see my primary goal as a CMO is to create a world-class marketing organization. I’ve been fortunate enough to work with and around many...", | |
"link": "https://www.martechadvisor.com/articles/collaboration-project-management/the-4-characteristics-of-high-performing-marketing-teams-a-cmos-insights/" | |
}, | |
{ | |
"date": "April 18, 2018", |
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
let itsAChoice = ['coffee', 'tea']; | |
itsAChoice[Math.floor(Math.random() * itsAChoice.length)]; |
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
//ФАЙЛОЗАГРУЗЧИК НА СТРАНИЦЕ VACANCY | |
var wrapper = $('.block_fileUpload'), | |
inp = wrapper.find('input'), | |
btn = wrapper.find('.button'); | |
var file_api = ( window.File && window.FileReader && window.FileList && window.Blob ) ? true : false; | |
inp.change(function(){ | |
var file_name; |