Merge branch 'master' into master

This commit is contained in:
Luke Oliff 2018-10-01 14:13:06 -07:00 committed by GitHub
commit 81bd3883aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 279 additions and 6 deletions

View File

@ -9,7 +9,13 @@ That said, suggest ways to contribute include:
### Your name on the readme.md
* Fork the project.
* Add your name to the readme.md using the example provided.
* Add your name to the readme.md using this example;
```
### My Name
- Description about me
- [![twitter-alt][twitter-img]](https://twitter.com/example)
[![github-alt][github-img]](https://github.com/example)
```
* Commit and send a pull request. Bonus points for correctly named branches.
### A code sample

150
README.md
View File

@ -5,14 +5,14 @@
![GitHub](https://img.shields.io/github/license/my-first-pr/hacktoberfest-2018.svg)
![GitHub forks](https://img.shields.io/github/forks/my-first-pr/hacktoberfest-2018.svg)
![GitHub issues](https://img.shields.io/github/issues/my-first-pr/hacktoberfest-2018.svg)
![GitHub pull requests](https://img.shields.io/github/issues-pr/my-first-pr/hacktoberfest-2018.svg)
![GitHub contributors](https://img.shields.io/github/contributors/my-first-pr/hacktoberfest-2018.svg)
![GitHub pull requests](https://img.shields.io/github/issues-pr/my-first-pr/hacktoberfest-2018.svg)
![GitHub contributors](https://img.shields.io/github/contributors/my-first-pr/hacktoberfest-2018.svg)
![GitHub commit activity the past week, 4 weeks, year](https://img.shields.io/github/commit-activity/w/my-first-pr/hacktoberfest-2018.svg)
![GitHub last commit](https://img.shields.io/github/last-commit/my-first-pr/hacktoberfest-2018.svg)
![GitHub top language](https://img.shields.io/github/languages/top/my-first-pr/hacktoberfest-2018.svg)
![GitHub language count](https://img.shields.io/github/languages/count/my-first-pr/hacktoberfest-2018.svg)
This repository is for anyone to create pull requests during Hacktoberfest 2018, with their name, code samples, etc. Any PRs outside of hacktoberfest will still be considered, but may not count towards your hacktofebest contributions.
This repository is for anyone to create pull requests during Hacktoberfest 2018, with their name, code samples, etc. Any PRs outside of hacktoberfest will still be considered, but may not count towards your hacktoberfest contributions.
![My First PR: Hacktoberfest](https://my-first-pr.github.io/assets/images/undraw_fall_is_coming_dg3x.svg)
![Hacktoberfest 2018](https://my-first-pr.github.io/assets/images/Hacktoberfest_2018_logo_lockup.png)
@ -20,12 +20,140 @@ This repository is for anyone to create pull requests during Hacktoberfest 2018,
## Contributors List
Start adding your names here:
### Ananya
- I'm a junior year student.
- I am an Android Developer. I also work on other technologies such as web development using Django and Machine Learning.
- I like to listen to music while I code.
- [![facebook-alt][facebook-img]](https://www.facebook.com/ac.ananya)
[![github-alt][github-img]](https://github.com/ananya1304)
### Anshima Chaudhary
- I'm a contributor :)
- I study CS
- My hobbies include coding, debating and dancing
[![github-alt][github-img]]
https://github.com/anshima1
- [![github-alt][github-img]](https://github.com/anshima1)
### Yash Agrawal
- I am a student at IIT Mandi persuin B.Tech. in computer science.
- I like more of competitive programming.
- I am the co-ordinator of programming club, IIT Mandi.
- [![github-alt][github-img]](https://github.com/YashAgrawal0)
### Akshay N Shaju
- Software Developer From India.🇧
- Hobbies:
- Coding,
- Gaming
- [![twitter-alt][twitter-img]](https://twitter.com/akshaynshaju)
[![github-alt][github-img]](https://github.com/Akshay-N-Shaju)
### JillianAndersonSlate
- I am a 25-year-old from the United States of America, and I recently moved with my husband to Barcelona, Spain.
- As part of the move I have decided to pursue coding as a new career!
- I am working toward a junior-level position doing front-end work with HTML, CSS, JavaScript, and React.
- My other hobbies include reading, rock climbing, and re-watching 30 Rock and The Office :stuck_out_tongue_winking_eye:
- [![twitter-alt][twitter-img]](https://twitter.com/Jillifish17)
[![github-alt][github-img]](https://github.com/jillianandersonslate)
### BenTechy66
- I am a young developer in England interested in node.js, python, C, and front-end web development frameworks
- I'm currently a student!
- My hobbies include:
- Coding
- Gaming
- ~~Having a social life~~
[![github-alt][github-img]](https://github.com/BenTechy66)
### duongoku
- I'm a student and I'm in last year of highschool.
- I'm interested in competitive programming, physics, calculus and tech stuff.
- I also like listening to music and playing games.
- [![twitter-alt][twitter-img]](https://twitter.com/duongoku)
[![github-alt][github-img]](https://github.com/duongoku)
### Karen Geerts
- I work for REA (https://www.rea-group.com/IRM/content/default.aspx) and am a junior Ruby developer.
- [![twitter-alt][twitter-img]](https://twitter.com/GeekRanters)
[![github-alt][github-img]](https://github.com/karengeerts)
### Luke Oliff
- Technical Writer working for @auth0
- [![twitter-alt][twitter-img]](https://twitter.com/mroliff)
[![github-alt][github-img]](https://github.com/lukeoliff)
### lunamana104
- I am currently a student in highschool.
- I love physics, technology and IT-related stuff.
- I also like listening to music and watching movies.
- [![github-alt][github-img]](https://github.com/lunamana104)
### janicek1m
- I am currently a high school student.
- I love robotics, programming, and web-development.
- I also like playing the cello, watching shows on Netflix, and cooking.
- [![github-alt][github-img]](https://github.com/janicek1m)
### gursimran
- I am a young developer in india
- I'm currently a student!
### rahman95
- Software Developer born in Germany raised in the UK. 🇩🇪 🇬🇧
- Hobbies include:
- Coding
- Tinkering
- Photography
- Gastronomy
- [![twitter-alt][twitter-img]](https://twitter.com/rahman_younus)
[![github-alt][github-img]](https://github.com/rahman95)
### pankhuri22
- Computer Science Undergraduate
- [![twitter-alt][twitter-img]](https://twitter.com/pankhuri221198)
[![github-alt][github-img]](https://github.com/pankhuri2211)
### Anush93
- I am a young developer in Sri Lanka
- I'm currently a undergraduate
- My hobbies include:
- Coding
- Gaming
- Nature Photography
- [![github-alt][github-img]](https://github.com/Anush93)
### Shubham Nishad
- Fourth year student in Computer Science.
- you can check my site [https://shubhamnishad.com/](https://shubhamnishad.com/)
- [![twitter-alt][twitter-img]](https://twitter.com/shubhamnishad97)
[![github-alt][github-img]](https://github.com/shubhamnishad97)
### Aditya Choudhary
- Software Engineer in India
- [![twitter-alt][twitter-img]](https://twitter.com/webmasteradi)
[![github-alt][github-img]](https://github.com/adich23)
### Vaibhav Agarwal
- Fourth year undergraduate at IIT Mandi, Computer Science.
- [![twitter-alt][twitter-img]](https://twitter.com/vaibhav_a1997)
[![github-alt][github-img]](https://github.com/vaibhavagarwal220)
### Mathieu Jolivet (Cynferdd)
- Developper as a hobby since 1996, professionaly since 2005.
- Bass player, I also love reading, photography and beer.
- [![twitter-alt][twitter-img]](https://twitter.com/cynferdd)
[![github-alt][github-img]](https://github.com/cynferdd)
### Arjun Rajpal
- Software Engineer and a ML Enthusiast
- [![github-alt][github-img]](https://github.com/arjunrajpal)
### Utkarsh Kunwar
- Fourth year student in Mechanical Engineering.
- [![github-alt][github-img]](https://github.com/UtkarshKunwar)
### Example Profile
- I'm an example that you can copy, if you want :)
@ -37,6 +165,18 @@ Start adding your names here:
[![tumblr-alt][tumblr-img]](https://example.tumblr.com)
[![dribbble-alt][dribbble-img]](https://dribbble.com/example)
[![github-alt][github-img]](https://github.com/example)
### Suvin Nimnaka
- A Student from Sri Lanka
- [![twitter-alt][twitter-img]](https://twitter.com/tikirimaarie)
[![github-alt][github-img]](https://github.com/suvink)
### Alok Rajasukumaran
- AI Architect by profession
- [!Know more at](https://alokraj68.in)
- [![twitter-alt][twitter-img]](https://twitter.com/alokraj68)
[![github-alt][github-img]](https://github.com/alokraj68)
## How to Contribute

2
code/Ashik.js Normal file
View File

@ -0,0 +1,2 @@
document.write("Hello World!");
document.write("I am Ashik Paul. I am a Web Developer");

3
code/adich23.py Normal file
View File

@ -0,0 +1,3 @@
##
print('Hello, world!')
##

3
code/aksh.py Normal file
View File

@ -0,0 +1,3 @@
##
print('Hello, world!')
##

3
code/alok.js Normal file
View File

@ -0,0 +1,3 @@
document.write("Hello World!");
document.write("I am Alok Rajasukumaran. I am a Human");
document.write("Know more here ==> https://alokraj68.in");

4
code/dashaw92.rs Normal file
View File

@ -0,0 +1,4 @@
fn main() {
println!("Hello, world! I am dashaw92.");
println!("I am a young adult interested in computer science.");
}

21
code/fibonacci.rb Normal file
View File

@ -0,0 +1,21 @@
#####################
# Fibonacci in Ruby #
#####################
# main fibonacci function
def CalculateFibonacci(n)
if (n == 0)
return 0
elsif (n <= 2)
return 1
else
return CalculateFibonacci(n - 1) + CalculateFibonacci(n - 2)
end
end
# execution with check regarding the amount of args
if(ARGV.length < 1)
puts "argument needed. term number to iterate to, with 0 as the first term number"
else
for arg in ARGV
puts arg.to_s + ": " + CalculateFibonacci(arg).to_s
end
end

40
code/mauricetmeyer.c Normal file
View File

@ -0,0 +1,40 @@
/**
* mauricetmeyer.c
*
* Author: Maurice T. Meyer
* E-Mail: maurice@lavireo.com
*
* Date: 01-10-2018
*/
#include <stdio.h>
static char hello_world[] = {
0x48,
0x65,
0x6c,
0x6c,
0x6f,
0x2c,
0x20,
0x57,
0x6f,
0x72,
0x6c,
0x64,
0x21,
0xA,
0x0
};
int
main (void)
{
char* ptr = hello_world;
do
{
printf("%c", *ptr++);
} while(*ptr != 0);
return 0;
}

19
code/rahman95.php Normal file
View File

@ -0,0 +1,19 @@
<?php
class HelloWorld
{
protected $name;
public function __construct(string $name)
{
$this->name = $name;
}
public function sayHelloWorld()
{
return "Hello World from {$this->name} 👋";
}
}
$class = new HelloWorld('rahman95');
echo $class->sayHelloWorld();

10
code/wtospit.go Normal file
View File

@ -0,0 +1,10 @@
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello from Thailand")
}

22
pr.cpp Normal file
View File

@ -0,0 +1,22 @@
#include<iostream>
using namespace std;
bool isOverlap(pair<int,int> p1,pair<int,int> p2,pair<int,int> p3,pair<int,int> p4){
if(p1.first>p4.first || p2.first<p3.first) return false;
if(p1.second<p4.second || p2.second>p3.second) return false;
return true;
}
int main(){
int t;
cin>>t;
while(t--){
pair<int,int> p1,p2,p3,p4;
cin>>p1.first>>p1.second;
cin>>p2.first>>p2.second;
cin>>p3.first>>p3.second;
cin>>p4.first>>p4.second;
cout<<isOverlap(p1,p2,p3,p4)<<'\n';
}
return 0;
}