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 stores data in indexes and supports powerful searching capabilities | |
| Redis has speed and powerful data structures. It can almost function as an extension of application memory but shared across processes / servers. | 
  
    
      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" /> | |
| <title></title> | |
| <script> | |
| console.log(stringContainString(["Alien", "line"])); // true | |
| console.log(stringContainString(["zyxwvutsrqponmlkjihgfedcba", "qrstu"])); // true | |
| console.log(stringContainString(["Hello", "hey"])); // false | 
  
    
      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
    
  
  
    
  | /// <summary> | |
| /// Resultset to be JSON stringified and set back to client. | |
| /// </summary> | |
| [Serializable] | |
| [SuppressMessage("ReSharper", "InconsistentNaming")] | |
| public class DataTableResultSet | |
| { | |
| /// <summary>Array of records. Each element of the array is itself an array of columns</summary> | |
| public List<List<string>> data = new List<List<string>>(); | 
  
    
      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
    
  
  
    
  | public class BloggingContext : DbContext | |
| { | |
| public DbSet<Blog> Blogs { get; set; } | |
| public DbSet<Post> Posts { get; set; } | |
| protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => | |
| optionsBuilder | |
| //Log parameter values | |
| .EnableSensitiveDataLogging() | |
| .UseSqlCe(@"Data Source=Blogging.sdf"); | 
  
    
      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
    
  
  
    
  | <script> | |
| /* to show modal via jquery clock event bound to id="modal_button_id" a/button/etc */ | |
| $(document).ready(function() { | |
| $('#modal_button_id').click(function (event) { | |
| $('#myModal').modal('show') | |
| }); | |
| </script> | |
| <div class="modal hide fade" id="modalID"> | |
| <div class="modal-header"> | 
  
    
      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
    
  
  
    
  | https://medium.com/@jcbaey/authentication-in-spa-reactjs-and-vuejs-the-right-way-e4a9ac5cd9a3 | 
  
    
      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 lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Shadows Test</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
| <style> | |
| * { | 
  
    
      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"> | |
| <title>Navigation Test</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <script> | |
| var isTouchDevice = 'ontouchstart' in document.documentElement; | |
| window.onload = function () { | |
| var where = document.getElementById('where'); | 
  
    
      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
    
  
  
    
  | String.prototype.toSlug = function(){ | |
| st = this.toLowerCase(); | |
| st = st.replace(/[\u00C0-\u00C5]/ig,'a') | |
| st = st.replace(/[\u00C8-\u00CB]/ig,'e') | |
| st = st.replace(/[\u00CC-\u00CF]/ig,'i') | |
| st = st.replace(/[\u00D2-\u00D6]/ig,'o') | |
| st = st.replace(/[\u00D9-\u00DC]/ig,'u') | |
| st = st.replace(/[\u00D1]/ig,'n') | |
| st = st.replace(/[^a-z0-9 ]+/gi,'') | |
| st = st.trim().replace(/ /g,'-'); | 
  
    
      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> | |
| <body> | |
| <p>Click the button to return the value of the string object.</p> | |
| <button onclick="myFunction()">Try it</button> | |
| <p id="demo"></p> | 
NewerOlder