Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 958fd6a

Browse filesBrowse files
committed
Initial commit
0 parents  commit 958fd6a
Copy full SHA for 958fd6a

File tree

Expand file treeCollapse file tree

8 files changed

+113
-0
lines changed
Filter options
Expand file treeCollapse file tree

8 files changed

+113
-0
lines changed

‎.github/issue_template.md

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
> If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug.

‎.github/pull_request_template.md

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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.

‎INSTALL.md

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
### [X](http://link-to-x.com)
2+
3+
#### Install using Git
4+
5+
If you are a git user, you can install the theme and keep up to date by cloning the repo:
6+
7+
git clone https://github.com/dracula/template.git
8+
9+
#### Install manually
10+
11+
Download using the [GitHub .zip download](https://github.com/dracula/template/archive/master.zip) option and unzip them.
12+
13+
#### Activating theme
14+
15+
1. Do this
16+
2. Then that
17+
3. Boom! It's working

‎LICENSE

Copy file name to clipboard
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2021 Dracula Theme
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md

Copy file name to clipboard
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Dracula for [X](http://link-to-x.com)
2+
3+
> A dark theme for [X](http://link-to-x.com).
4+
5+
![Screenshot](./screenshot.png)
6+
7+
## Install
8+
9+
All instructions can be found at [draculatheme.com/x](https://draculatheme.com/x).
10+
11+
## Team
12+
13+
This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/template/graphs/contributors).
14+
15+
[![Zeno Rocha](https://github.com/zenorocha.png?size=100)](https://github.com/zenorocha) |
16+
--- |
17+
[Zeno Rocha](https://github.com/zenorocha) |
18+
19+
## License
20+
21+
[MIT License](./LICENSE)

‎sample/sample.js

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Once upon a time...
3+
*/
4+
5+
class Vampire {
6+
constructor(props) {
7+
this.location = props.location;
8+
this.birthDate = props.birthDate;
9+
this.deathDate = props.deathDate;
10+
this.weaknesses = props.weaknesses;
11+
}
12+
13+
get age() {
14+
return this.calcAge();
15+
}
16+
17+
calcAge() {
18+
return this.deathDate - this.birthDate;
19+
}
20+
}
21+
22+
// ...there was a guy named Vlad
23+
24+
const Dracula = new Vampire({
25+
location: 'Transylvania',
26+
birthDate: 1428,
27+
deathDate: 1476,
28+
weaknesses: ['Sunlight', 'Garlic']
29+
});

‎sample/sample.py

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Once upon a time...
2+
3+
class Vampire:
4+
def __init__(self, props):
5+
self.location = props['location']
6+
self.birthDate = props['birthDate']
7+
self.deathDate = props['deathDate']
8+
self.weaknesses = props['weaknesses']
9+
10+
def get_age(self):
11+
return self.calc_age()
12+
13+
def calc_age(self):
14+
return self.deathDate - self.birthDate
15+
16+
# ...there was a guy named Vlad
17+
18+
Dracula = Vampire({
19+
'location': 'Transylvania',
20+
'birthDate': 1428,
21+
'deathDate': 1476,
22+
'weaknesses': ['Sunlight', 'Garlic']
23+
})

‎screenshot.png

Copy file name to clipboard
248 KB
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.