Only the most used. Full list
document.body
return content.
Only the most used. Full list
document.body
return content.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.box1 { background: #1abc9c; } | |
.box2 { background: #3498db; } | |
.box3 { background: #9b59b6; } |
alt-cmd-shift-{
to fold code on pagealt-cmd-shift-}
to unfold everything use$ ab -c 100 -n 10000 http://PUBLIC-IP-ADDRESS/api/products | |
This is ApacheBench, Version 2.3 <$Revision: 1604373 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking PUBLIC-IP-ADDRESS (be patient) | |
Completed 1000 requests | |
Completed 2000 requests | |
Completed 3000 requests |
$ ab -c 100 -n 10000 https://meanshop-8.herokuapp.com/ | |
This is ApacheBench, Version 2.3 <$Revision: 1604373 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking meanshop-8.herokuapp.com (be patient) | |
Completed 1000 requests | |
Completed 2000 requests | |
Completed 3000 requests |
// Count number of stylesheets files and selectors (per file and total) | |
(function countCSSRules() { | |
var results = '', | |
log = '', | |
total = 0; | |
if (!document.styleSheets) { | |
console.log('No stylesheets found!'); | |
return; | |
} else { |
<html ng-app="app"> | |
<head> | |
<title>ngTodo</title> | |
</head> | |
<body> | |
<ng-view></ng-view> | |
<!-- Libraries --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script> |
<html ng-app="app"> | |
<head> | |
<title>Hello Controllers in AngularJS</title> | |
</head> | |
<body> | |
<ng-view></ng-view> | |
<!-- Libraries --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular.min.js"></script> |
A Pen by Adrian Mejia on CodePen.
# rake deploy # Push app to heroku:production, migrate, restarts and tail logs | |
# rake deploy:production # Push app to production, migrate, restarts, tag and tail logs | |
# rake deploy:production:config # production config | |
# rake deploy:production:console # production console | |
# rake deploy:production:logs # production logs | |
# rake deploy:production:ps # production ps | |
# rake deploy:production:releases # production releases | |
# rake deploy:staging # Push app to staging, migrate, restarts, tag and tail logs | |
# rake deploy:staging:config # staging config | |
# rake deploy:staging:console # staging console |