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 | |
$pattern = '#a\s+href\s*=\s*"(.+)"#'; | |
$str = 'Get your image here: <a href="http://google.com">here</a>'; | |
$matches = []; | |
preg_match ( $pattern ,$str,$matches); | |
$link = $matches[1]; |
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
--------- beginning of /dev/log/main | |
I/bdAddrLoader( 172): option : f=/persist/bluetooth/.bdaddr | |
I/bdAddrLoader( 172): option : h | |
I/bdAddrLoader( 172): option : x | |
I/bdAddrLoader( 172): Read From /persist/bluetooth/.bdaddr by Path type(0x11), Data type (0x21) | |
I/installd( 163): installd firing up | |
I/bdAddrLoader( 172): Output Data type(0x22), bPrintout(1), bPath((null)) | |
I/bdAddrLoader( 172): Loaded Data type(0x21) | |
I/bdAddrLoader( 172): hex_to_ascii() - converted Data (C4438F04E3B0) | |
I/DEBUG ( 157): debuggerd: Feb 8 2013 22:00:43 |
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
// ==== 1. Было так: | |
// header.less | |
.header.container { | |
background : @dark-bg-color; | |
.media-for( height, @header_height); | |
.wrapper { | |
height : 100%; // height of .header.container (is set below in media queries) |
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> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> |