commit e6a8d2e182dc003382429b6c868b7e3f276a5975 Author: pspiagicw <30765406+pspiagicw@users.noreply.github.com> Date: Wed Jan 13 14:00:00 2021 +0530 Initial commit diff --git a/.github/issue_template.md b/.github/issue_template.md new file mode 100644 index 0000000..45a7be3 --- /dev/null +++ b/.github/issue_template.md @@ -0,0 +1 @@ +> If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug. \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..622089f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1 @@ +> If you're fixing a UI issue, make sure you take two screenshots. One that shows the actual bug and another that shows how you fixed it. \ No newline at end of file diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..d9c4322 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,17 @@ +### [X](http://link-to-x.com) + +#### Install using Git + +If you are a git user, you can install the theme and keep up to date by cloning the repo: + + $ git clone https://github.com/dracula/template.git + +#### Install manually + +Download using the [GitHub .zip download](https://github.com/dracula/template/archive/master.zip) option and unzip them. + +#### Activating theme + +1. Do this +2. Then that +3. Boom! It's working \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2095990 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Dracula Theme + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..79b6a9d --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Dracula for [X](http://link-to-x.com) + +> A dark theme for [X](http://link-to-x.com). + +![Screenshot](./screenshot.png) + +## Install + +All instructions can be found at [draculatheme.com/x](https://draculatheme.com/x). + +## Team + +This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/template/graphs/contributors). + +[![Zeno Rocha](https://github.com/zenorocha.png?size=100)](https://github.com/zenorocha) | +--- | +[Zeno Rocha](https://github.com/zenorocha) | + +## License + +[MIT License](./LICENSE) \ No newline at end of file diff --git a/sample/sample.js b/sample/sample.js new file mode 100644 index 0000000..e5193d2 --- /dev/null +++ b/sample/sample.js @@ -0,0 +1,29 @@ +/* + * Once upon a time... + */ + +class Vampire { + constructor(props) { + this.location = props.location; + this.birthDate = props.birthDate; + this.deathDate = props.deathDate; + this.weaknesses = props.weaknesses; + } + + get age() { + return this.calcAge(); + } + + calcAge() { + return this.deathDate - this.birthDate; + } +} + +// ...there was a guy named Vlad + +const Dracula = new Vampire({ + location: 'Transylvania', + birthDate: 1428, + deathDate: 1476, + weaknesses: ['Sunlight', 'Garlic'] +}); \ No newline at end of file diff --git a/sample/sample.py b/sample/sample.py new file mode 100644 index 0000000..95d9346 --- /dev/null +++ b/sample/sample.py @@ -0,0 +1,23 @@ +# Once upon a time... + +class Vampire: + def __init__(self, props): + self.location = props['location'] + self.birthDate = props['birthDate'] + self.deathDate = props['deathDate'] + self.weaknesses = props['weaknesses'] + + def get_age(self): + return self.calc_age() + + def calc_age(self): + return self.deathDate - self.birthDate + +# ...there was a guy named Vlad + +Dracula = Vampire({ + 'location': 'Transylvania', + 'birthDate': 1428, + 'deathDate': 1476, + 'weaknesses': ['Sunlight', 'Garlic'] +}) \ No newline at end of file diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..af54019 Binary files /dev/null and b/screenshot.png differ