git reset --hard HEAD^
git push -f
{% if template contains 'collection' and collection.all_tags.size > 1 %} | |
<!-- A recursive loop to catch and filter out the different tag categories --> | |
{% assign c = 0 %} | |
{% for t in collection.all_tags %} | |
{% capture cat %}{{ cat }}{% capture temp_cat %}{% if t contains '_' %}{% assign cat_grp = t | split: '_' %}{{ cat_grp.first }}{% endif %}{% endcapture %}{% unless cat contains temp_cat %}{% if t contains '_' %}{% assign new_cat_grp = t | split: '_' %}{{ new_cat_grp.first }}{% endif %}{% unless forloop.last %}+{% endunless %}{% assign c = c | plus: 1 %}{% endunless %}{% endcapture %} | |
{% endfor %} | |
<!-- create array of tag categories --> | |
{% assign cat_array = cat | split: '+' %} |
<div id="vue"> | |
<input type="text" | |
name="home_phone" | |
class="form-control" | |
v-model="homePhone" | |
v-on:keyup="formatPhone()" | |
lazy> | |
</div> |
git reset --hard HEAD^
git push -f
// Open the file | |
$file = fopen($uri,'r'); | |
// If the first line is a header, uncomment the following.. | |
// $header = fgetcsv($file); | |
// Iterate through each row of the file | |
while(!feof($file)) { | |
// Read in the row | |
// $row will be an array of values that correspond to | |
// the columns in the row, example: | |
// array ( |
#!/usr/bin/python | |
for i in range(0,100): | |
three = i % 3 | |
five = i % 5 | |
if three == 0 and five == 0: | |
print 'fizzbuzz' | |
elif three == 0: | |
print 'fizz' | |
elif five == 0: |
<div class="loader"> | |
<div class="circle"></div> | |
<div class="circle"></div> | |
<div class="circle"></div> | |
<div class="circle"></div> | |
<div class="circle"></div> | |
</div> | |
<style> | |
.loader { |
This activity spinner is an adaptation from this Codepen, and is commonly seen in Windows 8.