Skip to content

Commit 078cc45

Browse files
author
Stefan Kremser
committed
hackervoice: *I'm in*
1 parent 1847f68 commit 078cc45

24 files changed

+1241
-1
lines changed

.gitignore

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# Twitter API
2+
twitter_bot/keys.py
3+
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
9+
# C extensions
10+
*.so
11+
12+
# Distribution / packaging
13+
.Python
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
wheels/
26+
pip-wheel-metadata/
27+
share/python-wheels/
28+
*.egg-info/
29+
.installed.cfg
30+
*.egg
31+
MANIFEST
32+
33+
# PyInstaller
34+
# Usually these files are written by a python script from a template
35+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
36+
*.manifest
37+
*.spec
38+
39+
# Installer logs
40+
pip-log.txt
41+
pip-delete-this-directory.txt
42+
43+
# Unit test / coverage reports
44+
htmlcov/
45+
.tox/
46+
.nox/
47+
.coverage
48+
.coverage.*
49+
.cache
50+
nosetests.xml
51+
coverage.xml
52+
*.cover
53+
.hypothesis/
54+
.pytest_cache/
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
db.sqlite3
64+
db.sqlite3-journal
65+
66+
# Flask stuff:
67+
instance/
68+
.webassets-cache
69+
70+
# Scrapy stuff:
71+
.scrapy
72+
73+
# Sphinx documentation
74+
docs/_build/
75+
76+
# PyBuilder
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
.python-version
88+
89+
# pipenv
90+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
92+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
93+
# install all needed dependencies.
94+
#Pipfile.lock
95+
96+
# celery beat schedule file
97+
celerybeat-schedule
98+
99+
# SageMath parsed files
100+
*.sage.py
101+
102+
# Environments
103+
.env
104+
.venv
105+
env/
106+
venv/
107+
ENV/
108+
env.bak/
109+
venv.bak/
110+
111+
# Spyder project settings
112+
.spyderproject
113+
.spyproject
114+
115+
# Rope project settings
116+
.ropeproject
117+
118+
# mkdocs documentation
119+
/site
120+
121+
# mypy
122+
.mypy_cache/
123+
.dmypy.json
124+
dmypy.json
125+
126+
# Pyre type checker
127+
.pyre/

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Anatol Pomplun & Stefan Kremser
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

+87-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,87 @@
1-
hackerman
1+
# Hackerman Quote Generator
2+
The random (fake!) quote generator.
3+
4+
## Idea
5+
6+
Hollywood and the media in general loves to portrait hackers as these beings that
7+
make computers do anything! They just have to type fast enough,
8+
or at least faster than the hacker on the other side.
9+
10+
In countless shows and movies, characters say a lot of nonsense
11+
to sound like a real badass hacker.
12+
13+
If you also want to sound like a badass hacker but struggle to learn the basics
14+
of computer engineering, don't worry, we got you covered!
15+
16+
We created this sentence generator to make nonsense hacker quotes.
17+
Grammatically (more or less) correct English sentences mixed with
18+
buzzwords to sound very technical, but don't make any sense.
19+
20+
**Why?** Because we can! But also because it's fun and these quotes make great
21+
jokes and can be used as placeholder text and descriptions.
22+
23+
**One more thing...** just a generator alone would be boring, so we are hosting
24+
a website where anyone can easily get their daily dose of hacker quotes.
25+
Oh and we are creating an API for anyone to use.
26+
(Who needs Lorem-Ipsum when you can fill your website with hacker quotes!)
27+
28+
## Website
29+
30+
Visit [hackerman.wtf](https://hackerman.wtf).
31+
32+
Demo with placeholder quotes
33+
<p style="text-align: center">
34+
<img src="#" width="600" alt="Website demo">
35+
</p>
36+
37+
## API
38+
39+
## Online API
40+
41+
Get a **single** random generated quote at `hackerman.wtf/api`
42+
Returned is a JSON file
43+
```json
44+
{ "quotes": ["We need to generate the redundant PNG transmitter!"] }
45+
```
46+
[Try it out](https://hackerman.wtf/api)
47+
48+
Get **multiple** random generated quotes (max, 100 per query) at `hackerman.wtf/api?n=3`
49+
Returned is a JSON file
50+
```json
51+
{ "quotes": ["First Quote", "Second Quote", "Third Quote"] }
52+
```
53+
The parameter `n` sets the number of quotes requested.
54+
[Try it out](https://hackerman.wtf/api?n=3)
55+
56+
## Local Generator Script
57+
58+
[...]
59+
60+
## To-Do
61+
62+
**General:**
63+
- [x] Python sentence generator
64+
- [x] Web API for generating quotes
65+
- [x] Website
66+
- [x] Twitter Bot
67+
68+
**Improvements:**
69+
None, everything is perfect!
70+
71+
## Credits & Resources
72+
73+
**Authors:**
74+
- Stefan Kremser [@spacehuhn](https://github.com/spacehuhn)
75+
- Anatol Pomplun [@GlOwl](https://github.com/GlOwl)
76+
77+
**Tools:**
78+
- [Python 3](https://www.python.org) Programming Language
79+
- [Django](https://www.djangoproject.com/) Web Framework
80+
- [Bootstrap](https://getbootstrap.com/) Web Library
81+
- [Layoutit](https://www.layoutit.com/) Bootstrap Builder
82+
- [Lumen](https://bootswatch.com/lumen/) Bootstrap Theme
83+
- [jQuery](https://jquery.com/) JavaScript Framework
84+
85+
## License
86+
87+
This software is licensed under the MIT License. See the [license file](LICENSE) for details.

examples.txt

+146
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
Connecting the transmitter won't do anything, we need to navigate the mobile XSS transmitter!
2+
If we input the sensor, we can get to the CSS sensor through the auxiliary CSS sensor!
3+
If we navigate the array, we can get to the XSS array through the wireless XSS array!
4+
I'll bypass the cross-platform HDD monitor, that should monitor the HDD monitor!
5+
I'll hack the haptic CSS matrix, that should matrix the CSS matrix!
6+
I'll input the primary SDD bus, that should bus the SDD bus!
7+
I'll parse the primary SMS feed, that should feed the SMS feed!
8+
I'll synthesize the online FTP transmitter, that should transmitter the FTP transmitter!
9+
The ADP hard drive is down, input the bluetooth hard drive so we can input the ADP hard drive!
10+
The AGP bus is down, index the haptic bus so we can index the AGP bus!
11+
The GB feed is down, hack the multi-byte feed so we can hack the GB feed!
12+
The IB circuit is down, input the 1080p circuit so we can input the IB circuit!
13+
The IB microchip is down, transmit the haptic microchip so we can transmit the IB microchip!
14+
The SAS firewall is down, input the 1080p firewall so we can input the SAS firewall!
15+
The SCSI interface is down, hack the optical interface so we can hack the SCSI interface!
16+
The SDD array is down, generate the mobile array so we can generate the SDD array!
17+
The SDD card is down, compress the cross-platform card so we can compress the SDD card!
18+
The USB bandwidth is down, compress the haptic bandwidth so we can compress the USB bandwidth!
19+
The USB circuit is down, override the cross-platform circuit so we can override the USB circuit!
20+
Try to copy the SMS transmitter, maybe it will copy the haptic transmitter!
21+
Try to navigate the PNG firewall, maybe it will navigate the redundant firewall!
22+
Try to parse the RAM alarm, maybe it will parse the wireless alarm!
23+
Try to synthesize the PNG application, maybe it will synthesize the online application!
24+
Try to synthesize the USB microchip, maybe it will synthesize the haptic microchip!
25+
Use the bluetooth JBOD pixel, then you can override the bluetooth pixel!
26+
Use the primary SAS pixel, then you can synthesize the primary pixel!
27+
Use the wireless SAS panel, then you can generate the wireless panel!
28+
We need to bypass the optical RAM circuit!
29+
We need to generate the redundant PNG transmitter!
30+
We need to input the optical AI microchip!
31+
You can't copy the application without copying the wireless SCSI application!
32+
You can't generate the bus without bypassing the primary GB bus!
33+
You can't generate the driver without copying the digital SMS driver!
34+
You can't generate the matrix without transmitting the digital XSS matrix!
35+
36+
SENTENCE
37+
[INDEPENDENT_CLAUSE]
38+
INDEPENDENT_CLAUSE + CONJUNCTION + INDEPENDENT_CLAUSE
39+
INDEPENDENT_CLAUSE + CONJUNCTION + DEPENDENT_CLAUSE
40+
41+
INDEPENDENT_CLAUSE
42+
SUBJECT_PHRASE + VERB_PHRASE(case defined by noun(&time))
43+
SUBJECT_PHRASE + VERB_PHRASE(case defined by noun(&time)) + OBJECT_PHRASE
44+
45+
DEPENDENT_CLAUSE
46+
REFFERNECE + VERB_PHRASE(case defined by refference(&time))
47+
48+
CONJUNCTION
49+
conjunction
50+
51+
SUBJECT_PHRASE
52+
NOUN_PHRASE
53+
54+
OBJECT_PHRASE
55+
NOUN_PHRASE
56+
57+
NOUN_PHRASE
58+
(PRONOUN [defined by noun, ending dependent on starting letter next]) + (ADJECTIVE_PHRASE) + NOUN
59+
60+
VERB_PHRASE
61+
VERB
62+
63+
VERB
64+
verb
65+
66+
67+
68+
69+
70+
71+
72+
73+
no - noun
74+
ve - verb
75+
ad - adjective
76+
av - adverb
77+
pn - pronoun
78+
pr - preposition
79+
co - conjunction
80+
in - interjection
81+
82+
Sentence -> IndependentSentence, (Conjunction, IndependentSentence)
83+
Sentence -> IndependentSentence,
84+
IndependentSentence -> Noun Phrase, Verb Phrase
85+
NounPhrase -> (Determiner), Noun1
86+
Noun1 -> (AdjectivePhrase), Noun1, (PrepositionalPhrase)
87+
Noun1 -> Noun1, Conjunction, Noun1
88+
VerbPhrase -> (Adverb), verb, (Noun1)
89+
VerbPhrase -> VerbPhrase, Conjunction, VerbPhrase
90+
AdjectivePhrase -> (Adverb), Adjective
91+
92+
93+
nouns -> Thing, Place, Person
94+
pronouns -> the, a, number
95+
verbs -> action/state of being
96+
Proverbs/Preposition
97+
Time: in, on, at
98+
Location: in, on, at
99+
Means: by
100+
Origin: from
101+
Destination: to
102+
Co-participant: with
103+
104+
modifiers
105+
adjectives -> modify nouns
106+
adverbs -> modify verbs, adjectives and adverbs
107+
prepositions ->
108+
interjections ->
109+
110+
conjunctions ->
111+
Coordinationg Conjunctions
112+
yet, or, nor, for, and, so, but
113+
Paired Conjunctions
114+
both . . . and
115+
either . . . or
116+
neither . . . nor
117+
not . . . but
118+
not . . . nor
119+
not only . . . but (also)
120+
whether . . . or
121+
122+
Subject
123+
Noun
124+
125+
Object
126+
Noun
127+
128+
Predicate
129+
verb
130+
verb - object
131+
132+
Clause
133+
Subject - predicate
134+
135+
Simple_Sentence ->
136+
Clause
137+
138+
Coumpund_Sentence
139+
Clause - Coordination - Clause
140+
141+
Complex_Sentence
142+
Clause - "when"/"after"/"before" - Dependent Clause
143+
144+
Complex_Compound_Sentence
145+
Clause - "when"/"after"/"before" - Dependent Clause - Coordination - Clause
146+
Clause - Coordination - Clause - "when"/"after"/"before" - Dependent Clause

0 commit comments

Comments
 (0)