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
/* | |
Here's a small IPv4 example: it asks for a portbase and a destination and | |
starts sending packets to that destination. | |
*/ | |
#include "rtpsession.h" | |
#include "rtpudpv4transmitter.h" | |
#include "rtpipv4address.h" | |
#include "rtpsessionparams.h" | |
#include "rtperrors.h" |
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 | |
for ($i=1; $i <= 17441; $i++) { | |
$html = file_get_contents('http://www.vsmolenske.ru/firma.php?id='.$i); | |
echo $html; | |
break; | |
$Matched = array(); | |
/** создаем новый dom-объект **/ |
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
def facebook_log_in | |
# Scenarios | |
# If the user is signed in and has no facebook uid we link the accounts | |
# If the user is not signed in we create an account for him. | |
# that's it. he is logged in for life. | |
if player_signed_in? | |
if current_player['fb_uid'].nil? | |
# Link accounts | |
puts "linking accounts" |
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
/** | |
* CSS | |
*/ | |
div { | |
box-shadow: 1px -1px 10px rgba(0,0,0,.8) inset; | |
margin: auto; | |
width: 100px; | |
height: 120px; | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); |
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
/** | |
* CSS | |
*/ | |
div { | |
box-shadow: 1px -1px 10px rgba(0,0,0,.8) inset; | |
margin: auto; | |
margin-top: 120px; | |
width: 100px; | |
height: 120px; | |
background: #f06; |
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
/** | |
* CSS Pink Button Transformation v.0.0.1 | |
*/ | |
body { | |
padding: 20px; | |
font: 54px/58px Futura, Helvetica, Arial, sans-serif; | |
color: white; | |
-webkit-transform: perspective(750); | |
-webkit-transform-style: preserve-3d; |
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> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- Disable automatic DNS prefetching. | |
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> | |
<!-- Helpful things to keep in your <head/> | |
// Brian Blakely, 360i | |
// http://twitter.com/brianblakely/ | |
--> | |
<head> | |
<!-- Disable automatic DNS prefetching. | |
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 | |
## PHP :: add new pros an the fly | |
class magicMethod { | |
private function magic($name, $value) { | |
$this->$name = $value; | |
} |
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
body { | |
font-family: sans-serif; | |
} | |
ul { | |
list-style: none | |
} | |
li { | |
background: slategrey; |
OlderNewer