This file contains 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="vcard"> | |
<div class="fn org">Wikimedia Foundation Inc.</div> | |
<div class="adr"> | |
<div class="street-address">149 New Montgomery Street, 3rd Floor</div> | |
<div> <span class="locality">San Francisco</span>, <abbr class="region" title="California">CA</abbr> <span class="postal-code">94105</span></div> | |
<div class="country-name">USA</div> | |
</div> | |
<div>Phone: <span class="tel">+1-415-839-6885</span></div> | |
<div>Email: <span class="email">info@wikimedia.org</span></div> | |
<div> |
This file contains 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
<article itemscope itemtype="http://schema.org/Recipe"> | |
<h1 itemprop="name">Beef with Carrots and Onions</h1> | |
<p itemprop="description">Carrots and onions goes really well together with grilled beef.</p> | |
<ul> | |
<li itemprop="ingredients">250 g beef</li> | |
<li itemprop="ingredients">One carrot</li> | |
<li itemprop="ingredients">One onion</li> | |
</ul> | |
<p itemprop="recipeInstructions">Trim the onion and carrot, chop them finely and fry in a pan. Grill the beef for 2 minuted per side in a really hot cast iron skillet.</p> | |
</article> |
This file contains 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 entry = { | |
log : [], | |
set current : function(str){ | |
return this.log[this.log.length-1] = str; | |
} | |
get latest : function(){ | |
if(this.log.length > 0){ | |
return this.log[this.length - 1]; | |
}else{ | |
return null; |
This file contains 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
/** | |
* @author Nicolas Barradeau | |
*/ | |
//a progressive quadBezier + a scribbler | |
(function() { | |
//a series of quadratic curves descriptions P0 x/y, anchor x/y, P1 x/y | |
var path = [ 200,200, 300,100, 350,150, |
This file contains 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
mysqldump -u username -p[password] olddb --lock-tables=false | mysql -u username -p[username] test_db |
This file contains 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
sudo apt-get remove phpunit | |
sudo pear channel-discover pear.phpunit.de | |
sudo pear channel-discover pear.symfony-project.com | |
sudo pear channel-discover components.ez.no | |
sudo pear update-channels | |
sudo pear upgrade-all | |
sudo pear install --alldeps phpunit/PHPUnit | |
sudo apt-get install phpunit |
This file contains 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
--silent don't output anything | |
curl --silent http://example.com > /dev/null 2>&1 | |
curl --output-document=/dev/null http://example.com | |
--cookie attach cookie with your request | |
curl --cookie "key=value" http://server.com | |
This file contains 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
*&---------------------------------------------------------------------* | |
*& report z_demo_structdescr | |
*& | |
*&---------------------------------------------------------------------* | |
*& | |
*& | |
*&---------------------------------------------------------------------* | |
report z_demo_structdescr. |
This file contains 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
*&---------------------------------------------------------------------* | |
*& Report Z_DEMO_STRING | |
*&---------------------------------------------------------------------* | |
REPORT Z_DEMO_STRING. | |
data: | |
lv_length type i, | |
lv_string type char20. |
This file contains 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
<VirtualHost *:80> | |
ServerAdmin email@gmail.com | |
ServerName project.local | |
DocumentRoot /home/uname/Documents/GitProj | |
<Directory /home/uname/Documents/GitProj/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride all | |
Order allow,deny | |
allow from all |
OlderNewer