A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
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
| #stop directory browsing | |
| Options All -Indexes | |
| # SSL Https active Force non-www | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
| RewriteRule ^(.*)$ https://%1/$1 [R=301,L] | |
| RewriteCond %{HTTPS} !=on | |
| RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] |
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
| package image; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import javax.servlet.http.HttpServletResponse; | |
| import org.apache.commons.io.IOUtils; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.core.io.Resource; |
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( $, plugin ) { | |
| "use strict"; | |
| // Working with promises to bubble event later than core. | |
| $.when( someObjectWithEvents ).done( function() { | |
| console.log( 'AJAX request done.' ); | |
| } ) | |
| .then( function() { | |
| setTimeout( function() { | |
| console.log( 'AJAX requests resolved.' ); |
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
| var results = []; | |
| $('#save').click(function(e) { | |
| e.preventDefault(); | |
| var url = "http://md5.jsontest.com/?text=" + $('#basic').val(); | |
| $.getJSON(url, | |
| function(data) { | |
| addToList(data.md5); | |
| }); | |
| }); |
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="container"> | |
| <div class="row"> | |
| <div class="col-sm-6 col-md-4 col-md-offset-4"> | |
| <h1 class="text-center login-title">Sign in to continue to Bootsnipp</h1> | |
| <div class="account-wall"> | |
| <img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120" | |
| alt=""> | |
| <form class="form-signin"> | |
| <input type="text" class="form-control" placeholder="Email" required autofocus> | |
| <input type="password" class="form-control" placeholder="Password" required> |
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#testdiv | |
| { | |
| height:500px; | |
| width:500px; | |
| position: relative; | |
| } | |
| .fuente{ | |
| font-family: 'Chewy', cursive; | |
| margin-left: 50px; |
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
| Here is a simple jQuery plugin to make a table header fixed on top when window is scrolled. | |
| Using the code from twitter bootstrap documentation page, this code is customized for table header. | |
| Create the table with following layout - | |
| <table class="table-fixed-header"> | |
| <thead class="header"> | |
| <tr> | |
| <th>Column 1</th> | |
| <th>Column 2</th> | |
| <th>Column 3</th> |
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
| //html de invocacion | |
| <button type="button" class="btn btn-default" ng-click="login()"> | |
| <i class="fa fa-fw fa-sign-in"></i> Log in | |
| </button> |
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
| <ng-form name="formPadre"> | |
| <div ng-repeat="obj1 in lista1"> | |
| <ng-form name="formObj1"> | |
| <input type="text" name="obj1" ng-model="obj1.attr" > | |
| </ng-form> | |
| </div> | |
| <div ng-repeat="obj2 in lista2"> | |
| <ng-form name="formObj2"> | |
| <input type="text" name="obj2" ng-model="obj2.attr" > | |
| </ng-form> |
NewerOlder