tools.corradoroberto.it

Your IP is: 44.215.110.142 external link

Code Snippets:

class Voila {
public:
  // Voila
  static const string VOILA = "Voila";
  // will not interfere with embedded tags.
}
class Voila {
public:
  // Voila
  static const string VOILA = "Voila";
  // will not interfere with embedded tags.
}
Transparently redirect your root directory to a subdirectory
RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_URI} !^/blog/

# Rewrites all URLS [Replace "domain" with the actual domain, without the TLD (.com, .net, .biz, etc)]
RewriteCond %{HTTP_HOST} ^(www\.)?domain\.

# Rewrite all those to insert /folder
RewriteRule ^(.*)$ /blog/$1 [L]
What do the operators .>>. (double arrow) and .|. (single pipe) mean in JavaScript?
x >> y means to shift the bits of x by y places to the right (<< to the left).

x | y means to compare the bits of x and y, putting a 1 in each bit if either x or y has a 1 in that position.

x & y is the same as |, except that the result is 1 if BOTH x and y have a 1.

Examples:

1 << 4 = b10000 = 16
72 >> 3 = b1001000 >> 3 = b1001 = 9
8 | 2 = b1000 | b0010 = b1010 = 10
6 & 3 = b110 & b011 = b010 = 2
RewriteCond  %{HTTP_HOST}  !^www.mydomain.com$
# skip rules if NOT within domain - only way to tie multiple rules to one cond
RewriteRule  .?  -  [S=3]
RewriteRule  ^path1(/.*)$  /otherpath1$1
RewriteRule  ^path2(/.*)$  /otherpath2$1
RewriteRule  ^path3(/.*)$  /otherpath3$1
lol();

Torna suTorna su

©2008 Roberto Corrado. All rights reserved. Privacy Policy. Validate HTML5 and CSS3.Powerby Python v.2.7.13