This file contains hidden or 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> | |
| <meta charset="utf-8"> | |
| <style> | |
| .premiums h3 { | |
| font-weight: bold; | |
| text-decoration: underline; | |
| } |
This file contains hidden or 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
| curl -XDELETE 'http://localhost:9200/accesscontrol/' | |
| curl -XPUT 'http://localhost:9200/accesscontrol/' -d '{ | |
| "mappings" : { | |
| "group" : { | |
| "properties" : { | |
| "name" : { "type" : "string" }, | |
| "hosts" : { "type" : "string" } | |
| } | |
| }, | |
| "user" : { |
This file contains hidden or 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
| # Elasticsearch version 1.1.1 | |
| # Create the accesscontrol index | |
| curl -XPUT 'http://localhost:9200/accesscontrol/' | |
| # Create the user groups and specify which computers | |
| # they may view logs for | |
| curl -XPUT 'http://localhost:9200/accesscontrol/group/intern' -d '{ | |
| "name" : "intern", | |
| "hosts" : ["computer1"] | |
| }' |
This file contains hidden or 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
| <main> | |
| <section class="containerComponent"> | |
| <div class="leaf containerComponent-leaf"> | |
| <label>Hello</label> | |
| <input value="world" /> | |
| </div> | |
| <div class="leaf containerComponent-leaf"> | |
| <label>Hello</label> | |
| <input value="world" /> | |
| </div> |
This file contains hidden or 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
| <main> | |
| <section class="containerComponent"> | |
| <div class="leaf containerComponent-leaf"> | |
| <label>Hello</label> | |
| <input value="world" /> | |
| </div> | |
| <div class="leaf containerComponent-leaf"> | |
| <label>Hello</label> | |
| <input value="world" /> | |
| </div> |
This file contains hidden or 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
| <main> | |
| <h1>Leaf components inside a container component:</h1> | |
| <section class="containerComponent"> | |
| <div class="leaf containerComponent-leaf"> | |
| <label>Hello</label> | |
| <input value="world" /> | |
| </div> | |
| <div class="leaf containerComponent-leaf"> | |
| <label>Hello</label> | |
| <input value="world" /> |
This file contains hidden or 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
| <div class="pod"> | |
| <div class="pod-content">My cool content</div> | |
| </div> | |
| <div class="widget"> | |
| <div class="pod widget-pod"> | |
| <div class="pod-content">Cool Widget content</div> | |
| </div> | |
| </div> |
This file contains hidden or 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
| <div class="wrapper"> | |
| <main class="page-level"> | |
| <h1 class="title">Login Form</h1> | |
| <form class="login-form"> | |
| <div class="field"> | |
| <label>Username</label> | |
| <input /> | |
| </div> | |
| <div class="field"> | |
| <label>Password</label> |
This file contains hidden or 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
| (function ($) { | |
| $.fn.on = function (types, selector, data, fn, one) { | |
| var type, origFn; | |
| // Types can be a map of types/handlers | |
| if ( typeof types === 'object' ) { | |
| // ( types-Object, selector, data ) | |
| if ( typeof selector !== 'string' ) { | |
| // ( types-Object, data ) | |
| data = data || selector; |
This file contains hidden or 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
| for i in $(seq 1 20); do | |
| curl -sIL http://en.wikipedia.org/wiki/Special:Random | perl -n -e '/^Location: (.*)$/ && print "$1\n"' | tail -n 1 | |
| done |
OlderNewer