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.location.host //www.test.com:8082 | |
| window.location.hostname // www.test.com | |
| window.location.port // 8082 | |
| window.location.protocol // http | |
| window.location.pathname // index.php | |
| window.location.href // http://www.test.com:8082/index.php#tab2 | |
| window.location.hash // #tab2 | |
| window.location.search // ?foo=123 | |
| $(location).attr('host'); // www.test.com:8082 | 
  
    
      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 | |
| function slug($str, $delimiter='-', $charset='utf-8') { | |
| $str = preg_replace("`\[.*\]`U","",$str); | |
| $str = preg_replace('`&(amp;)?#?[a-z0-9]+;`i','-',$str); | |
| $str = htmlentities($str, ENT_NOQUOTES, $charset); | |
| $str = preg_replace( "`&([a-z])(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig);`i","\\1", $str ); | |
| $str = preg_replace( array("`[^a-z0-9]`i","`[-]+`") , "-", $str); | |
| $str = ( $str == "" ) ? $type : strtolower(trim($str, '-')); | |
| $str = strtolower($str); | 
  
    
      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 | |
| namespace Pr3ss\UserBundle\Controller; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Session\Session; | |
| use Symfony\Component\Security\Core\SecurityContextInterface; | |
| use Symfony\Component\Security\Core\Exception\AuthenticationException; | |
| use FOS\UserBundle\Controller\SecurityController as BaseController; | 
  
    
      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
    
  
  
    
  | afghanistan : Afghanistan | |
| albania : Albania | |
| algeria : Algeria | |
| american_samoa : American Samoa | |
| andorra : Andorra | |
| angola : Angola | |
| anguilla : Anguilla | |
| antigua_and_barbuda : Antigua and Barbuda | |
| argentina : Argentina | |
| armenia : Armenia | 
  
    
      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 Remplace(a,b, expr) { | |
| var i=0 | |
| while (i!=-1) { | |
| i=expr.indexOf(a,i); | |
| if (i>=0) { | |
| expr=expr.substring(0,i)+b+expr.substring(i+a.length); | |
| i+=b.length; | |
| } | |
| } | |
| return expr | 
  
    
      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
    
  
  
    
  | animation : none; | |
| animation-delay : 0; | |
| animation-direction : normal; | |
| animation-duration : 0; | |
| animation-fill-mode : none; | |
| animation-iteration-count : 1; | |
| animation-name : none; | |
| animation-play-state : running; | |
| animation-timing-function : ease; | |
| backface-visibility : visible; | 
  
    
      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 | |
| RewriteBase / | |
| # allow these referers to passthrough | |
| RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cub3\.be | |
| RewriteRule ^ - [L] | |
| <FilesMatch "\.(mov|mp3|jpg|pdf|doc|docx|xls|xlsx)$"> | |
| ForceType application/octet-stream | |
| Header set Content-Disposition attachment |