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
<!DOCTYPE html> | |
%html | |
%head | |
%meta{:"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"} | |
%title ONLINE KINGDOM | |
= stylesheet_link_tag 'screen' | |
= javascript_include_tag 'jquery' | |
= javascript_include_tag 'application', 'cufon-yui', 'Arial_Rounded_MT_Bold_400.font' | |
= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? | |
= javascript_include_tiny_mce_if_used |
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
if (tbsTable[searchPos] >= key) // If the value in the search position | |
{ // is greater than the number for | |
upperbound = searchPos - 1; // which we are searching, change | |
} // upperbound to the search position | |
else // minus one. | |
{ // Else, change lowerbound to search. | |
lowerbound = searchPos + 1;// position plus one. | |
} |
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
#!/bin/bash | |
# Export commits from git master to the current CVS checkout. Expects a git tag | |
# called synccvs to point to the place in the git repo where CVS is up-to-date. | |
# Any commits between synccvs and master in git will be exported to CVS. | |
# | |
# Usage: | |
# ./synccvs.sh [-f] | |
# | |
# By default the script will only print out what would be committed to CVS. To |
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
is_known_and_unique(Name) :- | |
student(Name, X, _), | |
student(Name, Y, _), | |
X \== Y. |
NewerOlder