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
| program MayanToModernDateND; | |
| uses SysUtils; | |
| var | |
| baktun : integer = 0; | |
| katun : integer = 0; | |
| tun : integer = 0; | |
| uinal : integer = 0; | |
| kin : integer = 0; |
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
| function validateForm() | |
| { | |
| var result = true; | |
| var msg = ""; | |
| var radioOn = ""; | |
| var radioCheck = ""; | |
| if (document.ExamEntry.name.value=="") | |
| { | |
| msg += "You must enter your name \n"; |
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
| using UnityEngine; | |
| using System.Collections; | |
| public class GunScript : MonoBehaviour { | |
| public Transform Gun; | |
| public Transform Player; | |
| // Use this for initialization | |
| /*void Start () { | |
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
| def Palindrome(string): | |
| reversed_string = "" | |
| for i in range(0, len(string)): | |
| reversed_string += string[len(string) -1 - i] | |
| if(string == reversed_string): | |
| return "Is a Palindrome" | |
| else: | |
| return "Is not Palindrome" | |
| print Palindrome(raw_input()) |
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
| import java.util.InputMismatchException; | |
| import java.util.Scanner; | |
| public class Main { | |
| static String format(double num1, char operatorChar, double num2, double answer) { | |
| return String.format("%s %s %s = %s", num1, operatorChar, num2, answer); | |
| } | |
| static String operation(double num1, double num2, char operatorChar) { |
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
| @font-face { | |
| font-family: MyriadPro-Cond; | |
| src: url('MyriadPro-Cond.otf') /* EOT file for IE */ | |
| } | |
| @font-face { | |
| font-family: MyriadPro-Cond; | |
| src: url('MyriadPro-Cond.ttf') /* TTF file for CSS3 browsers */ | |
| } | |
| @font-face { |
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
| <html> | |
| <head> | |
| <link rel="stylesheet" type="text/css" href="style.css"> | |
| </head> | |
| <body style="margin: 0px;"> | |
| <div id="white"> | |
| <div class="menu"> | |
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
| //Written as a combination of Lazy Foo resources, other documentation and original code | |
| //Using SDL and standard IO | |
| #include <SDL.h> | |
| #include <SDL_image.h> | |
| #include <SDL_ttf.h> | |
| #include <stdio.h> | |
| #include <iostream> | |
| #include <time.h> |