From c8de9e7d2c2459a8bce23a8e3f8cebd41d941bea Mon Sep 17 00:00:00 2001 From: vishaljaswal65 Date: Sun, 20 Oct 2019 15:00:44 +0530 Subject: [PATCH 1/6] Added HTML File --- C++/.gitignore | 1 - C/.gitignore | 1 - HTML/.gitignore | 1 - HTML/194509.html | 6 ++++++ Java/.gitignore | 1 - JavaScript/.gitignore | 1 - Python/.gitignore | 1 - 7 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 HTML/194509.html diff --git a/C++/.gitignore b/C++/.gitignore index d6b7ef3..f935021 100644 --- a/C++/.gitignore +++ b/C++/.gitignore @@ -1,2 +1 @@ -* !.gitignore diff --git a/C/.gitignore b/C/.gitignore index d6b7ef3..f935021 100644 --- a/C/.gitignore +++ b/C/.gitignore @@ -1,2 +1 @@ -* !.gitignore diff --git a/HTML/.gitignore b/HTML/.gitignore index d6b7ef3..f935021 100644 --- a/HTML/.gitignore +++ b/HTML/.gitignore @@ -1,2 +1 @@ -* !.gitignore diff --git a/HTML/194509.html b/HTML/194509.html new file mode 100644 index 0000000..34187a9 --- /dev/null +++ b/HTML/194509.html @@ -0,0 +1,6 @@ + +194509 + +Hello World + + \ No newline at end of file diff --git a/Java/.gitignore b/Java/.gitignore index d6b7ef3..f935021 100644 --- a/Java/.gitignore +++ b/Java/.gitignore @@ -1,2 +1 @@ -* !.gitignore diff --git a/JavaScript/.gitignore b/JavaScript/.gitignore index d6b7ef3..f935021 100644 --- a/JavaScript/.gitignore +++ b/JavaScript/.gitignore @@ -1,2 +1 @@ -* !.gitignore diff --git a/Python/.gitignore b/Python/.gitignore index d6b7ef3..f935021 100644 --- a/Python/.gitignore +++ b/Python/.gitignore @@ -1,2 +1 @@ -* !.gitignore From e7fd33c02ba861bddb4d69d878827fe418b04e90 Mon Sep 17 00:00:00 2001 From: vishaljaswal65 Date: Sun, 20 Oct 2019 15:46:30 +0530 Subject: [PATCH 2/6] Changed HTML File --- HTML/mca.htm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 HTML/mca.htm diff --git a/HTML/mca.htm b/HTML/mca.htm new file mode 100644 index 0000000..80428c3 --- /dev/null +++ b/HTML/mca.htm @@ -0,0 +1,5 @@ + + +

HEY WORLD

+ + \ No newline at end of file From bfab54ba395b4ae5348efde0caa74e1e9cb1e7e3 Mon Sep 17 00:00:00 2001 From: vishaljaswal65 Date: Wed, 23 Oct 2019 22:46:49 +0530 Subject: [PATCH 3/6] html file added --- HTML/file.html | 8 ++++++++ HTML/vishj.txt | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 HTML/file.html create mode 100644 HTML/vishj.txt diff --git a/HTML/file.html b/HTML/file.html new file mode 100644 index 0000000..3fd9b78 --- /dev/null +++ b/HTML/file.html @@ -0,0 +1,8 @@ + + + +Open Source + +Open source software is a free liberal software . It is available with source code and it is easy to distribute. + + \ No newline at end of file diff --git a/HTML/vishj.txt b/HTML/vishj.txt new file mode 100644 index 0000000..5ec7838 --- /dev/null +++ b/HTML/vishj.txt @@ -0,0 +1,6 @@ +Name: Kaneshia Richardson +Addrss: 1090 Green Pine Cir +City: Orange Park +State FL +ZIP 32065 +SSN 594-64-xxxx \ No newline at end of file From a0a39edd51403a1316933095380517058d1403b9 Mon Sep 17 00:00:00 2001 From: vishaljaswal65 Date: Wed, 23 Oct 2019 23:25:15 +0530 Subject: [PATCH 4/6] Python File New --- C/hello.c - Shortcut.lnk | Bin 0 -> 598 bytes HTML/firefox.html | 10 +++++++++ Hacktoberfest2019 | 1 + Python/194509.py.txt | 46 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 C/hello.c - Shortcut.lnk create mode 100644 HTML/firefox.html create mode 160000 Hacktoberfest2019 create mode 100644 Python/194509.py.txt diff --git a/C/hello.c - Shortcut.lnk b/C/hello.c - Shortcut.lnk new file mode 100644 index 0000000000000000000000000000000000000000..0c0e79bf4d1c0291913224d2f42783ed0321f005 GIT binary patch literal 598 zcmaiuPbh{d=!#_Ae%H zHH#DNNjmUd2hEQrWD`0Rx*nX@#y4>|Ywb=86VI=R;9_$o{f#_7YG3fpg~TiEZZY*1 zkOc~*o{eFe>z>0LFQ7?-!II75e zWw)?tzsjX^b~OLP*P8{5d{S6VOmZwa}ha2DzScf-jzk_bfZy}I#oHWN*2M) z3zALoL<4d#qDqO2kWa%oNJ-vCD?NxJKnDa7flB%0WAe}lk)oZHlM#+rSRlX*p1g#= z6Z*c7TkRob=I;+hlu((V4ps%L`3k()$37+VbN&3*UdQ;E($F2vJu!W}W* + + +Mozilla FireFox + +Mozilla Firefox, or simply Firefox, is a free and open-source[24] web browser developed by the Mozilla Foundation and its subsidiary, Mozilla Corporation. Firefox is officially available for Windows 7 or newer, macOS and Linux; its unofficial ports are available for various Unix and Unix-like operating systems including FreeBSD,[9] OpenBSD,[10] NetBSD,[11] illumos[12] and Solaris Unix.[14] Its sibling, Firefox for Android, is also available. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards.[25] In 2017, Firefox began incorporating new technology under the code name Quantum to promote parallelism and a more intuitive user interface.[26] An additional version, Firefox for iOS, was released on November 12, 2015. Due to platform restrictions, it uses the WebKit layout engine instead of Gecko, as with all other iOS web browsers. + +Firefox was created in 2002 under the codename "Phoenix" by the Mozilla community members who desired a standalone browser, rather than the Mozilla Application Suite bundle. During its beta phase, Firefox proved to be popular with its testers and was praised for its speed, security, and add-ons compared to Microsoft's then-dominant Internet Explorer 6. Firefox was released on November 9, 2004,[27] and challenged Internet Explorer's dominance with 60 million downloads within nine months.[28] Firefox is the spiritual successor of Netscape Navigator, as the Mozilla community was created by Netscape in 1998 before their acquisition by AOL. + + \ No newline at end of file diff --git a/Hacktoberfest2019 b/Hacktoberfest2019 new file mode 160000 index 0000000..acb58cf --- /dev/null +++ b/Hacktoberfest2019 @@ -0,0 +1 @@ +Subproject commit acb58cf66fc98fe23a586d62f30fd29ece027abc diff --git a/Python/194509.py.txt b/Python/194509.py.txt new file mode 100644 index 0000000..086b181 --- /dev/null +++ b/Python/194509.py.txt @@ -0,0 +1,46 @@ +import re, pyperclip + +phoneRegex = re.compile(r''' + (\d{3} | (\(\d{3}\)))? + (\s|-|\.)? + (\d{3}) + (\s|-|\.) + (\d{4}) + (\s*(ext|x|ext.)\s*(\d{2,5}))? + ''',re.VERBOSE) + +emailRegex = re.compile(r'''( + [a-zA-Z0-9._%+-]+ + @ + [a-zA-Z]{2,8} + (\.[a-zA-Z]{2,4}) + )''',re.VERBOSE) + +text = str(pyperclip.paste()) + +matches = [] + +for groups in phoneRegex.findall(text): + if groups[0]!='': + phoneNum = '-'.join([groups[0],groups[3],groups[5]]) + else: + phoneNum = '-'.join([groups[3],groups[5]]) + + if groups[8] != '': + phoneNum += ' x'+groups[8] + + matches.append(phoneNum) + +for groups in emailRegex.findall(text): + email = groups[0] + matches.append(email) + +if len(matches)>0: + pyperclip.copy('\n'.join(matches)) + print('coppied to clipboard:') + print('\n'.join(matches)) +else: + print('No matches found') +#print(phoneRegex.findall('222-444-5644 234.355.1345 123 234 1231 ext234')) +#print(emailRegex.findall('parthpant4@gmail.com')) +#print(matches) \ No newline at end of file From ce5670c40156ea7fcaa22b1aace7ed34c586a085 Mon Sep 17 00:00:00 2001 From: vishaljaswal65 Date: Wed, 23 Oct 2019 23:30:26 +0530 Subject: [PATCH 5/6] Python File New --- Hacktoberfest2019 | 1 - Python/{194509.py.txt => 194509.py} | 0 2 files changed, 1 deletion(-) delete mode 160000 Hacktoberfest2019 rename Python/{194509.py.txt => 194509.py} (100%) diff --git a/Hacktoberfest2019 b/Hacktoberfest2019 deleted file mode 160000 index acb58cf..0000000 --- a/Hacktoberfest2019 +++ /dev/null @@ -1 +0,0 @@ -Subproject commit acb58cf66fc98fe23a586d62f30fd29ece027abc diff --git a/Python/194509.py.txt b/Python/194509.py similarity index 100% rename from Python/194509.py.txt rename to Python/194509.py From 3205cbe706c25f41d42bf1fbfa79a5090e02c59f Mon Sep 17 00:00:00 2001 From: vishaljaswal65 Date: Wed, 23 Oct 2019 23:32:40 +0530 Subject: [PATCH 6/6] Python File New --- HTML/firefox.html | 10 ---------- HTML/vishj.txt | 6 ------ 2 files changed, 16 deletions(-) delete mode 100644 HTML/firefox.html delete mode 100644 HTML/vishj.txt diff --git a/HTML/firefox.html b/HTML/firefox.html deleted file mode 100644 index 1f9004a..0000000 --- a/HTML/firefox.html +++ /dev/null @@ -1,10 +0,0 @@ - - - -Mozilla FireFox - -Mozilla Firefox, or simply Firefox, is a free and open-source[24] web browser developed by the Mozilla Foundation and its subsidiary, Mozilla Corporation. Firefox is officially available for Windows 7 or newer, macOS and Linux; its unofficial ports are available for various Unix and Unix-like operating systems including FreeBSD,[9] OpenBSD,[10] NetBSD,[11] illumos[12] and Solaris Unix.[14] Its sibling, Firefox for Android, is also available. Firefox uses the Gecko layout engine to render web pages, which implements current and anticipated web standards.[25] In 2017, Firefox began incorporating new technology under the code name Quantum to promote parallelism and a more intuitive user interface.[26] An additional version, Firefox for iOS, was released on November 12, 2015. Due to platform restrictions, it uses the WebKit layout engine instead of Gecko, as with all other iOS web browsers. - -Firefox was created in 2002 under the codename "Phoenix" by the Mozilla community members who desired a standalone browser, rather than the Mozilla Application Suite bundle. During its beta phase, Firefox proved to be popular with its testers and was praised for its speed, security, and add-ons compared to Microsoft's then-dominant Internet Explorer 6. Firefox was released on November 9, 2004,[27] and challenged Internet Explorer's dominance with 60 million downloads within nine months.[28] Firefox is the spiritual successor of Netscape Navigator, as the Mozilla community was created by Netscape in 1998 before their acquisition by AOL. - - \ No newline at end of file diff --git a/HTML/vishj.txt b/HTML/vishj.txt deleted file mode 100644 index 5ec7838..0000000 --- a/HTML/vishj.txt +++ /dev/null @@ -1,6 +0,0 @@ -Name: Kaneshia Richardson -Addrss: 1090 Green Pine Cir -City: Orange Park -State FL -ZIP 32065 -SSN 594-64-xxxx \ No newline at end of file