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> | |
<title></title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<form action=""> | |
<input type="password" name="" id="pwd" maxlength="5" /> | |
<input type="submit" value="Submit"> |
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
from selenium import webdriver | |
from selenium import selenium | |
from webdriver import DesiredCapabilities | |
import re | |
to_cities = ['toulouse', 'bordeaux', 'marseille'] | |
from_cities = [ | |
'paris', | |
'toulouse', | |
'bordeaux', |
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
//handling vendor extension | |
//shorthand for box with rounded top corners | |
@mixin top-border-radius ($radius: 5px) { | |
@include border-radius('#{$radius} #{$radius} 0 0'); | |
} | |
//shorthand for the border-radius property (http://www.w3.org/TR/css3-background/#the-border-radius) | |
//also call the PIE IE fallback | |
//accept the same params listed in the w3c specs | |
//use example |
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
//note that in less php all ,(comma) in functions and call must be replaced by ;(semi-colon) see : http://leafo.net/lessphp/docs/#args | |
//handling vendor extension | |
.border-radius(@radius_tl: 5px, @radius_tr: 5px, @radius_br: 5px, @radius_bl: 5px) { | |
border-radius: @arguments; | |
-webkit-border-radius: @arguments; | |
-moz-border-radius: @arguments; | |
} | |
.top-border-radius (@radius: 5px) { | |
border-radius: @radius @radius 0 0; |