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 | |
REM Delete eval folder with licence key and options.xml which contains a reference to it | |
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
for /d %%a in ("%APPDATA%\JetBrains\%%I*") do ( | |
rd /s /q "%%a\eval" | |
del /q "%%a\options\other.xml" | |
del /q "%%a\options\updates.xml" | |
) | |
) |
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
<?php | |
/*ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL);*/ | |
require_once( './vtwsclib/Vtiger/WSClient.php'); | |
//Авторизация | |
$userName = "Логин"; |
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
<?php | |
class VK{ | |
public $params = array( | |
'client_id'=>'2274003', //https://vk.com/android_app | |
'client_secret'=>'hHbZxrka2uZ6jB1inYsH', //https://vk.com/android_app | |
'username'=>'', | |
'password'=>'', | |
'scope'=>'photos,video,offline', |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: endi | |
* Date: 25.08.2016 | |
* Time: 23:18 | |
* Скрипт для закачки музыки с http://history.radiorecord.ru | |
* Запускать строго в консольном режиме иначе пизда серваку | |
*/ | |
header('Content-Type: text/html; charset=utf-8'); |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: endi | |
* Date: 25.08.2016 | |
* Time: 23:18 | |
* Скрипт для закачки музыки с http://history.radiorecord.ru | |
* Запускать строго в консольном режиме иначе пизда серваку | |
*/ | |
$chanel = "brks"; /*Имя канала*/ |
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
<?php | |
/** | |
* getResources | |
* | |
* Добавлен вывод JSON | |
* [[getResources? &parents=`121` &showHidden=`1` &includeContent=`1` &includeTVs=`1` &processTVs=`1` &limit=`2`&tpl=`JSON`]] | |
* A general purpose Resource listing and summarization snippet for MODX 2.x. | |
* | |
* @author Jason Coward |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: Endi | |
*/ | |
$conf = array( | |
'group_count' => 3, | |
'group_length' => array(4,4), | |
'group_sep' => '-' |
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
<?php | |
/* | |
* | |
* Добавлено by vectorserver@mail.ru | |
* - Имя файла в md5 | |
* - настрйка | |
* | |
* $uploadOptions = array('upload_dir'=>$site_root."/uploads/","upload_url"=>"../uploads/","max_file_size"=>1000000, 'accept_file_types' => '/\.(gif|jpe?g|png)$/i',); | |
* $upload_handler = new UploadHandler($uploadOptions); | |
* jQuery File Upload Plugin PHP Class |