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
<gconfentryfile> | |
<entrylist base="/apps/metacity/global_keybindings"> | |
<entry> | |
<key>cycle_group</key> | |
<schema_key>/schemas/apps/metacity/global_keybindings/cycle_group</schema_key> | |
<value> | |
<string></string> | |
</value> | |
</entry> | |
<entry> |
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
<script type="text/javascript"> | |
var csvFile=new XMLHttpRequest(); | |
var filePath="file:///home/etblue/Codes/translation/rails-guide-glossary-list-zh_tw.csv" | |
csvFile.open("GET", filePath, false); | |
csvFile.send(); | |
glossary = csvFile.responseText.split("\n"); | |
for(var i=0;i<glossary.length;i++) |
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
<b:if cond='data:blog.pageType != "item"'> | |
<b:if cond='data:blog.pageType != "static_page"'> | |
<b:if cond='data:post.allowComments'> | |
<b:if cond='data:post.numComments == 0'> | |
<a class='comment-link' expr:href='data:post.addCommentUrl'>留下回應</a> | |
<b:else/> | |
<a class='comment-preview' expr:onclick='"var comments= \"" +data:post.id+ "_comment-preview\"; var url=\"" +data:post.addCommentUrl+ "\"; $(\"#\"+comments).toggle(); $(\".\"+comments).load(url+ \" #Blog1_comments-block-wrapper\");"' href='javascript:void(0)' title='預覽回應 preview comments'> | |
預覽 <b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a> | |
</b:if> | |
</b:if> |
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 id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#appId=APP_ID&xfbml=1'/><fb:comments expr:href='data:post.url' num_posts='3' width='600'/> |
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
def get_size | |
print"\n how many rows/columns do you wish to have? (please input a number between 4 and 100:) " | |
# ask user to input the correct format over and over again | |
while | |
table_size=gets.chomp.to_i | |
# start over if the format is incorrect | |
if !table_size || table_size<4 || table_size>100 | |
print"\n please give me an integer between 4 and 100: " |
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
# header | |
puts "\n--------------------------\n * Multiplication Table * \n--------------------------" | |
# body | |
(1..9).each{|y| | |
# one row | |
(1..9).each{|x| | |
number=x*y |
OlderNewer