Coder Social home page Coder Social logo

imaz1n / eid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alosefer/eid

0.0 1.0 0.0 64 KB

๐Ÿค“ Geeks Eid Mubarak ๐ŸŽŠ ูƒู„ ุนุงู… ูˆุงู†ุชู… ุจุฎูŠุฑ ๐ŸŽ‰

cpp php ruby kotlin swift python javascript java nmap sql

eid's Introduction

Geeks Eid Mubarak

๐ŸŽ‰ ูƒู„ ุนุงู… ูˆุงู†ุชู… ุจุฎูŠุฑ - ู†ุณุฎุฉ ุงู„ุชู‚ู†ูŠูŠู† ๐ŸŽ‰

๐ŸŽŠ Geeks Eid Mubarak ๐ŸŽŠ

What it's about?

ู…ู„ู ุชูุงุนู„ูŠ ู„ู„ุฅุถุงูุฉ ู…ู† ุงู„ุฌู…ูŠุน ุฃูƒูˆุงุฏ ูˆุฃูˆุงู…ุฑ ุฎุงุตุฉ ู…ู† ุงู„ุจุฑู…ุฌุฉุŒ ุงู„ุชู‚ู†ูŠุฉุŒ ุงู„ุฃู…ู†ุŒ ุงู„ุชุตู…ูŠู…... ู„ู„ุชู‡ู†ุฆุฉ ุจุงู„ุนูŠุฏ โ™ฅ ุงุจุฏุน ุจุฃููƒุงุฑูƒ ๐Ÿ’ก ูˆู„ุงูŠูˆุฌุฏ ุญุฏูˆุฏ ู„ู„ุฅุจุฏุงุน ๐Ÿ™

How to contribute ๐Ÿค”?

ุดุฑุญ ููŠุฏูŠูˆ ูƒูŠููŠุฉ ุงู„ุงุถุงูุฉ ู…ุนู†ุง ุจุดูƒู„ ุณู‡ู„ ๐Ÿ‘‹ ู†ู†ุชุธุฑ ู…ุดุงุฑูƒุงุชูƒู… ุงู„ุงุจุฏุงุงุงุนูŠุฉ
https://www.periscope.tv/w/1eaJbYnkopeGX

Porgramming

Security

Database


php

<?php
$date = date("Y/m/d");

if ($date == "2017/06/25"){
	echo "Eid Mubarak ๐ŸŽŠ";
} else{ 
	echo"Work Hard๐Ÿค“ there is no Eid๐Ÿ˜";
}
//Yaser @alosefer
?>

c++

#include <iostream>
#include <ctime>
using namespace std;

void checkEidDay(string eidDate,string todayDate);

int main(int argc, char *argv[]) {
    char localDateStr[50];
    time_t current = time(0); // if you wanna Eid day put current as 1498338323;
    tm *localDate = localtime(&current);
    string eidDate = "2017/06/25";
    strftime(localDateStr,50,"%Y/%m/%d",localDate);
    checkEidDay(eidDate,localDateStr);
    return 0;
// Mazen Hrazi (Twitter @iMaz1n)
}

void checkEidDay(string eidDate,string todayDate){
    if (eidDate == todayDate){
        printf("Happy Eid from iZONA ๐Ÿฅฐ.");
    }
    else {
        printf("Ohh ๐Ÿ˜ข There is no Eid ๐Ÿ˜ž.");
    }
}
#include <iostream>
#include <Ramadan>
using namespace std;

int main() 
{
    cout << "Eid Mubarak from Oman!";
    cout<< " Do not miss to fast 6 day in Shawal"; 
    return 0;
}
#include <iostream>

using namespace std;

int main() {
	int x;
	int y;
	for(x=1;x<3;x++)
	{
	cout<<"happy eid   "<< x<<"day    ";
	}
	y=x;
	
	if(y)
  cout<<"thanks alosefer "<< "all "<< y <<" day";	
	
}

kotlin

package Eid

fun main(args: Array<string>) {
	println("Eid Mubarak ๐Ÿ˜")
}

swift

var data = "2017/6/25"
 
 if data == "2017/6/25"
 {
       print("Eid Mubarak ๐ŸŽ‰")  
 }
 else
 {
 print("Error! ๐Ÿค“ there is no Eid"
 }

//@ANAS-ALMANA

java

Scanner enter=new Scanner(System.in);
System.out.println(" Enter today's date : ");
String date=enter.next();
		
		if(date.equals("25/6/2017")){
			System.out.println("happy Eid");
		}
		
		else if(date.equals("23/8/2017")){
			System.out.println("happy Eid");
		}
		else{
			System.out.println(" there is no Eid  ");
		}
//@rehabalhasan

python

print (" ูƒู„ ุนุงู… ูˆ ุงู†ุชู… ุจุฎูŠุฑ ")
Open in CMD 
^^


db_user = "Eid Mubarak"
db_passwd = "Happy Eid"


username = input ('Say,  Eid Mubarak: ')
password = input ('Say,  Happy Eid: ')


if username == db_user and password == db_passwd:
    print ('Happy Eid')
else:
    print ('Happy Eid Too ^_^ ')

New Python Code

#Fahad Alsubaie @FahadMIT
import time
import os
MessageBeforeEid = "The Eid will coming"
today = time.strftime("%d/%m/%Y")
EidTime= "25/06/2017"
user= os.popen('whoami').read()
EidMessage = ("Happy Eid :) Mr." + '%s' %user)
if today < EidTime:
    print (MessageBeforeEid)
elif today == EidTime:
    print (EidMessage)
elif today > EidTime:
    print ('Today is ''%s'' You miss the Eid'%today)
else:
    quit()

javascript

    <script src="https://code.jquery.com/jquery-1.8.3.min.js"></script>
    <body>
        <h1>Reverse</h1>
        <p id="list"></p>
        <p id="results"></p>
    </body>
    <script>
        var n = prompt("Enter diE yppaH");
       
        while (n.length > 0) {
            
            var ch = n.substring(n.length-1);
            $("#list").append(ch);
            n = n.substring(0,n.length-1);
            
        }
        
        $("#results");
        
    </script>

ruby

#!/usr/bin/ruby -w

puts " Happy Eid :) ";

// @Muneera_Salah

nmap

Yasers-MacBook-Pro:~ yaser$ nmap -sS -sV -O sun.25.06.2017
Starting Nmap 5.00 ( http://nmap.org ) at 2017-06-25 07:30 SA
Interesting ports on sun.25.06.2017:
PORT    STATE   SERVICE     VERSION
09/tcp  closed  Ramadan     May Allah Accepts your fasting and prayers
10/tcp  open    Eid         Eid Mubarak 2017
=Service Info: Device: Yaser's firewall
MAC Address: 61:6c:6f:73:65:66:65:72 (Hex_To_Text)
Aggressive OS guesses: Yaser @Alosefer Linux V 4.12-rc6
No exact OS matches for host (test conditions non-ideal).

Nmap done: 1 IP address (1 host up) scanned in 0.51 seconds

SQL

-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jun 27, 2017 at 09:40 AM
-- Server version: 10.1.10-MariaDB
-- PHP Version: 7.0.4

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

CREATE DATABASE Eid  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; 

CREATE TABLE `eid_notification` (
  `ID` int(11) PRIMARY KEY AUTO_INCREMENT NOT NULL,
  `Eid_Name` varchar(100) NOT NULL,
  `Eid_Date` date NOT NULL,
  `Eid_Description` varchar(250) NOT NULL,
  `Eid_Message` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;

INSERT INTO `eid_notification` 
(`ID`, `Eid_Name`, `Eid_Date`, `Eid_Description`, `Eid_Message`) 
VALUES
(1, 'ุนูŠุฏ ุงู„ูุทุฑ - Eid Al Fitr\r\n', '2017-06-25', 'ุจุนุฏ ุตูŠุงู… ุดู‡ุฑ ุฑู…ุถุงู† ุงู„ู…ุจุงุฑูƒ - After fasting the holy month of Ramadan', 
'Eid Mubarak - ุนูŠุฏ ู…ุจุงุฑูƒ');

// @Muneera_Salah

eid's People

Contributors

alosefer avatar anas-tami avatar fhooodi8 avatar immrym avatar mazenalaghbari avatar mohalromaih avatar mohdjalalah avatar mrwheelz avatar muneera-salah avatar othr9 avatar rehabalhasan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.