Create an .htaccess file in the webroot:
AuthUserFile /app/www/.htpasswd
AuthType Basic
AuthName "Restricted Access"
Require valid-user
Create a .htpasswd file:
htpasswd -c /app/www/.htpasswd [username]
Create an .htaccess file in the webroot:
AuthUserFile /app/www/.htpasswd
AuthType Basic
AuthName "Restricted Access"
Require valid-user
Create a .htpasswd file:
htpasswd -c /app/www/.htpasswd [username]
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<div id="pulser"> | |
<div class="pulse pulse1"></div> | |
<div class="pulse pulse2"></div> | |
<div class="pulse pulse3"></div> |
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
</head> | |
<body> | |
<style type="text/css" media="screen"> | |
html,body { |
var cookie = { | |
//session cookies | |
setCookie: function(name, value) { | |
document.cookie = name + "=" + escape(value) + ';path=/'; | |
}, | |
getCookie: function(name) { | |
var key, val; | |
var cookies = document.cookie.split(";"); | |
var cookiesLength = cookies.length; | |
for (var i=0; i < cookiesLength; i++) { |
Response.Write(new Uri(HttpContext.Current.Request.Url.AbsoluteUri).GetLeftPart(UriPartial.Path)); |
<!doctype html> | |
<html ng-app="selectExample"> | |
<head> | |
<title></title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script> | |
<script src="select.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<div ng-controller="selectController"> |
<!doctype html> | |
<html> | |
<head> | |
<title>MSHPIconsRegular</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="//i.s-microsoft.com/fonts/segoe-ui/west-european/normal/latest.css" /> | |
</head> | |
<body> | |
<style type="text/css"> |
$ adb remount | |
$ adb pull /system/etc/hosts tmp/hosts | |
$ vi tmp/hosts | |
$ adb push tmp/hosts /system/etc |
### commands | |
#start the avd manager | |
$ ./android avd | |
#list available avds | |
$ ./android list avd | |
#Start an emulator with a target avd: | |
$ ./emulator -avd <avdname> |
chrome.browserAction.onClicked.addListener(function (tab) { | |
chrome.tabs.create({ | |
url: "index.html" | |
}); | |
}); |