This file contains hidden or 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
| <?php | |
| require_once __DIR__ . '/bootstrap.php'; | |
| use bpteam\phpOCR\Recognizer; | |
| use bpteam\phpOCR\Img; | |
| $file_name = __DIR__ . '/template/test_img/olx1.png'; | |
| $ex = 'png'; | |
| Recognizer::setInfelicity(10); | |
| $img = Recognizer::openImg($file_name); | |
| //Source image |
This file contains hidden or 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 | |
| #dropbox service | |
| DBU='user_name' #Ваш пользователь в системе под которым будет работать DropBox | |
| DAEMON='/path/to/.dropbox-dist/dropboxd' #адрес к исполняемому файлу | |
| HOMEDIR='/home/'$DBU'/Dropbox' #Папка для синхронизации | |
| start() { |
This file contains hidden or 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
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: EC | |
| * Date: 19.11.13 | |
| * Time: 22:01 | |
| * Project: free-notify | |
| * @author: Evgeny Pynykh [email protected] | |
| */ | |
| ini_set('display_errors',1); |
This file contains hidden or 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 linksSameLevel(tree){ | |
| if(isTree(tree->right)){ | |
| linksSameLevel(tree->right,tree) | |
| } | |
| if(isTree(tree->right) && isTree(tree->left)){ | |
| tree->left->level = &tree->right | |
| } elseif(isTree(tree->left)) { | |
| linksSameLevel(tree->left,tree) | |
| } | |
| if(isTree(tree->left)){ |
This file contains hidden or 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
| try: | |
| firefox = 'C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe' | |
| url = 'https://sinoptik.ua' | |
| openApp(firefox) | |
| if bool(exists("1422816842381.png",4)) != True: | |
| raise Exception('Can`t run browser') | |
| click("1422818832742.png") | |
| type(url + Key.ENTER) | |
| if bool(exists(Pattern("1422821974735.png").similar(0.95),50)) != True: | |
| raise Exception('Can`t load page ' + url) |
This file contains hidden or 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
| start profiler |
This file contains hidden or 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 href="javascript:addOpenSearch();">Add search</a> |
This file contains hidden or 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
| CREATE TABLE `flboost` ( | |
| `id` int(11) NOT NULL, | |
| `title` text, | |
| `description` text, | |
| `date` int(11) DEFAULT NULL, | |
| `category` varchar(255) DEFAULT NULL, | |
| `url` text, | |
| PRIMARY KEY (`id`), | |
| UNIQUE KEY `id_UNIQUE` (`id`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
NewerOlder