sudo apt-get install software-properties-common
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install curl
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
for file in (find . -type f -name "*.pages") | |
unzip -o $file | |
cat index.xml | sed "s/<sf:ghost-text>.*<\/sf:ghost-text>//g" | sed "s/<[^>]*>//g" | sed "s/&......;//g" >> all_files.txt | |
end |
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="region region-secondary-content"><div class="region-inner clearfix"><div id="block-block-29" class="block block-block no-title odd first block-count-4 block-region-secondary-content block-29" ><div class="block-inner clearfix"> | |
<div class="block-content content"><div id="my-progress-page-tally-marks-and-title-wrapper"><div id="my-progress-page-tally-marks-icon"><img alt="My Progress page icon" src="/safefoodfarm2kid/sites/default/themes/Farm2School/images/my_progress75x50.png" style="height:50px; width:75px" /></div><div id="my-progress-page-title">MY PROGRESS</div></div> | |
</div> | |
</div></div><section id="block-views-my-progress-checklist-block-17" class="block block-views even last block-count-5 block-region-secondary-content block-my-progress-checklist-block-17" ><div class="block-inner clearfix"> | |
<h2 class="block-title">My Next Step page view</h2> | |
<div class="block-content content"><div class="view view-my-progress-checklist view-id-my_progress_checklist view-display-id-bl |
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
input[type=radio], | |
input[type=radio] + label{ | |
display:none; | |
} | |
input[type=radio]:checked, | |
input[type=radio]:checked + label{ | |
display:block; | |
} |
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 previous_URL = document.referrer; |
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
function setText(textarea) { | |
jQuery.getJSON('//baconipsum.com/api/?callback=?', | |
{ 'type':'meat-and-filler', 'start-with-lorem':'1', 'sentences':Math.floor((Math.random() * 3) + 1) }, | |
function(baconGoodness) | |
{ | |
if (baconGoodness && baconGoodness.length > 0) | |
{ | |
textarea.value = baconGoodness; | |
} | |
} |
Okay, so you're Ian Fleming, and you're starting work on a new chapter of a book.
At the end of the last chapter, 007 saved a pretty lady from a gang of komodo dragons released by an international terrorist organization that was posing as an Javanese drug cartel. Your editor has looked over that chapter, and, after some changes, she's now happy with your work. So you...
$ git checkout dev-chapter17
work happens…
$ git commit -m "remove clothing from female protaganist"
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
au BufRead,BufNewFile *.md setlocal textwidth=80 | |
au BufRead,BufNewFile *.md 2mat ErrorMsg '\%81v.' |
This page explains how to set up an empty virtualized environment for developing a drupal site.
- Virtualbox - Hosts virtual machines for sandboxing development environments
- Vagrant - Reproducible configuration and management for virtual machines
- Git - For setting up vagrant machines
I hereby claim:
- I am nsu on github.
- I am karp (https://keybase.io/karp) on keybase.
- I have a public key whose fingerprint is 4424 DB5C 033E EFB2 0F41 7E78 BD9C DB92 5584 1617
To claim this, I am signing this object:
OlderNewer