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
    
  
  
    
  | // http://127.0.0.1:9001 | |
| // http://localhost:9001 | |
| var server = require('http'), | |
| url = require('url'), | |
| path = require('path'), | |
| fs = require('fs'); | |
| var port = 9001; | 
  
    
      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
    
  
  
    
  | exports.types = { | |
| "css": "text/css", | |
| "gif": "image/gif", | |
| "html": "text/html", | |
| "ico": "image/x-icon", | |
| "jpeg": "image/jpeg", | |
| "jpg": "image/jpeg", | |
| "js": "text/javascript", | |
| "json": "application/json", | |
| "pdf": "application/pdf", | 
  
    
      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
    
  
  
    
  | <?php | |
| $formlar = $request->input('formlar'); | |
| //1 way | |
| $datam = []; | |
| foreach ($formlar as $key => $item) { | |
| $datam[] = UserMeta::updateOrCreate([ | |
| 'user_id' => 1, | |
| 'meta_name' => $key | |
| ],[ | 
  
    
      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
    
  
  
    
  | window.App = { | |
| start: function () { | |
| console.log("some"); | |
| //return; | |
| } | |
| }; | |
| App.start(); | 
  
    
      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
    
  
  
    
  | //it justonly for dispatch | |
| window.dispatchEvent(new Event('resize')); | |
| window.addEventListener('state-changed', function(e) { | |
| console.log('History state changed', e.detail, location.hash); | |
| }); | 
  
    
      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
    
  
  
    
  | RewriteEngine on | |
| RewriteCond %{HTTP_USER_AGENT} Opera | |
| RewriteRule ^abcd.html$ opera.html [NC,L] | |
| RewriteCond %{HTTP_USER_AGENT} MSIE | |
| RewriteRule ^abcd.html$ ie.html [NC,L] | |
| RewriteCond %{HTTP_USER_AGENT} Chrome | |
| RewriteRule ^abcd.html$ chrome.html [NC,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
    
  
  
    
  | # Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats | |
| # Change http://example.com (at the end of the last RewriteRule) to your website url | |
| <IfModule mod_headers.c> | |
| #RequestHeader set X-Prerender-Token "YOUR_TOKEN" | |
| </IfModule> | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | 
  
    
      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 myHeaders = new Headers(); | |
| var init = { method: 'GET', | |
| headers: myHeaders, | |
| mode: 'cors', | |
| cache: 'default' }; | |
| var myRequest = new Request('http://lumensession.dev/', init); | |
| fetch(myRequest).then(function(response) { | 
  
    
      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> | |
| <title>JavaScriptLoader</title> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.8.23/themes/base/jquery-ui.css" type="text/css" media="all" /> | |
| <style type="text/css"> | |
| body.jsLoaded .hidden {display: none;} | |
| </style> | |
| </head> |