This file contains hidden or 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
#!/bin/bash | |
# Based on terrbear's "html2haml an entire directory" at http://terrbear.org/?p=277 | |
# This script needs to be executable and located somewhere in your PATH | |
CMD=`basename $0` | |
if [ -z "$1" ]; then | |
wdir="." | |
else | |
wdir=$1 |
This file contains hidden or 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
<ul> | |
<li> | |
Level 1 Item 1 | |
<ul> | |
<li> | |
Level 1-1 Item 1 | |
<ul> | |
<li> | |
Level 1-1-1 Item 1 | |
</li> |
This file contains hidden or 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
<manifest> | |
<organization> | |
<item identifier="ITEM-6137565f-18fe-481f-b6ce-a290a354c862" isvisible="true"> | |
<title>Math</title> | |
<item identifier="ITEM-5781bd41-7acd-4373-8ccd-37bd074c2461"> | |
<title>Grade 07</title> | |
<item identifier="ITEM-d7035880-88a5-4501-9865-f6265ba8022c" identifierref="i-179211"> | |
<title>qti_200535.xml</title> | |
</item> | |
<item identifier="ITEM-b13ebebd-f942-4ee8-a342-e8c3913c9063" identifierref="i-194469"> |
This file contains hidden or 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
Solved, with some help from StackOverflow that I apparently missed the first time around | |
(http://stackoverflow.com/questions/2013124/regex-matching-up-to-the-first-occurrence-of-a-character): | |
/<simpleChoice[^>]*>/ | |
Match "<simpleChoice" plus any and all characters that do not match ">" followed by a ">". | |
[^>]* is a set of "zero or more characters that do not match >" | |
This file contains hidden or 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
// the function gets called inline via the onmouseover and onmouseout events like this | |
P7_MultiClass2('L3','show','nav_03','active_03')" | |
// essentially, the function is using the calling parameters to set set the classname for another item on the page | |
// since the classname they're adding is the "active_03", "active_04", etc., this is triggering the display of | |
// the submenu when you hover the nav item. | |
function P7_MultiClass2() { | |
var args=P7_MultiClass2.arguments; | |
// so, args = ['L3','show','nav_03','active_03'] | |
if(document.getElementById) { |
This file contains hidden or 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
<object type="application/x-shockwave-flash" style="outline:none;" data="http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/fish.swf?up_fishName=GroovyFish&up_fishColor10=66420C&up_fishColor3=4340F4&up_fishColor8=FA0047&up_fishColor9=6A8038&up_fishColor7=40C7F4&up_numFish=10&up_backgroundImage=http://&up_fishColor4=F4E540&up_foodColor=66420C&up_fishColor2=DC40F4&up_fishColor1=F45540&up_fishColor6=F48540&up_fishColor5=40F45E&up_backgroundColor=C5DDFA&" width="500" height="333"><param name="movie" value="http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/fish.swf?up_fishName=GroovyFish&up_fishColor10=66420C&up_fishColor3=4340F4&up_fishColor8=FA0047&up_fishColor9=6A8038&up_fishColor7=40C7F4&up_numFish=10&up_backgroundImage=http://&up_fishColor4=F4E540&up_foodColor=66420C&up_fishColor2=DC40F4&up_fishColor1=F45540&up_fishColor6=F48540&up_fishColor5=40F45E&up_backgroundCo |
This file contains hidden or 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
Setting up libtinfo-dev (5.9-4) ... | |
Setting up libreadline6-dev (6.2-8) ... | |
Setting up libreadline-dev (6.2-8) ... | |
Installing: Ruby | |
--2012-10-13 00:07:21-- ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
=> `ruby-1.9.3-p194.tar.gz' | |
Resolving ftp.ruby-lang.org (ftp.ruby-lang.org)... 221.186.184.68 | |
Connecting to ftp.ruby-lang.org (ftp.ruby-lang.org)|221.186.184.68|:21... connected. | |
Logging in as anonymous ... Logged in! | |
==> SYST ... done. ==> PWD ... done. |
This file contains hidden or 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
# Let's say you have a collection of seven items: | |
['a', 'b', 'c', 'd', 'e', 'f', 'g'] | |
# and you want to split it into three groups. What should the result be? | |
A. | |
[ | |
['a', 'b', 'c'], | |
['d', 'e'], |
This file contains hidden or 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
district_rankings_options[0] = { | |
chart: { | |
renderTo: 'district_rankings_chart', | |
type: 'column', | |
height: 400, | |
shadow: false | |
}, | |
legend: false, | |
plotOptions: { | |
series: { |
This file contains hidden or 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
C: | |
--- | |
To my knowkedge, the capitalization or expensing of costs related to software development depend on the | |
type of activity, not how the project might have been planned. For instance, planning and feasibility | |
research type costs are to be expensed when incurred, while application development costs are | |
capitalized. In the case of software to be sold, there is also a determination of feasbility point to | |
be considered when drawing the line between expense as incurred and capitalize. I believe the guiding | |
standards come from FASB 86 and AICPA SOP 98-1. | |
R's question seemed to imply that this was a "univeral rule", so I would be interested to hear what |
OlderNewer