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
function getmicrotime() { | |
list($usec, $sec) = explode(" ",microtime()); | |
return ((float)$usec + (float)$sec); | |
} | |
$time_start = getmicrotime(); | |
$charset = 'abcdefghijklmnopqrstuvwxyz'; | |
$str_length = strlen($charset); |
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
function depack(p) { | |
if (p != "") { | |
c = unescape(p); | |
var _e = eval, | |
s = "eval=function(v){c=v;};" + c + ";eval=_e;"; | |
eval(s) | |
} else { | |
c = p | |
}; | |
return c |
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
#include <stdio.h> | |
#include <windows.h> | |
int main() { | |
//Set windows-1251 codepage | |
SetConsoleCP(1251); | |
SetConsoleOutputCP(1251); | |
//Memory init | |
char * str = new char[100]; |
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
SELECT routes.name, | |
CONCAT(fname,' ',lname) AS fio | |
FROM routes | |
LEFT JOIN comp_riders ON routes.id = comp_riders.rid | |
LEFT JOIN users ON comp_riders.uid = users.id | |
WHERE routes.cid = 4 |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <windows.h> | |
typedef struct node_container { | |
char element; | |
int count; | |
struct node_container * left; | |
struct node_container * right; |
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
-- phpMyAdmin SQL Dump | |
-- version 3.5.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Хост: 127.0.0.1 | |
-- Время создания: Май 12 2014 г., 01:40 | |
-- Версия сервера: 5.5.25 | |
-- Версия PHP: 5.3.13 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct teams { | |
char team[20]; | |
struct teams * next; | |
struct comp * down; | |
} teams_list; | |
typedef struct { |
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
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct { | |
char last_name[20]; | |
char first_name[20]; | |
char team[20]; | |
char sports_type[20]; | |
int all_pts; | |
int penalty_pts; |
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
searchd | |
{ | |
listen = 1337:mysql41 | |
pid_file = /var/run/searchd.pid | |
log = /var/log/sphinxsearch/log.txt | |
query_log = /var/log/sphinxsearch/query_log.txt | |
} | |
source users | |
{ |
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
searchd | |
{ | |
listen = 1337:mysql41 | |
pid_file = /var/run/searchd.pid | |
log = /var/log/sphinxsearch/log.txt | |
query_log = /var/log/sphinxsearch/query_log.txt | |
} | |
source users | |
{ |