One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> | |
<httpRedirect enabled="true" destination="http://foo.com/newdir" httpResponseStatus="Permanent" /> | |
</system.webServer> | |
</configuration> | |
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> |
//SearchController.php | |
public function autocomplete(){ | |
$term = Input::get('term'); | |
$results = array(); | |
$queries = DB::table('users') | |
->where('first_name', 'LIKE', '%'.$term.'%') | |
->orWhere('last_name', 'LIKE', '%'.$term.'%') | |
->take(5)->get(); |
# setting up env path | |
set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin |
/*Como colocar acentuação em alerts javascript */ | |
tabela de códigos que substituem os acentos, segue abaixo: | |
á = \u00e1 | |
à = \u00e0 | |
â = \u00e2 | |
ã = \u00e3 | |
ä = \u00e4 | |
Á = \u00c1 |
/*Como colocar acentuação em alerts javascript */ | |
tabela de códigos que substituem os acentos, segue abaixo: | |
á = \u00e1 | |
à = \u00e0 | |
â = \u00e2 | |
ã = \u00e3 | |
ä = \u00e4 | |
Á = \u00c1 |
function my_custom_login_logo() { | |
echo '<style type="text/css"> | |
h1 a { background-image:url('.get_stylesheet_directory_uri().'/images/login.png) !important; | |
height: 120px !important; width: 410px !important; margin-left: -40px;} | |
</style>'; | |
} | |
add_action('login_head', 'my_custom_login_logo'); |
JS: | |
$(".accordeon dd").hide().prev().click(function() { | |
$(this).parents(".accordeon").find("dd").not(this).slideUp().prev().removeClass("active"); | |
$(this).next().not(":visible").slideDown().prev().addClass("active"); | |
}); | |
CSS: | |
.accordeon .active { color: red } | |
HTML: |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="shortcut icon" href="http://getbootstrap.com/docs-assets/ico/favicon.png"> |