Skip to content

Instantly share code, notes, and snippets.

View varya's full-sized avatar
🏠
Working from home

Varya Stepanova varya

🏠
Working from home
View GitHub Profile
@varya
varya / dabblet.html
Created November 26, 2013 15:24
Untitled
<ul class="photo-grid"><li class="photo">
<a href="#" class="photo-link">
<img src="http://www.mtv.com/movies/a-z/h/hudgens_vanessa/150x200.jpg" class="photo-img">
<span class="photo-title">a girl</span>
</a>
</li><li class="photo">
<a href="#" class="photo-link">
<img src="http://i1132.photobucket.com/albums/m566/Feargraphics/Others/150x200.png" class="photo-img">
<span class="photo-title">bender_wants_to_kill_all_the_people</span>
</a>
function create(number) {
var arr = [];
for (var i=1; i<number; i++) {
arr[i] = function() { alert(i*i) };
}
return arr;
};
var arr = create(100);
<ul>
<li><img src="http://social.my-site.nl/avatars/nslds989.jpg"/>Hello! I have a birthday party on Saturday. Please come everyone! Do not forget a present!</li>
<li><img src="http://social.my-site.nl/avatars/pq810x540.jpg"/>Wow, cool! Will your parents stay home?</li>
<li><img src="http://social.my-site.nl/avatars/n9823kls.jpg"/>I will bring my poetry to you. No-one had such a gift.</li>
<li><img src="http://social.my-site.nl/avatars/pqa092xsl.jpg"/>I will come, sure! I will buy Monopoly, we can play it the whole evening!</li>
<li><img src="http://social.my-site.nl/avatars/kd83ndqf.jpg"/>>Gem, this is a very nice idea! After that we can go to the park.</li>
<li><img src="http://social.my-site.nl/avatars/n9823kls.jpg"/>СIt will write a new poem specially for you.</li>
<li><img src="http://social.my-site.nl/avatars/pq810x540.jpg"/>I need your clothes your boots and your motorcycle...</li>
</ul>
<page>
<messages>
<item user-id="1">Hello! I have a birthday party on Saturday. Please come everyone! Do not forget a present!</item>
<item user-id="5">Wow, cool! Will your parents stay home?</item>
<item user-id="2">I will bring my poetry to you. No-one had such a gift.</item>
<item user-id="4">I will come, sure! I will buy Monopoly, we can play it the whole evening!</item>
<item user-id="3">Gem, this is a very nice idea! After that we can go to the park.</item>
<item user-id="2">It will write a new poem specially for you.</item>
<item user-id="5">I need your clothes your boots and your motorcycle...</item>
</messages>
<table>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td>5</td>
<td>6</td>
<table>
<tr>
<td>1</td>
<td>5</td>
<td>9</td>
</tr>
<tr>
<td>2</td>
<td>6</td>
<td>10</td>
<list>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<catalog>
<plant>
<common>Bloodroot</common>
<botanical>Sanguinaria canadensis</botanical>
<zone>4</zone>
<light>Mostly Shady</light>
<price>$2.44</price>
<availability>031599</availability>
</plant>
<plant>
<ul>
<li class="blue">1</li>
<li class="red">2</li>
<li class="blue">3</li>
<li class="red">4</li>
<li class="blue">5</li>
<li class="red">6</li>
<li class="blue">7</li>
<li class="red">8</li>
<li class="blue">9</li>
<list>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>