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 page http://steamcommunity.com/id/USERNAMEHERE/games/?tab=all console | |
var summ = 0;for(var i=0; i < jQuery('#games_list_row_container .hours_played').length; i++) {var z = parseFloat(jQuery('#games_list_row_container .hours_played')[i].textContent || 0); summ = summ + z;}; console.log('TOTAL TIME (HOURS):', parseInt(summ)); |
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 | |
#комментарий о том, что этот curl-запрос делает, дабы не потеряться в версиях логов | |
THIS_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
TIMESTAMP=$(date +"%Y-%m-%d_%H-%M-%S") | |
FOLDER="$THIS_DIR/$( basename "${BASH_SOURCE[0]}" )-data" | |
mkdir --parents "$FOLDER/logs" | |
LOG="$FOLDER/logs/output-$TIMESTAMP.html" | |
cat "$0" > "$LOG" | |
curl \ | |
--post301 \ |
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
// Handle non-console supporting browsers | |
(function () { | |
if (!window.console) { | |
window.console = {}; | |
} | |
// union of Chrome, FF, IE, and Safari console methods | |
var m = [ | |
'log', 'info', 'warn', 'error', 'debug', 'trace', 'dir', 'group', | |
'groupCollapsed', 'groupEnd', 'time', 'timeEnd', 'profile', 'profileEnd', | |
'dirxml', 'assert', 'count', 'markTimeline', 'timeStamp', 'clear' |
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 | |
SetLocal EnableExtensions EnableDelayedExpansion | |
rem Simple text editor *.exe file | |
set editor=notepad | |
rem Hosts file path | |
set hosts=%SystemRoot%\System32\drivers\etc\hosts | |
echo Unset read-only | |
attrib -S -R %hosts% | |
rem Magic! Open on text-editor | |
echo Waiting for closing a text editor... |
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 summ = { | |
store: {}, | |
gifts: {}, | |
market: { | |
sell: {}, | |
purchased: {} | |
} | |
}; | |
var selector = '.transactions .transactionRow, .hidden_transactions .transactionRow'; |