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
beep -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 350 -f 392 \ | |
-D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n \ | |
-l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 \ | |
-D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 587.32 -D 100 -n \ | |
-l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 250 \ | |
-f 622.26 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 369.99 \ | |
-D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n \ | |
-l 700 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 392 \ | |
-D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n \ | |
-l 250 -f 739.98 -D 100 -n -l 25 -f 698.46 -D 100 -n \ |
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/bash | |
# running by cron every hour; get currently uploaded value and compare with uploaded value hour ago (readed from file), | |
# if delta is less then 4 gb - make something | |
# at the end - write currentry uploaded value to the file | |
prev=$(cat "./TX.txt") | |
now=$(ip -s link ls eth1 | awk 'NR==6{print $1}') | |
delta=$((now - prev)) | |
delta=$((delta / 1000 / 1000 / 1000)) | |
echo "$(date): delta (uploaded for last hour): $delta" |
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 price = 190000; | |
var sleepTime = 3000; // ms | |
var itemsAll = document.querySelectorAll('.market_row_inner_cont'); | |
var items = []; | |
var i = 0; | |
for (var j = 0; j < itemsAll.length; j++) { | |
var priceOrig = itemsAll[j].querySelector('.market_row_price').innerHTML.replace(/,/g, '').replace(' rub.', ''); | |
if (priceOrig != price) { | |
items.push(itemsAll[j].querySelector('.market_row_inner_cont a')); |
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
<modification> | |
<name>Change speed of slideshow on main from 3 seconds to 6</name> | |
<version>1</version> | |
<link>http://about.me/zdanevich</link> | |
<author>Vitaly Zdanevich</author> | |
<code>change-speed-of-slideshow-on-main-from-3-seconds-to-6</code> | |
<file path="catalog/view/theme/default/template/module/slideshow.tpl"> | |
<operation> |
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 f in * .*; do | |
[ -f "$f" ] && \ | |
printf "%s %s %s\n" "$f" $(du -h -- "$f" | cut -f1) $(md5sum -- "$f" | cut -d' ' -f1) | |
done |
NewerOlder