diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..6c68295 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,94 @@ +# Hacktoberfest - Allen Computer Science +Welcome, learn more about making contributions here. + + +#### Table of Contents +[Contributing](#contributing) + +[How Can I Contribute](#how-can-i-contribute?) + +[Styleguides](#styeguides) + +[Pull Requests](#pull-requests) + + +## Contributing + +:+1::tada: First off, thanks for taking the time to contribute! :tada::+1: + +The following is a set of guidelines for contributing to this project. +These are just guidelines, not rules. Use your best judgment, and feel free to propose changes +to this document in a pull request. + +## How Can I Contribute? + +Try to keep things as modular as possible, the new file/directory structure should be: +``` +/topic/sub_topic/specific/language/file(s) +``` +I would prefer different languages in different files, under same topic + + +## Styleguides + +* Try to keep things as modular as possible, the new file/directory structure should be: +``` +/topic/sub_topic/specific/language/file(s) +``` +I would prefer different languages in different files, under same topic. + +## Pull Requests +If you would like to submit changes for review and merging with the original +repository via a pull request: +1. Fork this repository using button on top right corner of repository page. +2. Navigate to forked repository (under your profile) and clone to local + machine. +```bash +$ git clone +``` +3. Make changes to code, test, repeat. +4. Stage and commit your changes: +```bash +$ git add +$ git commit -m "" +``` +5. Push your commit to your repository: +```bash +$ git push origin master +``` +6. Navigate to the parent repository (one you forked from) +7. Press "New pull request" button and select "compare across forks". +8. Choose the parent as the base fork and your repository as the head fork. +9. Add a comment and submit! + + +### Reporting Bugs + +This section guides you through submitting a bug report. Following these guidelines helps maintainers +and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related +reports :mag_right:. + +Before creating bug reports, please check if the bug was already reported before as you might find out that you don't +need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). + +#### How Do I Submit A (Good) Bug Report? + +Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). Create an issue on provide the following information. + +Explain the problem and include additional details to help maintainers reproduce the problem: + +* **Use a clear and descriptive title** for the issue to identify the problem. +* **Describe the exact steps which reproduce the problem** in as many details as possible. +* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. +If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines). +* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior. +* **Explain which behavior you expected to see instead and why.** + +Thank you and happy hacking! + +# Our repos are chatty! + +SendGrid works closely with our community to find solutions and build new features. These communications can lead to a lot of notification emails and this month will be no exception. + +If you would like to avoid the Github notifications and updates that come from watching a repo, please sign up to receive only release notes through the library-specific newsletter of your choice. You will be sent release notifications, rather than every single comment, issue, and PR that happens! + diff --git a/HelloWorld/HelloWorld(Bf).bf b/HelloWorld/HelloWorld(Bf).bf new file mode 100644 index 0000000..df6f0a2 --- /dev/null +++ b/HelloWorld/HelloWorld(Bf).bf @@ -0,0 +1,43 @@ +[ This program prints "Hello World!" and a newline to the screen, its + length is 106 active command characters. [It is not the shortest.] + + This loop is an "initial comment loop", a simple way of adding a comment + to a BF program such that you don't have to worry about any command + characters. Any ".", ",", "+", "-", "<" and ">" characters are simply + ignored, the "[" and "]" characters just have to be balanced. This + loop and the commands it contains are ignored because the current cell + defaults to a value of 0; the 0 value causes this loop to be skipped. +] +++++++++ Set Cell #0 to 8 +[ + >++++ Add 4 to Cell #1; this will always set Cell #1 to 4 + [ as the cell will be cleared by the loop + >++ Add 2 to Cell #2 + >+++ Add 3 to Cell #3 + >+++ Add 3 to Cell #4 + >+ Add 1 to Cell #5 + <<<<- Decrement the loop counter in Cell #1 + ] Loop till Cell #1 is zero; number of iterations is 4 + >+ Add 1 to Cell #2 + >+ Add 1 to Cell #3 + >- Subtract 1 from Cell #4 + >>+ Add 1 to Cell #6 + [<] Move back to the first zero cell you find; this will + be Cell #1 which was cleared by the previous loop + <- Decrement the loop Counter in Cell #0 +] Loop till Cell #0 is zero; number of iterations is 8 + +The result of this is: +Cell No : 0 1 2 3 4 5 6 +Contents: 0 0 72 104 88 32 8 +Pointer : ^ + +>>. Cell #2 has value 72 which is 'H' +>---. Subtract 3 from Cell #3 to get 101 which is 'e' ++++++++..+++. Likewise for 'llo' from Cell #3 +>>. Cell #5 is 32 for the space +<-. Subtract 1 from Cell #4 for 87 to give a 'W' +<. Cell #3 was set to 'o' from the end of 'Hello' ++++.------.--------. Cell #3 for 'rl' and 'd' +>>+. Add 1 to Cell #5 gives us an exclamation point +>++. And finally a newline from Cell #6 diff --git a/HelloWorld/HelloWorld(Shakespeare PL).SPL b/HelloWorld/HelloWorld(Shakespeare PL).SPL new file mode 100644 index 0000000..de15f5c --- /dev/null +++ b/HelloWorld/HelloWorld(Shakespeare PL).SPL @@ -0,0 +1,58 @@ +Romeo, a young man with a remarkable patience. +Juliet, a likewise young woman of remarkable grace. +Ophelia, a remarkable woman much in dispute with Hamlet. +Hamlet, the flatterer of Andersen Insulting A/S. + + Act I: Hamlet's insults and flattery. + Scene I: The insulting of Romeo. +[Enter Hamlet and Romeo] +Hamlet: +You lying stupid fatherless big smelly half-witted coward! You are as +stupid as the difference between a handsome rich brave hero and thyself! +Speak your mind! +You are as brave as the sum of your fat little stuffed misused dusty +old rotten codpiece and a beautiful fair warm peaceful sunny summer's +day. You are as healthy as the difference between the sum of the +sweetest reddest rose and my father and yourself! Speak your mind! +You are as cowardly as the sum of yourself and the difference +between a big mighty proud kingdom and a horse. Speak your mind. +Speak your mind! +[Exit Romeo] + Scene II: The praising of Juliet. +[Enter Juliet] +Hamlet: +Thou art as sweet as the sum of the sum of Romeo and his horse and his +black cat! Speak thy mind! +[Exit Juliet] + Scene III: The praising of Ophelia. +[Enter Ophelia] +Hamlet: +Thou art as lovely as the product of a large rural town and my amazing +bottomless embroidered purse. Speak thy mind! +Thou art as loving as the product of the bluest clearest sweetest sky +and the sum of a squirrel and a white horse. Thou art as beautiful as +the difference between Juliet and thyself. Speak thy mind! +[Exeunt Ophelia and Hamlet] + Act II: Behind Hamlet's back. + Scene I: Romeo and Juliet's conversation. +[Enter Romeo and Juliet] +Romeo: +Speak your mind. You are as worried as the sum of yourself and the +difference between my small smooth hamster and my nose. Speak your +mind! +Juliet: +Speak YOUR mind! You are as bad as Hamlet! You are as small as the +difference between the square of the difference between my little pony +and your big hairy hound and the cube of your sorry little +codpiece. Speak your mind! +[Exit Romeo] + Scene II: Juliet and Ophelia's conversation. +[Enter Ophelia] +Juliet: +Thou art as good as the quotient between Romeo and the sum of a small +furry animal and a leech. Speak your mind! +Ophelia: +Thou art as disgusting as the quotient between Romeo and twice the +difference between a mistletoe and an oozing infected blister! Speak +your mind! +[Exeunt] diff --git a/HelloWorld/HelloWorld(lol).lol b/HelloWorld/HelloWorld(lol).lol new file mode 100644 index 0000000..e581951 --- /dev/null +++ b/HelloWorld/HelloWorld(lol).lol @@ -0,0 +1,6 @@ +// LOL CODE IS C BASED... C WHAT I DID THERE? +// https://en.wikipedia.org/wiki/LOLCODE +HAI 1.2 +CAN HAS STDIO? +VISIBLE "HAI WORLD!" +KTHXBYE diff --git a/HelloWorld/HelloWorld.ArnoldC b/HelloWorld/HelloWorld.ArnoldC new file mode 100644 index 0000000..5d0f36d --- /dev/null +++ b/HelloWorld/HelloWorld.ArnoldC @@ -0,0 +1,3 @@ +IT'S SHOWTIME +TALK TO THE HAND "hello world" +YOU HAVE BEEN TERMINATED diff --git a/HelloWorld/HelloWorld.DriveInWindow b/HelloWorld/HelloWorld.DriveInWindow new file mode 100644 index 0000000..a73688f --- /dev/null +++ b/HelloWorld/HelloWorld.DriveInWindow @@ -0,0 +1,41 @@ +Hi, welcome to Hello_World_Buffet. Here is a menu. + +Rice Krispie Treat: $10 +Ice Cream: $30 +Cookies: $70 + +Here are your sides. + +Whipped Cream: $1 +Chocolate: $2 +Caramel: $3 + +May I take your order? + +Person 1 would like the Cookies with Chocolate. +Person 1 will pay for his order! +Person 2 would like the Ice Cream, hold the Whipped Cream. +Person 2 would also like what Person 1 has. +Person 2 will pay for his order! +Person 2 needs 7 dollars more for his order! +Person 2 will pay for his order! +Person 2 will pay for his order! +Person 2 needs 3 dollars more for his order! +Person 2 will pay for his order! +Person 3 would like the Ice Cream with Chocolate. +Person 3 will pay for his order! +Person 1 would also like the Rice Krispie Treat with Caramel. +Person 1 needs 2 more dollars for his order! +Person 1 will pay for his order! +Person 2 will pay for his order! +Person 2 needs 3 dollars more for his order! +Person 2 will pay for his order! +Person 2 needs 6 dollars less for his order! +Person 2 will pay for his order! +Person 2 needs 8 dollars less for his order! +Person 2 will pay for his order! +Person 3 needs 1 dollar more for his order! +Person 3 will pay for his order! +Just wait while we decide... + +OK, that will be $1.14. Thanks for coming! diff --git a/HelloWorld/HelloWorld.Evil b/HelloWorld/HelloWorld.Evil new file mode 100644 index 0000000..68e38b1 --- /dev/null +++ b/HelloWorld/HelloWorld.Evil @@ -0,0 +1,15 @@ +zaeeeaeeew (H) +zaeeaeeaeaw (e) +zuueeueueaw (l) +zuueeueueaw (l) +zuueeueew (o) +zuueeaeeeaw (,) +zaeeeeew ( ) +zuueeueeeew (w) +zuueeueew (o) +zuueeueeaaaw (r) +zuueeueueaw (l) +zaeeaeeaew (d) +zaeeeeeaw (!) +zaeeuuuw (\r) +zaeaaaaaaw (\n) diff --git a/HelloWorld/HelloWorld.Gravity b/HelloWorld/HelloWorld.Gravity new file mode 100644 index 0000000..454d362 --- /dev/null +++ b/HelloWorld/HelloWorld.Gravity @@ -0,0 +1,13 @@ +(0,0) : 2 + +(1,1,1,1, 2) -> 3 : 72 +(1,1,1,1, 3) -> 4 : 101 +(1,1,1,1, 4) -> 5 : 108 +(1,1,1,1, 5) -> 6 : 108 +(1,1,1,1, 6) -> 7 : 111 +(1,1,1,1, 7) -> 8 : 32 +(1,1,1,1, 8) -> 9 : 119 +(1,1,1,1, 9) -> 10 : 111 +(1,1,1,1,10) -> 11 : 114 +(1,1,1,1,11) -> 12 : 108 +(1,1,1,1,12) -> # : 100 diff --git a/HelloWorld/HelloWorld.Hexagony b/HelloWorld/HelloWorld.Hexagony new file mode 100644 index 0000000..9afca84 --- /dev/null +++ b/HelloWorld/HelloWorld.Hexagony @@ -0,0 +1,7 @@ + H ; e ; + l ; d ; * + ; r ; o ; W +l ; ; o ; * 4 + 3 3 ; @ . > + ; 2 3 < \ + 4 ; * / diff --git a/HelloWorld/HelloWorld.Incident b/HelloWorld/HelloWorld.Incident new file mode 100644 index 0000000..70c2d3b --- /dev/null +++ b/HelloWorld/HelloWorld.Incident @@ -0,0 +1,30 @@ +A1.A2.A3,A4.A5,A6,A7;A8;B1;B2,B3.B4,B5;B6.B7.B8;C1,C2.C3;C4.C5,C6;C7, +C8.D1;D2,D3.D4,D5.D6;D7.D8,E1;E2;E3;E4,E5,E6.E7,E8.F1;F2.F3.F4,F5.F6; +F7.F8;G1,G2;G3,G4;G5.G6.G7.G8;H1.H2;H3.H4.H5.H6,H7;H8;I1,I2.I3;I4,I5. +I6,I7.I8,J1;J2,J3,J4,J5;J6;J7.J8;K1;K2;K3;K4,K5,K6;K7.K8,L1;L2,L3;L4, +L5;L6;L7,L8,M1.M2.M3.M4,M5,M6,M7,M8,N1.N2;N3,N4.N5;N6,N7.N8,Z4;a1,a1. +Z3.A1,a1;a2,a2,A1,A2.a2,a3.a3.A2,A3,a3.a5,a5,A3;A5.a5,a6,a6.A5;A6.a6. +a8.a8.A6;A8.a8;b2,b2.A8;B2.b2,b4.b4,B2,B4;b4.b5;b5;B4;B5;b5.b8.b8,B5. +B8.b8.c1;c1,B8,C1;c1,c2,c2;C1;C2,c2.c5,c5;C2,C5,c5.c8.c8,C5;C8;c8,d1; +d1.C8,D1;d1.d2;d2.D1.D2.d2.d5,d5,D2.D5.d5.d8,d8;D5;D8.d8,e5.e5.D8;E5, +e5,e8,e8,E5,E8;e8,f1.f1.E8.F1;f1;f2,f2;F1.F2.f2;f5.f5;F2;F5,f5;f7;f7. +F5,F7,f7;f8.f8;F7.F8,f8,g1;g1.F8;G1.g1,g2;g2.G1,G2,g2,g3;g3;G2,G3;g3, +g4,g4.G3;G4.g4.g5.g5,G4,G5.g5;g7;g7.G5;G7,g7,g8;g8.G7,G8;g8;h4.h4,G8; +H4,h4;h8,h8,H4.H8,h8.i5.i5;H8;I5;i5.i8;i8.I5,I8,i8.j1;j1;I8,J1;j1.j3. +j3;J1,J3;j3;j4,j4.J3,J4.j4,j8,j8.J4;J8,j8.k1.k1.J8.K1,k1,k2.k2;K1,K2; +k2.k5;k5;K2,K5.k5,k8;k8,K5.K8,k8;l1,l1;K8;L1;l1,Z1;Z2;Z2,Z3.Z2;Z1.Z1, +l2;l2;L1;L2,l2;l4.l4.L2.L4;l4.l5.l5.L4;L5;l5.l8.l8,L5.L8;l8;m2;m2.L8; +M2.m2,m3,m3,M2,M3,m3;m4.m4.M3;M4.m4,m5.m5.M4,M5,m5;m7,m7.M5.M7;m7.m8. +m8,M7,M8,m8,n1;n1.M8,N1;n1.n3,n3;N1;N3,n3.n5,n5;N3,N5;n5,n6.n6.N5.N6. +n6,n7;n7;N6.N7;n7.n8,n8;N7,N8;n8,a4,a4;Z3;A4,a4;a7.a7.A4.A7;a7,b1.b1; +A7;B1,b1;b3;b3,B1,B3.b3,b6.b6;B3;B6,b6;b7;b7,B6,B7,b7;c3,c3.B7,C3,c3. +c4.c4,C3,C4.c4;c6.c6,C4,C6.c6;c7,c7;C6.C7,c7.d3;d3.C7,D3,d3;d4;d4.D3, +D4,d4;d6,d6,D4,D6.d6;d7,d7,D6,D7.d7,e1,e1;D7,E1.e1,e2,e2;E1;E2,e2.e3; +e3,E2,E3,e3.e4;e4.E3.E4;e4,e6;e6;E4,E6,e6.e7.e7;E6.E7.e7,f3,f3.E7,F3; +f3.f4;f4,F3;F4,f4;f6;f6.F4.F6,f6,g6.g6;F6.G6.g6.h1;h1;G6;H1,h1.h2;h2. +H1;H2,h2.h3,h3,H2,H3,h3.h5.h5;H3,H5;h5;h6;h6;H5.H6.h6,h7.h7.H6,H7.h7; +i1,i1,H7.I1,i1.i2;i2;I1;I2,i2,i3.i3,I2,I3.i3;i4;i4;I3,I4,i4.i6,i6,I4. +I6,i6.i7.i7,I6;I7;i7.j2;j2;I7.J2;j2,j5;j5.J2.J5;j5.j6,j6.J5,J6,j6;j7; +j7;J6,J7.j7;k3,k3;J7.K3.k3.k4.k4,K3.K4;k4,k6;k6,K4.K6;k6,k7.k7;K6,K7. +k7,l3.l3.K7;L3;l3.l6;l6,L3;L6,l6;l7,l7,L6;L7.l7,m1.m1,L7;M1;m1,m6;m6, +M1;M6,m6;n2;n2;M6,N2,n2;n4.n4,N2;N4,n4.N8.N4,Z4,Z4 diff --git a/HelloWorld/HelloWorld.MATL b/HelloWorld/HelloWorld.MATL new file mode 100644 index 0000000..2266320 --- /dev/null +++ b/HelloWorld/HelloWorld.MATL @@ -0,0 +1 @@ +'Hello, world!' diff --git a/HelloWorld/HelloWorld.Mmmm b/HelloWorld/HelloWorld.Mmmm new file mode 100644 index 0000000..0a7f103 --- /dev/null +++ b/HelloWorld/HelloWorld.Mmmm @@ -0,0 +1,61 @@ +// Hello World in Mmmm() http://esolangs.org/wiki/Mmmm() +Mmm=m[m.m()].m(m.m()); +Mmmm=m[mm].m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();Mmmmm=mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();m[mmmm].m(mmm.m()); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();Mmmmmm=mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +Mmmmmmmmm=mmm.m(); +m[mmmm].m(mmm.m()); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();Mmmmmmm=mmm.m(); +m[mmmm].m(mmmmmm);m[mmmm].m(mmmmmm); +mmm.m();mmm.m(); +Mmmmmmmm=mmm.m(); +m[mmmm].m(mmmmmmm); +mmm.m();mmm.m(); +Mmmmmmmmmm=mmm.m(); +Mmmm=m[mm].m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m(); +Mmmmmmmmmmm=mmm.m(); +Mmmmmmmmmmmm=mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m();mmm.m();mmm.m(); +mmm.m();mmm.m(); +m[mmmm].m(mmm.m()); +m[mmmm].m(mmmmmmmmmm); +m[mmmm].m(mmmmm); +m[mmmm].m(mmmmmmm); +m[mmmm].m(mmmmmmmmm); +m[mmmm].m(mmmmmm); +m[mmmm].m(mmmmmmmm); +m[mmmm].m(mmmmmmmmmmm); diff --git a/HelloWorld/HelloWorld.Omgrofl b/HelloWorld/HelloWorld.Omgrofl new file mode 100644 index 0000000..f14b6c9 --- /dev/null +++ b/HelloWorld/HelloWorld.Omgrofl @@ -0,0 +1,25 @@ +//w00t a Hello, World! program by poiuy_qwert +lol iz 72 +rofl lol +lol iz 101 +rofl lol +lol iz 108 +rofl lol +rofl lol +lool iz 111 +rofl lool +loool iz 44 +rofl loool +loool iz 32 +rofl loool +loool iz 87 +rofl loool +rofl lool +lool iz 114 +rofl lool +rofl lol +lol iz 100 +rofl lol +lol iz 33 +rofl lol +stfu diff --git a/HelloWorld/HelloWorld.c b/HelloWorld/HelloWorld.c new file mode 100644 index 0000000..eae1d35 --- /dev/null +++ b/HelloWorld/HelloWorld.c @@ -0,0 +1,53 @@ +#include +#include + +void add_entry(char *, char *); +void populate_census(); + +struct census_entry { + char * fullName; + char * githubUsername; + struct census_entry * next; +}; + +typedef struct census_entry CensusEntry_t; + +static CensusEntry_t * head = NULL; +static CensusEntry_t * tail = NULL; + +void populate_census() { + /* + * ADD YOURSELF HERE! + * + * Add yourself using the following format: + * add_entry("Your Name", "github_username"); + */ + add_entry("Allen Comp Sci", "AllenCompSci"); + add_entry("Maxwell Cody", "MaxwellCody"); +} + +int main(int argc, char * argv[]) { + populate_census(); + + for(CensusEntry_t * current = head; current != NULL; current = current->next) { + printf("Hello World from %s @ https://github.com/%s\n", current->fullName, current->githubUsername); + } + + return EXIT_SUCCESS; +} + +void add_entry(char * fullName, char * githubUsername) { + CensusEntry_t * entry = malloc(sizeof(CensusEntry_t)); + entry->fullName = fullName; + entry->githubUsername = githubUsername; + entry->next = NULL; + + // If one of these conditions is true, then they both should be + // we're checking both just to be sure. + if(head == NULL || tail == NULL) { + head = entry; + } else { + tail->next = entry; + } + tail = entry; +} diff --git a/HelloWorld/HelloWorld.chef b/HelloWorld/HelloWorld.chef new file mode 100644 index 0000000..cae64a9 --- /dev/null +++ b/HelloWorld/HelloWorld.chef @@ -0,0 +1,65 @@ + Hello World Cake with Chocolate sauce. + + This prints hello world, while being tastier than Hello World Souffle. The main + chef makes a " world!" cake, which he puts in the baking dish. When he gets the + sous chef to make the "Hello" chocolate sauce, it gets put into the baking dish + and then the whole thing is printed when he refrigerates the sauce. When + actually cooking, I'm interpreting the chocolate sauce baking dish to be + separate from the cake one and Liquify to mean either melt or blend depending on + context. + + Ingredients. + 33 g chocolate chips + 100 g butter + 54 ml double cream + 2 pinches baking powder + 114 g sugar + 111 ml beaten eggs + 119 g flour + 32 g cocoa powder + 0 g cake mixture + + Cooking time: 25 minutes. + + Pre-heat oven to 180 degrees Celsius. + + Method. + Put chocolate chips into the mixing bowl. + Put butter into the mixing bowl. + Put sugar into the mixing bowl. + Put beaten eggs into the mixing bowl. + Put flour into the mixing bowl. + Put baking powder into the mixing bowl. + Put cocoa powder into the mixing bowl. + Stir the mixing bowl for 1 minute. + Combine double cream into the mixing bowl. + Stir the mixing bowl for 4 minutes. + Liquify the contents of the mixing bowl. + Pour contents of the mixing bowl into the baking dish. + bake the cake mixture. + Wait until baked. + Serve with chocolate sauce. + + chocolate sauce. + + Ingredients. + 111 g sugar + 108 ml hot water + 108 ml heated double cream + 101 g dark chocolate + 72 g milk chocolate + + Method. + Clean the mixing bowl. + Put sugar into the mixing bowl. + Put hot water into the mixing bowl. + Put heated double cream into the mixing bowl. + dissolve the sugar. + agitate the sugar until dissolved. + Liquify the dark chocolate. + Put dark chocolate into the mixing bowl. + Liquify the milk chocolate. + Put milk chocolate into the mixing bowl. + Liquify contents of the mixing bowl. + Pour contents of the mixing bowl into the baking dish. + Refrigerate for 1 hour. diff --git a/HelloWorld/HelloWorld.chicken b/HelloWorld/HelloWorld.chicken new file mode 100644 index 0000000..5f7464e --- /dev/null +++ b/HelloWorld/HelloWorld.chicken @@ -0,0 +1,59 @@ +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken +chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken + +chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken + +chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken +chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken + +chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken + +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken + +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken +chicken chicken chicken chicken chicken chicken diff --git a/HelloWorld/HelloWorld.cpp b/HelloWorld/HelloWorld.cpp index 8dd84ab..ffcd598 100644 --- a/HelloWorld/HelloWorld.cpp +++ b/HelloWorld/HelloWorld.cpp @@ -3,24 +3,46 @@ #include using namespace std; + vector Census; -void Census2017(){ - // Census.push_back("Name @ GitHub link"); +void Census2017() { + /* + * Add yourself using the following format: + * Census.push_back("Your Name @ https://github.com/username"); + */ + Census.push_back("Allen Comp Sci @ https://github.com/AllenCompSci"); Census.push_back("Mr. Hudson @ https://github.com/theshrewedshrew"); Census.push_back("BEST Team 58 @ https://github.com/BESTTeam58"); Census.push_back("TexasSnow @ https://github.com/TexasSnow"); + Census.push_back("hotdogshabab @ https://github.com/hotdogshabab"); + Census.push_back("alansunglee @ https://github.com/alansunglee"); + Census.push_back("Rahultheman12 @ https://github.com/Rahultheman12"); + Census.push_back("spicyboi @ https://github.com/spicyboi"); + Census.push_back("John Nguyen @ https://github.com/jawnlovesfreestuff"); + Census.push_back("CodeTimesTen @ https://github.com/CodeTimesTen"); + Census.push_back("YourFriendlyNeighborhoodSpiderman @ https://github.com/YourFriendlyNeighborhoodSpiderman"); + Census.push_back("Devin Petersen @ https://github.com/DevinPetersen"); + Census.push_back("Cameron Mathis @ https://github.com/Phylux"); + Census.push_back("Samuel Woon @ https://github.com/samuel-w"); + Census.push_back("JustinV10 @ https://github.com/JustinV10"); + Census.push_back("Kyleaustin36 @ https://github.com/kyleaustin36"); + Census.push_back("Maaz Kamal @ https://github.com/Maze-Camel"); + Census.push_back("bingood4ever @ https://github.com/bingood4ever"); + Census.push_back("Gainz101 @ https://github.com/Gainz101"); + Census.push_back("zachdogg @ https://github.com/Zachdogg1"); + Census.push_back("PJHudson618 @ https://github.com/PJHudson618"); + Census.push_back("Abhi1458 @ https://github.com/Abhi1458"); + Census.push_back("Maxwell Cody @ https://github.com/MaxwellCody"); } -void printCensus(){ - for(int i = 0; i < (int)Census.size(); i++){ - cout << "Hello World from " + Census[i] << "\n"; - +int main() { + Census2017(); + + for(int i = 0; i < (int) Census.size(); ++i) { + cout << "Hello World from " << Census[i] << endl; } -} -void main(){ - Census2017(); - printCensus(); + return 0; } diff --git a/HelloWorld/HelloWorld.dna b/HelloWorld/HelloWorld.dna new file mode 100644 index 0000000..df8c28e --- /dev/null +++ b/HelloWorld/HelloWorld.dna @@ -0,0 +1,126 @@ +HelloWorld.dna + + AT + T--A + A----T + T-----A + T-----A + G----C + T--A + GC + CG + C--G + A----T + A-----T + T-----A + A----T + A--T + GC + AT + C--G + T----A + C-----G + T-----A + G----C + C--G + CG + AT + A--T + T----A + A-----T + A-----T + G----C + A--T + GC + TA + G--C + T----A + G-----C + C-----G + C----G + A--T + GC + TA + G--C + A----T + G-----C + A-----T + C----G + A--T + CG + GC + A--T + A----T + C-----G + A-----T + C----G + A--T + CG + GC + A--T + T----A + G-----C + A-----T + G----C + A--T + CG + GC + A--T + G----C + A-----T + A-----T + T----A + A--T + TA + AT + T--A + G----C + A-----T + A-----T + A----T + G--C + AT + AT + G--C + T----A + G-----C + A-----T + G----C + G--C + AT + TA + T--A + A----T + G-----C + G-----C + A----T + A--T + TA + AT + T--A + A----T + T-----A + G-----C + A----T + T--A + TA + AT + G--C + A----T + T-----A + A-----T + T----A + G--C + AT + TA + T--A + A----T + G-----C + G-----C + A----T + A--T + AT + AT + T--A + G----C + A-----T diff --git a/HelloWorld/HelloWorld.java b/HelloWorld/HelloWorld.java index 1a76f26..0775b2d 100644 --- a/HelloWorld/HelloWorld.java +++ b/HelloWorld/HelloWorld.java @@ -1,23 +1,40 @@ -import java.io.*; import java.util.*; -class HelloWorld{ - private static ArrayList Census; - - private static void CensusTaker(){ - Census = new ArrayList(); - // Census.add("NAME @ github link"); - Census.add("Allen Comp Sci @ https://github.com/AllenCompSci"); - Census.add("Mr. Hudson @ https://github.com/theshrewedshrew"); - Census.add("BEST Team 58 @ https://github.com/BESTTeam58"); - Census.add("Texas Snow @ https://github.com/TexasSnow"); - } - - public static void main(String args[]){ - CensusTaker(); - for(String list : Census){ - System.out.println("Hello World from " + list); - } - } +class HelloWorld { + static final List CENSUS = new ArrayList(); + static { + /* + * Add yourself using the following format: + * CENSUS.add("Your Name @ https://github.com/username"); + */ + CENSUS.add("Allen Comp Sci @ https://github.com/AllenCompSci"); + CENSUS.add("Mr. Hudson @ https://github.com/theshrewedshrew"); + CENSUS.add("BEST Team 58 @ https://github.com/BESTTeam58"); + CENSUS.add("Texas Snow @ https://github.com/TexasSnow"); + CENSUS.add("Rahultheman12 @ https://github.com/Rahultheman12"); + CENSUS.add("John Nguyen @ https://github.com/jawnlovesfreestuff"); + CENSUS.add("Carson Mires @ https://github.com/carsonmires"); + CENSUS.add("Cameron Mathis @ https://github.com/Phylux"); + CENSUS.add("YourFriendlyNeighborhoodSpiderman @ https://github.com/YourFriendlyNeighborhoodSpiderman"); + CENSUS.add("Devin Petersen @ https://github.com/DevinPetersen"); + CENSUS.add("Kaushik Malapati@ https://github.com/KaushikMalapati"); + CENSUS.add("Kyleaustin36 @ https://github.com/kyleaustin36"); + CENSUS.add("Zak Ishak @ https://github.com/zakishak"); + CENSUS.add("Maaz Kamal @ https://github.com/Maze-Camel"); + CENSUS.add("Justin Van Nimwegen @ https://github.com/JustinV10"); + CENSUS.add("bingood4ever @ https://github.com/bingood4ever"); + CENSUS.add("Gainz101 @ https://github.com/Gainz101"); + CENSUS.add("zachdogg @ https://github.com/Zachdogg1"); + CENSUS.add("Johnathan G. @ https://github.com/SodaCan0515"); + CENSUS.add("MJHudson618 @ https://github.com/MJHudson618"); + CENSUS.add("Abhi1458 @ https://github.com/Abhi1458"); + CENSUS.add("Maxwell Cody @ https://github.com/MaxwellCody"); + } + + public static void main(String[] args) { + for(String entry : CENSUS) { + System.out.println("Hello World from " + entry); + } + } } diff --git a/HelloWorld/HelloWorld.ook b/HelloWorld/HelloWorld.ook new file mode 100644 index 0000000..509448c --- /dev/null +++ b/HelloWorld/HelloWorld.ook @@ -0,0 +1,18 @@ +Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. +Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? +Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. +Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. +Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. +Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. +Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. +Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! +Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. diff --git a/HelloWorld/HelloWorld.py b/HelloWorld/HelloWorld.py index a43b6e1..b25b875 100644 --- a/HelloWorld/HelloWorld.py +++ b/HelloWorld/HelloWorld.py @@ -1 +1,56 @@ ## Create your own that would take the place similar to Java, C++ for any applicable language. + +_Fergalicious_ = ["Four tres two uno", "", "[Will.i.am:] : Listen up y'all 'cause this is it", "The beat that I'm bangin' is delicious","", +"[Fergie:] : Fergalicious definition make them boys go loco", "They want my treasure so they get their pleasures from my photo", +"You could see me you can't squeeze me", "I ain't easy I ain't sleazy", "I got reasons why I tease 'em", "Boys just come and go like seasons", +"", "Fergalicious (so delicious)", "But I ain't promiscuous", "And if you were suspicious", "All that shit is fictitious", +"I blow kisses (muah)", "That puts them boys on rock rock", "And they be lining down the block", "Just to watch what I got", +"(four tres two uno)", "", "So delicious", "(it's hot hot)", "So delicious", "(I put them boys on rock rock)", "So delicious", +"(they wanna slice of what I got)", "I'm fergalicious", "(t-t-t-t-t-tasty tasty)", "", +"Fergalicious def—", "Fergalicious def—", "Fergalicious def— ['def' is echoing]", "Fergalicious definition make them boys go crazy", +"They always claim they know me", "Comin' to me call me Stacy (hey Stacy)", "I'm the F to the E R G the I the E", +"And can't no other lady put it down like me", "", "I'm fergalicious", "(so delicious)", "My body stay vicious", +"I be up in the gym just working on my fitness", "He's my witness (oh wee)", "I put yo' boy on rock rock", +"And he be lining down the block", "Just to watch what I got", "(four tres two uno)", "", +"So delicious", "(it's hot hot)", "So delicious", "(I put them boys on rock rock)", "So delicious", +"(they wanna slice of what I got)", "I'm fergalicious", "(hold hold hold hold hold up check it out)", "", +"[Vamp:] : Baby baby baby", "If you really want me", "Honey get some patience", "Maybe then you'll get a taste", +"I'll be tasty tasty", "I'll be laced with lacey", "It's so tasty tasty", "It'll make you crazy", "", +"[Will.i.am:] : T to the A to the S T E Y girl you're tasty", "T to the A to the S T E Y girl you're tasty", +"D to the E to the L I C I O U S", "To the D to the E to the to the to the", "Hit it Fergie", "", +"[Fergie:] : All the time I turn around", "Brother's gather round", "Always looking at me up and down", +"Looking at my (uh)", "I just wanna say it now", "I ain't trying to round up drama", "Little mama I don't wanna take your man", +"And I know I'm coming off just a little bit conceited", "And I keep on repeating", "How the boys wanna eat it", +"But I'm tryin' to tell", "That I can't be treated like clientèle", "'Cause they say she", "", +"Delicious (so delicious)", "But I ain't promiscuous", "And if you were suspicious", "All that shit is fictitious", +"I blow kisses (muah)", "That puts them boys on rock rock", "And they be lining down the block", +"Just to watch what I got (got got got)", "", +"Four tres two uno", "My body stay vicious", "I be up in the gym just working on my fitness", +"He's my witness (oh wee)", "I put yo' boy on rock rock", "And he be lining down the block", +"Just to watch what I got", "(four tres two uno)", "", +"So delicious (aye aye aye aye)", "So delicious (aye aye aye aye)", "So delicious (aye aye aye aye)", +"I'm fergalicious t-t-t-t-t tasty tasty", "", +"It's so delicious (aye aye aye aye)", "So delicious (aye aye aye aye)", "So delicious (aye aye aye aye)", +"I'm fergalicious t-t-t-t-t-t-t-t-t-t (aye aye aye aye)", "", +"[Will.i.am:] : T to the A to the S T E Y girl you're tasty.", "T to the A to the S T E Y girl you're tasty", +"T to the A to the S T E Y girl you're tasty.", "T to the A to the to the to the to the", "(four tres two uno)", "", +"To the D to the E to the L I C I O U S", "To the D to the E to the L I C I O U S", "To the D to the E to the L I C I O U S", +"To the D to the E to the to the to the to the", "(four tres two uno)", "", +"To the T to the A to the S T E Y girl you're tasty.", "T to the A to the S T E Y girl you're tasty", +"T to the A to the S T E Y girl you're tasty.", "T to the A to the to the to the to the", "(four tres two uno)", "", +"To the D to the E to the L I C I O U S", "To the D to the E to the L I C I O U S", "To the D to the E to the L I C I O U S", +"To the D to the E to the to the to the to the to the" ] + + +_USERNAME_ = ["RogueNinja410", "Gainz101", "KyleAustin36", "MJHudson618, ""Maze-Camel", "bingood4ever", "JustinV10", "zachdogg", "Abhi1458"] + +_DISPLAY_ = ["Teh Rogue", "Gainz101", "KyleAustin36", "MJHudson618", "Maaz Kamal", "bingood4ever", "Justin Van Nimwegen", "Zachdogg", "Abhi1458"] + + + +print("Hello From : ") +for i in range(len(_USERNAME_)): + print(_DISPLAY_[i], " @ https://github.com/", _USERNAME_[i]) +print("For Reagan who is very Fergalicious") +for i in range(len(_Fergalicious_)): + print(_Fergalicious_[i]) diff --git a/HelloWorld/Hello_World_cpp.cpp b/HelloWorld/Hello_World_cpp.cpp new file mode 100644 index 0000000..8d88424 --- /dev/null +++ b/HelloWorld/Hello_World_cpp.cpp @@ -0,0 +1,7 @@ +#include + +int main() +{ + std::cout << "Hello World!"; + return (0); +} diff --git a/HelloWorld/hello.c b/HelloWorld/hello.c new file mode 100644 index 0000000..6c43387 --- /dev/null +++ b/HelloWorld/hello.c @@ -0,0 +1,7 @@ +#include + +int main() +{ + puts("Hello, World!"); + return 0; +} diff --git a/HelloWorld/helloworld.cpp b/HelloWorld/helloworld.cpp new file mode 100644 index 0000000..b759adf --- /dev/null +++ b/HelloWorld/helloworld.cpp @@ -0,0 +1,8 @@ +#include +#include + +int main() +{ + printf("Hello World!"); +} + diff --git a/HelloWorld/hw.c b/HelloWorld/hw.c new file mode 100644 index 0000000..5a21714 --- /dev/null +++ b/HelloWorld/hw.c @@ -0,0 +1,7 @@ +#include + +int main () +{ + printf("hello world\n"); + return 0; +} diff --git a/Preview.html b/Preview.html index 3493090..f7ec45a 100644 --- a/Preview.html +++ b/Preview.html @@ -48,12 +48,126 @@


October 2017

-
  • Allen Computer Science
  • -
  • Mr. Hudson
  • -
  • AHS Team 58 Best Robotics
  • + --> +
  • Karthik Jagadeesha
  • +
  • Allen Computer Science
  • +
  • Mr. Hudson
  • +
  • AHS Team 58 Best Robotics
  • +
  • eyeofkenku
  • TexasSnow
  • - +
  • Kevinjblanchard
  • +
  • CosmeT17
  • +
  • raychen1155
  • +
  • ayushagarwal0316
  • +
  • hotdogshabab
  • +
  • spicyboi
  • +
  • Rahultheman12
  • +
  • Ryan King
  • +
  • incisivebox
  • +
  • ryansucks
  • +
  • BKNNYY
  • +
  • Kodaskool
  • +
  • MasterAndrewJ
  • +
  • John Nguyen
  • +
  • Cameron Mathis
  • +
  • Ajitesh Gupta
  • +
  • NathanMaupin
  • +
  • YourFriendlyNeighborhoodSpiderman
  • +
  • CodeTimesTen
  • +
  • Devin Petersen
  • +
  • samthebryant
  • +
  • kangoroo115
  • +
  • datboiian
  • +
  • Jose-Marquez
  • +
  • ayejayL
  • +
  • 234082
  • +
  • Kaden Kobernat
  • +
  • JeremyAllen0
  • +
  • Concougar
  • +
  • Blueward12
  • +
  • UltraSive
  • +
  • HoldenEssman
  • +
  • kyleaustin36
  • +
  • YugiSosa
  • +
  • Abhi1432
  • +
  • jacobhemphill02
  • +
  • ColinDurocher
  • +
  • ItsBree
  • +
  • jacobhemphill02
  • +
  • DenialHandrails
  • +
  • CameronRichardson1
  • +
  • pranpran
  • +
  • Galpticose
  • +
  • DaveGopal24
  • +
  • Vikmavs11
  • +
  • jquinn75013
  • +
  • Yofriend123
  • +
  • Fuzzy55
  • +
  • grawalzel
  • +
  • elenayuechen
  • +
  • Monkeymax802
  • +
  • Galpticose1
  • +
  • LoganSmith2
  • +
  • Sumadhwa13
  • +
  • NikhilGoyle
  • +
  • lhage
  • +
  • hotpeper646
  • +
  • TannerMay
  • +
  • sriv72
  • +
  • Maze-Camel
  • +
  • JustinV10
  • +
  • ZB1228
  • +
  • jtschuebel
  • +
  • youssefKhA
  • +
  • Gainz101
  • +
  • sriv72
  • +
  • sriv72
  • +
  • marc5797
  • +
  • SofiaLalani1982
  • +
  • liu-angela
  • +
  • bingood4ever
  • +
  • SilentLife
  • +
  • Papadou0710
  • +
  • Brookevaughan
  • +
  • Law04
  • +
  • MJHudson618
  • +
  • alansunglee
  • +
  • Kevinjblanchard
  • +
  • Deadpan-insanity
  • +
  • Daniel Yahalom
  • +
  • connorfrogman3
  • +
  • angelinabiswas
  • +
  • ervyncruz891
  • +
  • Kevinjblanchard
  • +
  • JustinSchrader
  • +
  • BenDFontenot
  • +
  • louiscyang
  • +
  • heminlim
  • +
  • ColinNeary
  • +
  • SodaCan0515
  • +
  • PJHudson618
  • +
  • AllanMoraes
  • +
  • GO22
  • +
  • JarenDuffield
  • +
  • thenicoman
  • +
  • priya15497
  • +
  • Abhi1458
  • +
  • noosratr
  • +
  • taileanguyen
  • +
  • Afaaq Alam
  • +
  • jumbobaco
  • +
  • jasondrogers
  • +
  • Codyho
  • +
  • ved-n
  • +
  • Justin-Hollmer
  • +
  • Codyho
  • +
  • SpencerBullinger
  • +
  • ItsBree
  • +
  • deepanshu22
  • +
  • Tharindu Dilshan
  • + + + diff --git a/README.md b/README.md index 3115340..79223cc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Hacktoberfest +# __Hacktoberfest__

    @@ -26,16 +26,194 @@ This census has a live webpage [here](https://allencompsci.github.io/Hacktoberfe ![Hacktoberfest-Census](static/img/Hackcensus.png "Hacktoberfest-Census") --- -### Contributing +### __Contributing__ Fork this project and add your username + profile link to the [Census](https://github.com/AllenCompSci/Hacktoberfest/blob/master/README.md) list below, then make a Pull Request to add your name to this repository like so.. ```markdown -[AllenCompSci](https://github.com/AllenCompSci) + - [AllenCompSci](https://github.com/AllenCompSci) ``` -### Census +### __Census__ + - [AllenCompSci](https://github.com/AllenCompSci) + - [Traderain](https://github.com/Traderain) + - [Shivam1897](https://github.com/shivam1897) - [Mr. Hudson](https://github.com/theshrewedshrew) + - [ayushagarwal0316](https://github.com/ayushagarwal0316) - [PAH](https://github.com/pahosler) - [BEST Team 58](https://github.com/BESTTeam58) - [TexasSnow](https://github.com/TexasSnow) - \ No newline at end of file + - [Hemin Lim](https://github.com/heminlim) + - [TannerMay](https://github.com/TannerMay) + - [Justin Schrader](https://github.com/justinschrader) + - [Daniel Yahalom](https://github.com/Dancraft1) + - [Deadpan-insanity](https://github.com/Deadpan-insanity) + - [Law04](https://github.com/Law04) + - [TannerMay](https://github.com/TannerMay) + - [Justin Schrader](https://github.com/justinschrader) + - [Ben Fontenot](https://github.com/BenDFontenot) + - [Shabab Haque](https://github.com/hotdogshabab) + - [Steven Romero](https://github.com/St3ven16) + - [raychen1154](https://github.com/raychen1155) + - [alansunglee](https://github.com/alansunglee) + - [Xintus](https://github.com/Xintus) + - [GabLanger](https://github.com/GabLanger) + - [Papadou0710](https://github.com/Papadou0710) + - [Louis Yang](https://github.com/louiscyang) + - [spicyboi](https://github.com/spicyboi) + - [Rahultheman12](https://github.com/Rahultheman12) + - [eyeofkenku](https://github.com/eyeofkenku) + - [CosmeT17](https://github.com/CosmeT17) + - [Ryan King](https://github.com/KingZethor) + - [incisivebox](https://github.com/incisivebox) + - [DLGesus](https://github.com/DLGesus) + - [ryan v](https://github.com/oopsies) + - [ryansucks](https://github.com/ryansucks) + - [BKNNYY](https://github.com/BKNNYY) + - [Kodaskool](https://github.com/Kodaskool) + - [MasterAndrewJ](https://github.com/MasterAndrewJ) + - [Holden Essman](https://github.com/HoldenEssman) + - [RogueNinja410](https://github.com/RogueNinja410) + - [carsonmires](https://github.com/carsonmires) + - [PeteDelkus](https://github.com/PeteDelkus) + - [John Nguyen](https://github.com/jawnlovesfreestuff) + - [carsonmires](https://github.com/carsonmires) + - [mshughesshirt](https://github.com/mshughesshirt) + - [Cameron Mathis](https://github.com/Phylux) + - [DevinPetersen](https://github.com/DevinPetersen) + - [CodeTimesTen](https://github.com/CodeTimesTen) + - [Kakoure](https://github.com/Kakoure) + - [KaushikMalapati](https://github.com/KaushikMalapati) + - [Lennongrad](https://github.com/lennongrad) + - [Samuel Woon](https://github.com/samuel-w) + - [BMayUSA](https://github.com/BMayUSA) + - [Viltaria](https://github.com/Viltaria) + - [TheTota](https://github.com/TheTota) + - [UltraSive](https://github.com/UltraSive) + - [lhage](https://github.com/lhage) + - [Sumadhwa13](https://github.com/Sumadhwa13) + - [NikhilGoyle](https://github.com/NikhilGoyle) + - [Blueward12](https://github.com/Blueward12) + - [kangoroo115](https://github.com/kangoroo115) + - [samthebryant](https://github.com/samthebryant) + - [Jose-Marquez](https://github.com/Jose-Marquez) + - [234082](https://github.com/234082) + - [Anthony Luong](https://github.com/ayejayL) + - [kadenak](https://github.com/kadenak) + - [JeremyAllen0](https://github.com/JeremyAllen0) + - [ConCougar](https://github.com/ConCougar) + - [Abhi1432](https://github.com/Abhi1432) + - [jacobhemphill02](https://github.com/jacobhemphill02) + - [UltraSive](https://github.com/UltraSive) + - [grawalzel](https://github.com/grawalzel) + - [ColinDurocher](https://gihub.com/colindurocher) + - [LoganSmith2](https://github.com/LoganSmith2) + - [sriv72](https://github.com/sriv72) + - [teaser303](https://github.com/teaser303) + - [DenialHandrails](https://github.com/settings/profile) + - [Galpticose](https://github.com/Galpticose) + - [Fuzzy55](https://github.com/Fuzzy55) + - [pranpran](https://github.com/pranpran) + - [Yofriend123](https://github.com/Yofriend123) + - [DaveGopal24](https://github.com/DaveGopal24) + - [CameronRichardson1](https://github.com/CameronRichardson1) + - [Galpticose1](https://github.com/Galpticose1) + - [elenayuechen](https://github.com/elenayuechen) + - [Maze-Camel](https://github.com/Maze-Camel) + - [JustinV10](https://github.com/JustinV10) + - [ZB1228](https://github.com/ZB1228) + - [jquinn75013](https://github.com/jquinn75013) + - [Monkeymax802](https://github.com/Monkeymax802) + - [jtschuebel](https://github.com/jtschuebel) + - [kyleaustin36](https://github.com/kyleaustin36) + - [250842mark](https://github.com/250842mark) + - [Xxbingood4everxX](https://github.com/bingood4ever) + - [Ajitesh Gupta](https://github.com/AjiteshGupta) + - [tonymanou](https://github.com/tonymanou) + - [marcirsch](https://github.com/marcirsch) + - [MJHudson618](https://github.com/MJHudson618) + - [umaams](https://github.com/umaams) + - [marrujoalex](https://github.com/marrujoalex) + - [Shaedil Dider](https://github.com/Shaedil) + - [Kevinjblanchard](https://github.com/Kevinjblanchard) + - [angelinabiswas](https://github.com/angelinabiswas) + - [ervyncruz891](https://github.com/ervyncruz891) + - [youssefKhA](https://github.com/youssefKhA) + - [ColinNeary](https://github.com/ColinNeary) + - [JustinSchrader](https://github.com/justinschrader) + - [Brookevaughan](https://github.com/BrookeVaughan) + - [alvalle09](https://github.com/alvalle09) + - [zoritecgaming74](https://github.com/zoritecgaming74) + - [mwalenia](https://github.com/mwalenia) + - [PJHudson618](https://github.com/PJHudson618) + - [Ehatsham](https://github.com/htc1dan) + - [amanmehta-maniac](https://github.com/amanmehta-maniac) + - [PAWAN KUMAR GAUTAM](https://github.com/PAWAN-KUMAR-GAUTAM000) + - [huyanhh](https://github.com/huyanhh) + - [AllureQuartz](https://github.com/AllureQuartz) + - [raghav008](https://github.com/raghav008) + - [EvilEpicCoder](https://github.com/EvilEpicCoder) + - [hunter30022](https://github.com/hunter30022) + - [Ghatage](https://github.com/Ghatage) + - [Kiiryu](https://github.com/kiiryu) + - [ShrutiKapoor](https://github.com/shrutikapoor08) + - [yalcins](https://github.com/yalcins) + - [JarenDuffield](https://github.com/JarenDuffield) + - [m6code](https://github.com/m6code) + - [Satwik Relwani](https://github.com/devsatwik) + - [GO22](https://github.com/GO22) + - [hotpeper646](https://github.com/hotpeper646) + - [thenicoman](https://github.com/thenicoman) + - [Abhi1458](https://github.com/Abhi1458) + - [priya15497](https://github.com/priya15497) + - [noosratr](https://github.com/noosratr) + - [taileanguyen](https://github.com/taileanguyen) + - [arya-ayush](https://github.com/arya-ayush) + - [jainayush975](https://github.com/jainayush975) + - [jasondrogers](https://github.com/jasondrogers) + - [Justin-Hollmer](https://github.com/Justin-Hollmer) + - [Codyho](https://github.com/Codyho) + - [jumbobaco](https://github.com/jumbobaco) + - [ved-n](https://github.com/ved-n) + - [Cris-Cos](https://github.com/cris-cos) + - [Vishal Reddy](https://github.com/vishalre) + - [Yahnit](https://github.com/Yahnit) + - [SpencerBullinger](https://github.com/SpencerBullinger) + - [Phaelin](https://github.com/phaelin) + - [MikkelP](https://github.com/MikkelP) + - [malachiw](https://github.com/malachiw) + - [Kool Arpan](https://github.com/arpanpyasi) + - [Ball Surasit](https://github.com/ballsurasit) + - [Umesh Singh Dhauni](https://github.com/umeshdhauni) + - [chrismgonzalez](https://github.com/chrismgonzalez) + - [Maxwell Cody](https://github.com/maxwellcody) + - [dbrereton1995](https://github.com/dbrereton1995) + - [Siddhant Sharma ](https://github.com/ssiddhantsharma) + - [Santatra](https://github.com/nirinarisantatra) + - [Gizmodesbois](https://github.com/gizmodesbois) + - [shubham gaur](https://github.com/shubham0032) + - [Revolee](https://github.com/perlevolee) + - [Rube Flint](https://github.com/flintrube) + - [Andika Nugraha](https://github.com/AndikaNugraha11) + - [Peter Ashe](https://github.com/ashepeter) + - [Chathumina Vimukthi](https://github.com/ChathuminaVimukthi) + - [abstatic](https://github.com/abstatic) + - [Linus Torvalds](https://github.com/torvalds) + - [SarraDIF](https://github.com/SarraDIF) + - [Danil Shankovskiy](https://github.com/BeAsYit) + - [joycemaaa](https://github.com/joycemaaa) + - [KaiUsesThis](https://github.com/KaiUsesThis) + - [Roberto Andres Alvarez](https://github.com/robertoandres21) + - [Pradeep Kumar](https://github.com/pradeepisro) + - [V. Narayan](https://github.com/ShootingStar0) + - [Vinod](https://github.com/vinodnadarthegreat) + - [samwillkins](https://github.com/samwillkins) + - [amivit](https://github.com/amivit) + - [Kush Saini](https://github.com/kushsaini10) + - [Botseer](https://github.com/Botseer) + - [TharinduDilshan](https://github.com/TharinduDilshan) + - [Billy Jones](https://github.com/jonesbilly) + - [AmirAli Mohammadzadeh](https://github.com/AmirAliM) + - [Earvin Gemenez](https://github.com/earvingemenez) + - [Deepanshu Dabas](https://github.com/deepanshu22) + - [Soubhik Rakshit](https://github.com/soubh1k) + - [Jasen Wyatt](https://github.com/jasenwyatt) diff --git a/algorithms/PasswordStrength.cpp b/algorithms/PasswordStrength.cpp new file mode 100644 index 0000000..c8f3d90 --- /dev/null +++ b/algorithms/PasswordStrength.cpp @@ -0,0 +1,72 @@ +#include + +using namespace std; + +class PasswordStrength +{ + private: + string password; + public: + + friend istream& operator>>(istream& fin, PasswordStrength& pass) + { + fin >> pass.password; + return fin; + } + + void strength() + { + bool hasLetter = false; + bool hasDigit = false; + bool hasUpperCase = false; + bool hasLowerCase = false; + bool hasMuchLetter = false; + + + if(this->password.length()>=8) + hasMuchLetter = true; + + for(int i=0; ipassword.length(); i++) + { + if (isupper(this->password[i])) + { + hasUpperCase = true; + } + if (islower(this->password[i])) + { + hasLowerCase = true; + } + if (isalpha(this->password[i])) + { + hasLetter = true; + } + if(isdigit(this->password[i])) + { + hasDigit = true; + } + } + + if(hasLetter && hasDigit && hasUpperCase && hasLowerCase && hasMuchLetter) + cout<<"very strong"; + else if(hasLetter && hasDigit && (hasUpperCase || hasLowerCase) && hasMuchLetter) + cout<<"strong"; + else if(hasLetter && hasDigit && hasUpperCase==false && hasLowerCase==false && hasMuchLetter) + cout<<"good"; + else if(hasLetter && hasDigit && password.length()==false && hasUpperCase==false && hasLowerCase==false) + cout<<"weak"; + else if((hasLetter==false && hasDigit) || (hasLetter && hasDigit==false) && password.length()==false && hasUpperCase==false && hasLowerCase==false) + cout<<"very weak"; + else + cout<<"weak"; + + + } + +}; + +int main() +{ + PasswordStrength pass; + cin>>pass; + pass.strength(); +} diff --git a/algorithms/algorithm-string.h b/algorithms/algorithm-string.h new file mode 100644 index 0000000..effc855 --- /dev/null +++ b/algorithms/algorithm-string.h @@ -0,0 +1,313 @@ +#include "prototype.h" + +void trimStr(std::string& x){ + std:: cpy = ""; + // left trim + bool val = true; + for(int i = 0; i < (int)x.length(); i++){ + if(val){ + if(x[i] != ' '){ + val = true; + cpy = x[i]; + } + } + else{ + cpy += x[i]; + } + } + x = cpy; + // right trim + val = true; + for(int i = x.length() - 1; i >= 0; i--){ + if(val){ + if(x[i] != ' '){ + val = true; + cpy = x[i]; + } + } + else{ + cpy += x[i]; + } + } + x = cpy; + bool neg = isNeg(x); + if(neg) + sign(x); + else + trimAbsStr(x); + if(neg && x!= "0") + x = '-' + x; +} + +void trimStr(std::string& x, std::string& y){ + trimStr(x); + trimStr(y); +} + +void trimAbsStr(std::string& x){ + while((int)x.length() > 0 && x[0] == '0') + x = x.substr(1); +} +void sign(std::string& x){ + if(isNeg(x)){ + x = abs(x); + trimAbsStr(); + } + else{ + trimAbsStr(); + x = "-" + x; + } +} + +void placeHandler(std::string& x, std::string& y){ + trimStr(x, y); + bool x_isNeg = isNeg(x); + bool y_isNeg = isNeg(y); + if(x_isNeg) + sign(x); + if(y_isNeg) + sign(y); + while(cmprLen(x,y) != 0){ + if(cmprLen(x,y) < 1){ + x = "0" + x; + } + else{ + y = "0" + y; + } + } + if(x_isNeg) + sign(x); + if(y_isNeg) + sign(y); +} + +void placeHandler(std::vector& x){ + int x_Size = (int)x.size(); + std::vector isNegVec; + int maxSize = 0; + for(int i = 0; i < x_Size; i++){ + trimStr(x[i]); + bool x_isNeg = isNeg(x[i]); + if(x_isNeg) + sign(x[i]); + isNegVec.push_back(x_isNeg); + maxSize = maxSize > (int)x[i].length() ? maxSize : (int)x[i].length(); + } + for(int i = 0; i < x_Size; i++){ + while((int)x[i].length() < maxSize){ + x[i] = "0" + x[i]; + } + if(isNegVec[i]){ + sign(x[i]); + } + } +} + +int cmprLen(std::string x, std::string y){ + return ((int)x.length() != (int) y.length()) ? ((int)x.length() - (int)y.length()) / abs((int)x.length() - (int)y.length()) : 0; +} + +std::string abs(std::string x){ + return isNeg(x) ? x.substr(1) : x; +} + +std::string ADD(std::vector NUMS){ // ADD for Multiply when vectors are created + int size_NUMS = (int) NUMS.size(); + std::vector POS; + std::vector NEG; + std::vector tmp; + for(int i = 0; i < size_NUMS; i++){ + if(isNeg(NUMS[i])) + NEG.push_back(NUMS[i]); + else + POS.push_back(NUMS[i]); + } + placeHandler(POS); + placeHandler(NEG); + tmp.clear(); + /// Stopping point USE tmp to hold the poped values and clear between pos and neg. stop when tmp.clear() is empty and pos/neg size = 1 + /* DONT WANT TO DO... THIS IS CURRENT IMPLEMENTATION + do{ + do{ + tmp.push_back(ADD(POS.pop(), POS.pop())); + }while((int)(POS.size())>2); + do{ + POS.push_back(tmp.pop()); + }while(!tmp.empty()); + placeHandler(POS); + }while((int)(POS.size()) == 1); + INSTEAD + */ + std::string temp = "0"; + int carry = 0; + if((int)POS.size()>0){ + for(int j = POS[0].length() - 1; j >= 0; j--){ // j index of string + int HOLD = 0; + for(int i = 0; i < (int)POS.size(); i++){ // i index of vector + HOLD += POS[i][j] - 48; + } + HOLD += carry; // ADDS PREVIOUS CARRY + temp = (char)((HOLD % 10) + 48) + temp; + carry = HOLD / 10; // Integer Division + } + while(carry != 0){ + temp = (char)((carry % 10) + 48) + temp; + carry /= 10; + } + } + else{ + temp = "0"; + } + POS.clear(); + POS.push_back(temp); + temp = ""; + if((int)NEG.size()>0){ + for(int j = NEG[0].length() - 1; j >= 0; j--){ // j index of string + int NEG = 0; + for(int i = 0; i < (int)NEG.size(); i++){ // i index of vector + HOLD += NEG[i][j] - 48; + } + HOLD += carry; // ADDS PREVIOUS CARRY + temp = (char)((HOLD % 10) + 48) + temp; + carry = HOLD / 10; // Integer Division + } + while(carry != 0){ + temp = (char)((carry % 10) + 48) + temp; + carry /= 10; + } + } + else{ + temp = "0"; + } + return SUB(POS.pop(), temp); +} + +std::string ADD(std::string x, std::string y){ + if(isNeg(x) && isNeg(y)){ + sign(x); + sign(y); + return "-" + ADD(x,y); + } + else if(isNeg(x)){ + sign(x); + return SUB(y,x); + } + else if(isNeg(y)){ + sign(y); + return SUB(x,y); + } + placeHandler(x,y); + std::result = ""; + int carry = 0; + for(int i = (int)x.length() - 1; i >= 0; i--){ + char value = x[i] /* char value is 48 larger than numeric */+ y[i] /* same */ - 48 /* we have to subtract 48 2 times then add it back once */ + carry; + if(value > '9'){ + carry = 1; + value -= 10; + } + else + carry = 0; + result = (char)value + result; + } + if(carry > 0) + result = (char)(carry+48) + result; + trimStr(result); + return result; +} +std::string SUB(std::string x, std::string y){ // THIS IS X - Y + if(isNeg(x) && isNeg(y)){ + // - (x - y) Need to check if y is larger than x. AFTER NEG + sign(x); + sign(y); + return SUB(y,x); + } + else if(isNeg(x)){ + sign(x); + return "-" + ADD(x, y); + } + else if(isNeg(y)){ + sign(y); + return ADD(x,y); + } + // Decimal Future + + if(isLessThan(x,y){ + return "-" + SUB(y,x); + } + placeHandler(x,y); + std::string result = ""; + // This X will Always be greater than Y + for(int i = (int)x.length()-1; i>= 0; i--){ + int val = x[i] - y[i] - 48; + if(val < 48){ + val += 10; + x[i-1]--; + } + result = (char)(val + 48) + result; + } + return result; +} +std::string DIVIDE(std::string, std::string){ + +} +std::string INTDIV(std::string x, std::string y){ + std::string temp = DIVIDE(x,y); + if(temp.find(' ')>0){ + temp = temp.substr(0,temp.find(' ')); + } + trimStr(temp); + return temp; +} +std::string MULTI(std::string, std::string){ + +} +std::string MOD(std::string, std::string){ /// Do Mod Last... Neeed Add. Sub Mult. Divide. IntDiv + +} +std::string gcd(std::string x, std::string y){ + trimStr(x,y); + if(isEqualTo(y, "0")){ + return x; + } + else + return gcd(y, MOD(x,y)); +} + +bool isLessThan(std::string x, std::string y){ + if(isNeg(x)){ + if(!isNeg(y)){ + return true; + } + } + else if (isNeg(y)){ + return false; + } + if(cmprLen(x,y) == 0){ + for(int i = 0; i < (int)x.length(); i++) + if(x[i] < y[i]){ + return true; + } + else if(x[i] != y[i]{ + return false; + } + } + else if(cmprLen(x,y)<1){ + return true; + } + return false; +} +bool isEqualTo(std::string x, std::string y){ + return x == y; +} +bool isGreaterThan(std::string, std::string){ + return !isEqualtTo(x,y) && !isLessThan(x,y); +} +bool isNeg(std::string x){ + return ((int)x.length() > 0) && x[0] == '-'; +} +bool isEven(std::string x){ + return x[x.length() - 1] % 2 == 0; +} +bool isOdd(std::string x){ + return !isEven(x); +} diff --git a/algorithms/bubble_sorting/c/bubble_sort.c b/algorithms/bubble_sorting/c/bubble_sort.c new file mode 100644 index 0000000..5984cd5 --- /dev/null +++ b/algorithms/bubble_sorting/c/bubble_sort.c @@ -0,0 +1,33 @@ +//algorithm of bubble sort in c +//start from the first elemnent +/*1. start comparing it with the next element + 2. swap the element with the first smaller element it encounters. + 3. every traversal pushes the largest element towards the end. +*/ + + + + +void bubbleSort(int arr[], int n) +{ + int i, j; + for (i = 0; i < n-1; i++) + + // Last i elements are already in place + for (j = 0; j < n-i-1; j++) + if (arr[j] > arr[j+1]) + swap(&arr[j], &arr[j+1]); +} + +int main() +{ +int i,j,k; +int a[5]; +for(i=0;i<5;i++) +scanf("%d",&a[i]); +bubblesort(a,5); +for(i=0;i<5;i++) +printf("%d\n",a[i]); + +return 0; +} diff --git a/algorithms/bubble_sorting/cpp/bubble_sort_1.cpp b/algorithms/bubble_sorting/cpp/bubble_sort_1.cpp new file mode 100644 index 0000000..954239c --- /dev/null +++ b/algorithms/bubble_sorting/cpp/bubble_sort_1.cpp @@ -0,0 +1,43 @@ +#include +using namespace std; + +//global variables for ease of use +long long int array[1000],n,temp; + +//function for bubble sort +void bubble_sort() +{ + + for(register long long int i=0;iarray[j+1]) + { + temp=array[j]; + array[j]=array[j+1]; + array[j+1]=temp; + } + } + } +} +int main() +{ + // Enter the number of elements + cin>>n; + + //Entering the elements + for(register long long int i=0;i>array[i]; + } + + //buuble sort + bubble_sort(); + + //Sorted order + for(register long long int i=0;i +#include +void main() +{ + clrscr(); + int n, i, arr[50], j, temp; + cout<<"Enter total number of elements :"; + cin>>n; + cout<<"Enter "<>arr[i]; + } + cout<<"Sorting array using bubble sort technique...\n"; + for(i=0; i<(n-1); i++) + { + for(j=0; j<(n-i-1); j++) + { + if(arr[j]>arr[j+1]) + { + temp=arr[j]; + arr[j]=arr[j+1]; + arr[j+1]=temp; + } + } + } + cout<<"Elements sorted successfully..!!\n"; + cout<<"Sorted list in ascending order :\n"; + for(i=0; i a[i + 1]: + sorted = False + a[i], a[i + 1] = a[i + 1], a[i] + +a = [12, 33, 1, 3, 54, 32, 78, 54, 99, 6] +print(a) +bubbleSort(a) +print(a) diff --git a/algorithms/calculate.cpp b/algorithms/calculate.cpp new file mode 100644 index 0000000..b978e20 --- /dev/null +++ b/algorithms/calculate.cpp @@ -0,0 +1,41 @@ +// AUTHOR : theshrewedshrew @ https://github.com/theshrewedshrew +// REASON : Create a program, and or series of cpp files capable of calculating any two numbers. +// NEEDS : ADD() SUB() MULTI() DIVIDE() MOD() + +#include "algorithm-string.h" + +using namespace std; + + +int ADD(int a, int b) +{ + return a+b; +} + +int SUB(int a, int b) +{ + return a-b; +} + +int MULTI(int a, int b) +{ + return a*b; +} + +int DIVIDE(int a, int b) +{ + if(b!=0) + return a/b; + +} + +int MOD(int a, int b) +{ + return a%b; + +} + +void main(){ + + +} diff --git a/algorithms/prototype.h b/algorithms/prototype.h new file mode 100644 index 0000000..e8b3503 --- /dev/null +++ b/algorithms/prototype.h @@ -0,0 +1,32 @@ +#include /* cout cin */ +#include /* abs */ +#include /* string */ +#include /* vector */ +#include /* va_list, va_start, va_arg, va_end */ + + +void trimStr(std::string&); +void trimStr(std::string&, std::string&); +void trimAbsStr(std::string&); +void placeHandler(std::string& , std::string&); +void placeHandler(std::vector&); +void sign(std::string&); +void sign(std::string&, std::string&); +int cmprLen(std::string, std::string); + +std::string abs(std::string); +std::string ADD(std::vector&); +std::string ADD(std::string, std::string); +std::string SUB(std::string, std::string); +std::string DIVIDE(std::string, std::string); +std::string INTDIV(std::string, std::string); +std::string MULTI(std::string, std::string); +std::string MOD(std::string, std::string); +std::string gcd(std::string, std::string); + +bool isNeg(std::string); +bool isEven(std::string); +bool isOdd(std::string); +bool isLessThan(std::string, std::string); +bool isEqualTo(std::string, std::string); +bool isGreaterThan(std::string, std::string); diff --git a/index.html b/index.html index 8e977d1..cfb822c 100644 --- a/index.html +++ b/index.html @@ -1,28 +1,29 @@ - - Hacktoberfest Census - + + Allen Computer Science Hacktoberfest Census + + + + + + + + - - - - - - + +
    + +

    A census of those participating in #Hacktoberfest (and an easy PR!)


    + Repository +
    + Sign-In +
    - -
    - -

    A census of those participating in #Hacktoberfest (and an easy PR!)


    - Repository - Sign-In -
    - -
    -

    -
      -
      - +
      +

      +
        +
        + diff --git a/problems/FLIPCoin/README.md b/problems/FLIPCoin/README.md new file mode 100644 index 0000000..2b76c2b --- /dev/null +++ b/problems/FLIPCoin/README.md @@ -0,0 +1,7 @@ +### Coin Flip + +

        + +

        + +## JAVA diff --git a/static/img/site/AMC - CoinFlip.PNG b/static/img/site/AMC - CoinFlip.PNG new file mode 100644 index 0000000..f77a9cd Binary files /dev/null and b/static/img/site/AMC - CoinFlip.PNG differ diff --git a/static/js/get_census.js b/static/js/get_census.js index 9d6b75f..a974467 100644 --- a/static/js/get_census.js +++ b/static/js/get_census.js @@ -1,9 +1,9 @@ $.get( "https://raw.githubusercontent.com/AllenCompSci/Hacktoberfest/master/README.md", function(file) { - var census_md = file.split("### Census")[1].split("\n"); - census_md.map((user) => { - if(user == ""){ + var census_md = file.split("### __Census__")[1].split("\n"); + census_md.map( (user) => { + if (user == ""){ return; } var name = user.substring(user.lastIndexOf("[")+1, user.lastIndexOf("]")); diff --git a/test/shirt.js b/test/shirt.js new file mode 100644 index 0000000..bd85748 --- /dev/null +++ b/test/shirt.js @@ -0,0 +1,4 @@ +{ + "pull_request": "yes", + "pull_request_count": 0 +}