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 | |
| # variables | |
| me="who -m" | |
| kernel="uname -r" | |
| os="cat /etc/centos-release" | |
| echo -e "\n====================================================" | |
| echo "Bahmni 0.93 installer is running!!" | |
| echo "Current user (You): $me" |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>css animation</title> | |
| <style> | |
| body { | |
| background-color: rgb(72 72 72); | |
| } |
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
| # Write a Python function that accepts a string and calculate the number of upper case letters and | |
| # lower case letters. | |
| def count_upp_low_case(any_string): | |
| """Description: count the upper and lowercase characters from given input""" | |
| count_uppercase, count_lowercase, count_special_char = 0, 0, 0 | |
| for char in any_string: | |
| if char.isupper(): | |
| count_uppercase += 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
| # importing built-in library from python 3 itself | |
| import random | |
| print('Welcome to the RPS game\n' | |
| '-----Winning rules-----\n' | |
| 'Rock vs Paper = Paper wins \n' | |
| 'Rock vs Scissor = Rock wins \n' | |
| 'Paper vs Scissor = Scissor wins\n' | |
| '----------------------------------\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
| #importing built-in library from python 3 itself | |
| import random | |
| print('Welcome to the RPS game\n') | |
| print('-----Winning rules-----') | |
| print('Rock vs Paper = Paper wins \n' + | |
| 'Rock vs Scissor = Rock wins \n' + | |
| 'Paper vs Scissor = Scissor wins') | |
| print('----------------------------------\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
| // Online C compiler to run C program online | |
| #include <stdio.h> | |
| int main() { | |
| int fNumber; | |
| int sNumber; | |
| int tNumber; | |
| printf("Enter a first integer: "); | |
| scanf("%d", &fNumber); |
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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| <link rel="icon" type="image/png" href="#"/> |