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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<style type="text/css"> | |
body { | |
background-color: white; | |
} | |
form .field .red { | |
display: none; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>Применение стилей для нескольких классов одного элемента</title> | |
<style type="text/css"> | |
body { | |
background-color: white; | |
} | |
p { |
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 pqsaff () { | |
this.vars = (window.location.search.length > 1) ? | |
window.location.search.substring(1).split("&") : | |
[]; | |
} | |
pqsaff.prototype = { | |
param: function (s) { | |
var p = s.split("="); | |
this.name = p.shift(); |
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
#!/usr/bin/perl -w -- | |
use strict; | |
use warnings; | |
use IO::File; | |
my %header; | |
my %bitmap; | |
my @palette; | |
my $fh = IO::File->new("_.bmp"); |
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
#!/usr/bin/perl -w -- | |
use warnings; | |
use strict; | |
use utf8; | |
package DoMysql; | |
use DBI; |
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 UserFilter extends FilterIterator { | |
public function accept () { | |
$file = $this->getInnerIterator()->current(); | |
$path = explode("/", $file, 3); | |
if (count($path) < 2 or !in_array($path[1], array('app','bootstrap','vendor'))) return FALSE; | |
elseif ("/." == substr($file, -2)) return FALSE; | |
elseif ("/.." == substr($file, -3)) return FALSE; | |
# echo $file, PHP_EOL; |
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 Replacer { | |
private static $__instance; | |
private $regex = ''; | |
private $append = ''; | |
private $replace = array( | |
'ул' => 'улица', | |
'ш' => 'шоссе', |
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
/** | |
* @output_file_name default.js | |
* @compilation_level ADVANCED_OPTIMIZATIONS | |
* @formatting pretty_print | |
*/ | |
/** | |
* Sample location parameter access classs | |
*/ |
NewerOlder