Skip to content

Instantly share code, notes, and snippets.

@ob-ivan
ob-ivan / .gitignore
Last active February 29, 2016 20:49
ElfQuest comics downloader
/data/
@ob-ivan
ob-ivan / .gitattributes
Last active September 5, 2015 11:29
unequal
* text eol=lf
@ob-ivan
ob-ivan / srt-resize.html
Created August 23, 2015 21:06
Resize srt
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<textarea id="input"></textarea>
<label>Offset (ms): <input id="offset"/></label>
<label>Factor: <input id="factor"/></label>
<button id="resize">resize</button>
<textarea id="output"></textarea>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<script type="text/javascript" src="oxcow.js"></script>
<script>
var game = new Game();
game.init();
@ob-ivan
ob-ivan / .gitignore
Last active February 4, 2023 13:41
Bot2048
/.idea/
<?php
error_log(__METHOD__ . ':' . __LINE__); // debug
error_log(__METHOD__ . ':' . __LINE__ . ': message'); // debug
error_log(__METHOD__ . ':' . __LINE__ . ': gettype($value) = ' . gettype($value)); // debug
error_log(__METHOD__ . ':' . __LINE__ . ': get_class($object) = ' . get_class($object)); // debug
@ob-ivan
ob-ivan / cookiebot.js
Last active June 27, 2022 07:47 — forked from jeresig/cookiebot.js
A little bit intelligent Cookie Clicker bot.
CookieBot = {
// Inner-use enum constants //
INTERVAL_BAKE : 0,
INTERVAL_GOLDEN : 1,
INTERVAL_PRODUCT : 2,
INTERVAL_UPGRADE : 3,
INTERVAL_DRAGON : 4,
INTERVAL_SANTA : 5,