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
/* | |
@echo off && set oname="%TMP%\bat2cs-%RANDOM%.exe" | |
%WinDir%\Microsoft.NET\Framework\v2.0.50727\csc.exe /out:"%oname%" %0 && cls && "%oname%" && del "%oname%" && exit | |
*/ | |
using System; | |
class HelloWorld | |
{ | |
static void Main() |
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 | |
/*===================================================== | |
Случайная новость | |
===================================================== | |
Данный код защищен авторскими правами | |
ICQ: 271522951 | |
email: [email protected] | |
===================================================== | |
Файл: random_news.php | |
---------------------------------------------------------- |
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 | |
/** | |
* Gyazo php uploader | |
* | |
* @author Neris Ereptoris <www.neris.ws> | |
* @copyright 2010 | |
* | |
* @version 0.1 | |
* @link http://neris.ws/ | |
*/ |
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 | |
// Подключаемся к бд. первый параметр - линк к бд вида "драйвер:host=хост;port=порт;dbname=имя_бд | |
// Второй и третий параметры - логин и пас соответственно | |
$db = new PDO( | |
"mysql:host=localhost;port=3306;dbname=tmp_db", | |
"root", | |
"*************" | |
); |
NewerOlder