Skip to content

Commit 0daadec

Browse files
author
phasenraum2010
committed
ongoing work on #34 #39
1 parent 7068495 commit 0daadec

File tree

11 files changed

+323
-40
lines changed

11 files changed

+323
-40
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: java
2+
jdk:
3+
- oraclejdk8
4+
addons:
5+
apt:
6+
packages:
7+
- oracle-java8-installer
8+
services:
9+
- postgresql
10+
before_install:
11+
- sudo apt-get update
12+
- sudo apt-get install language-pack-de
13+
- sudo /etc/init.d/postgresql stop
14+
- sudo /etc/init.d/postgresql start 9.6
15+
before_script:
16+
- psql -c "CREATE USER kandidatentest WITH PASSWORD 'kandidatentestpwd' LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION;" -U postgres
17+
- psql -c 'GRANT pg_signal_backend, postgres TO kandidatentest WITH ADMIN OPTION;' -U postgres
18+
- psql -c "CREATE DATABASE kandidatentest WITH OWNER = kandidatentest TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'de_DE.UTF-8' LC_CTYPE = 'de_DE.UTF-8' CONNECTION LIMIT = -1;" -U postgres
19+
- psql -c '\l' -U postgres
20+
- psql -c '\dg' -U postgres
21+
- psql -c '\dn' -U postgres
22+
- psql -c 'select * from version();' -U postgres
23+
- psql -c 'select * from version();' -U kandidatentest
24+
sudo: false
25+
script: ./mvnw clean site site:deploy -Ptravis -Dtest=AlphaTopLevelSuiteIT -B -V

README.md

Lines changed: 195 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,198 @@
11
# holohoax_StGB130
2-
filters hashtags from social media, stores it into intelligent databases for further research and law enforcement of german StGB130
3-
4-
## Crime against Humanity is not proctect by Freemdom of Speech
5-
6-
## German Law STGB 130:
7-
8-
### Strafgesetzbuch (StGB)
9-
### § 130 Volksverhetzung
10-
11-
* https://www.gesetze-im-internet.de/stgb/__130.html
12-
13-
© 2018 juris GmbH, Saarbrücken und BMJV
14-
15-
16-
(1) Wer in einer Weise, die geeignet ist, den öffentlichen Frieden zu stören,
17-
1.
18-
gegen eine nationale, rassische, religiöse oder durch ihre ethnische Herkunft bestimmte Gruppe, gegen Teile der Bevölkerung oder gegen einen Einzelnen wegen seiner Zugehörigkeit zu einer vorbezeichneten Gruppe oder zu einem Teil der Bevölkerung zum Hass aufstachelt, zu Gewalt- oder Willkürmaßnahmen auffordert oder
19-
2.
20-
die Menschenwürde anderer dadurch angreift, dass er eine vorbezeichnete Gruppe, Teile der Bevölkerung oder einen Einzelnen wegen seiner Zugehörigkeit zu einer vorbezeichneten Gruppe oder zu einem Teil der Bevölkerung beschimpft, böswillig verächtlich macht oder verleumdet,
21-
wird mit Freiheitsstrafe von drei Monaten bis zu fünf Jahren bestraft.
22-
(2) Mit Freiheitsstrafe bis zu drei Jahren oder mit Geldstrafe wird bestraft, wer
23-
1.
24-
eine Schrift (§ 11 Absatz 3) verbreitet oder der Öffentlichkeit zugänglich macht oder einer Person unter achtzehn Jahren eine Schrift (§ 11 Absatz 3) anbietet, überlässt oder zugänglich macht, die
25-
a)
26-
zum Hass gegen eine in Absatz 1 Nummer 1 bezeichnete Gruppe, gegen Teile der Bevölkerung oder gegen einen Einzelnen wegen seiner Zugehörigkeit zu einer in Absatz 1 Nummer 1 bezeichneten Gruppe oder zu einem Teil der Bevölkerung aufstachelt,
27-
b)
28-
zu Gewalt- oder Willkürmaßnahmen gegen in Buchstabe a genannte Personen oder Personenmehrheiten auffordert oder
29-
c)
30-
die Menschenwürde von in Buchstabe a genannten Personen oder Personenmehrheiten dadurch angreift, dass diese beschimpft, böswillig verächtlich gemacht oder verleumdet werden,
31-
2.
32-
einen in Nummer 1 Buchstabe a bis c bezeichneten Inhalt mittels Rundfunk oder Telemedien einer Person unter achtzehn Jahren oder der Öffentlichkeit zugänglich macht oder
33-
3.
34-
eine Schrift (§ 11 Absatz 3) des in Nummer 1 Buchstabe a bis c bezeichneten Inhalts herstellt, bezieht, liefert, vorrätig hält, anbietet, bewirbt oder es unternimmt, diese Schrift ein- oder auszuführen, um sie oder aus ihr gewonnene Stücke im Sinne der Nummer 1 oder Nummer 2 zu verwenden oder einer anderen Person eine solche Verwendung zu ermöglichen.
35-
(3) Mit Freiheitsstrafe bis zu fünf Jahren oder mit Geldstrafe wird bestraft, wer eine unter der Herrschaft des Nationalsozialismus begangene Handlung der in § 6 Abs. 1 des Völkerstrafgesetzbuches bezeichneten Art in einer Weise, die geeignet ist, den öffentlichen Frieden zu stören, öffentlich oder in einer Versammlung billigt, leugnet oder verharmlost.
36-
(4) Mit Freiheitsstrafe bis zu drei Jahren oder mit Geldstrafe wird bestraft, wer öffentlich oder in einer Versammlung den öffentlichen Frieden in einer die Würde der Opfer verletzenden Weise dadurch stört, dass er die nationalsozialistische Gewalt- und Willkürherrschaft billigt, verherrlicht oder rechtfertigt.
37-
(5) Absatz 2 Nummer 1 und 3 gilt auch für eine Schrift (§ 11 Absatz 3) des in den Absätzen 3 und 4 bezeichneten Inhalts. Nach Absatz 2 Nummer 2 wird auch bestraft, wer einen in den Absätzen 3 und 4 bezeichneten Inhalt mittels Rundfunk oder Telemedien einer Person unter achtzehn Jahren oder der Öffentlichkeit zugänglich macht.
38-
(6) In den Fällen des Absatzes 2 Nummer 1 und 2, auch in Verbindung mit Absatz 5, ist der Versuch strafbar.
39-
(7) In den Fällen des Absatzes 2, auch in Verbindung mit Absatz 5, und in den Fällen der Absätze 3 und 4 gilt § 86 Abs. 3 entsprechend.
2+
3+
I am fuckep up by visitung my favorite web page an finding commentaries containing the hardest nazi hatespeech.
4+
5+
**Crime against Humanity is not proctected by Freemdom of Speech**
6+
7+
## defcon1
8+
9+
filters hashtags from social media, stores it for further research and law enforcement e.g. STGB130
10+
11+
## Abstract
12+
+ App the Browse Data for #btw17 with [spring:boot] for [heroku]
13+
+ More Info: [holohoax_StGB130 github page]
14+
15+
## URLs
16+
+ Demo on Heroku [https://holohoax_stgb130.herokuapp.com/]
17+
+ Github [https://github.com/phasenraum2010/holohoax_StGB130]
18+
+ Maven Reports [https://holohoax_StGB130.herokuapp.com/maven]
19+
20+
## public BETA
21+
22+
Einige Informationen werden aktuell noch manuell gesammelt und sukzessive bereit gestellt.
23+
Einige Funktionen der Software werden aktuell noch weiter entwickelt und sukzessive bereit gestellt
24+
Die Daten können Inkonsistenzen oder Fehler enthalten.
25+
Die Funktionen der Software können Inkonsistenzen oder Fehler enthalten.
26+
Sie können Fehler bei Daten oder Software-Funktionen melden unter:
27+
[https://github.com/phasenraum2010/holohoax_StGB130/issues]
28+
Das Hosting bei Heroku ist in Europa, nicht in den USA.
29+
Das Hosting bei Heroku ist der kleinste, kostenlose, Tarif.
30+
Das kann je nach Anzahl der Besucher langsam werden.
31+
Kostenpflichtige Upgrades mit extremer Skalierung sind durch Sponsoring zeitnah möglich.
32+
Werfen Sie dazu bitte auch einen Blick auf: [Needing Help Items on Github (Labels)]
33+
34+
35+
## Neo4J
36+
37+
### Download
38+
* https://github.com/neo4j/neo4j/releases
39+
40+
### Support
41+
* https://stackoverflow.com/questions/tagged/neo4j
42+
* https://github.com/neo4j/neo4j
43+
* https://groups.google.com/forum/#!forum/neo4j
44+
45+
### Docu
46+
* https://neo4j.com/docs/
47+
* https://neo4j.com/docs/developer-manual/current/
48+
* https://neo4j.com/docs/operations-manual/current/
49+
50+
### OGM & Graph Algorithms
51+
* https://neo4j.com/docs/ogm-manual/current/
52+
* https://neo4j.com/docs/graph-algorithms/current/
53+
* https://neo4j.com/docs/pdf/cypher-refcard-3.4.pdf
54+
55+
### resources
56+
* https://neo4j.com/developer/resources/
57+
* http://neo4j-users-slack-invite.herokuapp.com/
58+
* https://twitter.com/neo4j
59+
* https://github.com/neo4j/neo4j
60+
* https://groups.google.com/forum/#!forum/neo4j
61+
* https://www.youtube.com/c/neo4j
62+
* https://www.meetup.com/de-DE/Neo4j-Online-Meetup/
63+
* https://stackoverflow.com/questions/tagged/neo4j
64+
65+
## Spring-Boot
66+
* https://spring.io/projects/spring-boot
67+
* https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/reference/htmlsingle
68+
* https://docs.spring.io/spring-boot/docs/2.0.3.RELEASE/api
69+
* https://projects.spring.io/spring-data-neo4j
70+
* https://github.com/spring-projects/spring-boot
71+
72+
## Development
73+
74+
### Repository
75+
- Get Source Code: git clone [https://github.com/phasenraum2010/holohoax_StGB130.git]
76+
- Issues: [https://github.com/phasenraum2010/holohoax_StGB130/issues]
77+
78+
### heroku CLI
79+
- export APP_NAME=stopholohoaxstgb130
80+
- heroku login
81+
- heroku logs -t --app $APP_NAME
82+
- more:
83+
- [heroku command-line]
84+
- [heroku-cli]
85+
86+
### Maven Repositories
87+
* I use Artifactory CE on my local machine
88+
89+
90+
[maven Remote Reporitories by Artifactory on localhost]
91+
92+
lfdNr | Repository.Id | Repository.Url
93+
-------|--------------------|-------------------
94+
1 | central | https://repo.spring.io/libs-release-local
95+
3 | ga.maven.repository.redhat.com | https://maven.repository.redhat.com/ga/
96+
3 | jcenter | https://jcenter.bintray.com/
97+
4 | maven2.central.maven.org | http://central.maven.org/maven2/
98+
5 | maven2.dist.wso2.org | http://dist.wso2.org/maven2/
99+
6 | plugins-release.repo.spring.io | http://repo.spring.io/plugins-release/
100+
7 | release.repo.spring.io | http://repo.spring.io/release/
101+
8 | releases.repository.apache.org | https://repository.apache.org/content/repositories/releases/
102+
9 | sonatype-nexus-snapshots | https://oss.sonatype.org/content/repositories/snapshots/
103+
104+
## Contribute
105+
106+
### Fork, patch and contribute code
107+
* Feel free to fork holohoax_StGB130 [Git repository at GitHub] for your own use and updates
108+
* Contribute your fixes and new features back to the main codebase using [GitHub pull requests]
109+
110+
### Issues (bug and feature tracker)
111+
* Please report any bugs found, feature requests or other issues on [holohoax_StGB130-issues]
112+
* When creating a new issue, try following [necolas's guidelines]
113+
114+
## Support
115+
116+
### There are some really useful things, which will help a lot:
117+
118+
There are some really useful things, which will help a lot:
119+
Please have a look to List of Needing Help:
120+
* [Needing Help Items on Github (Project)]
121+
* [Needing Help Items on Github (Labels)]
122+
123+
Please, let me know if you are using App.
124+
125+
* Contact me [av-site] if you have questions about holohoax_StGB130, or just like to say something about it.
126+
* If you _really really_ like it and want to support the author, I will be glad to [donate].
127+
128+
### Author: port80guru
129+
Good Friends call me Natural-Born-Coder
130+
+ Twitter: [https://twitter.com/ThomasWoehlke]
131+
+ Github: [https://github.com/phasenraum2010]
132+
+ Blog: [https://thomas-woehlke.blogspot.de]
133+
134+
### Acknowledgements
135+
+ btw17 Frontend is built on [bootstrap].
136+
+ These include icons from [glyphicons] and web fonts from Google [webfonts].
137+
+ JavaScript goodies with [jquery].
138+
+ More icons by [fontawesome].
139+
+ Google Maps JavaScript API [google-maps-javascript-api]
140+
+ Google Analytics [google-analytics]
141+
+ Serverside is made with [java] and [spring-boot].
142+
+ Spring Frameworks used: [spring-web-mvc], [spring-security]
143+
+ HTML Templating: [thymeleaf]
144+
+ Continous Integration with [travis-ci]
145+
+ Scalable Operating on Cloud-Service in Zone EU [heroku]
146+
147+
### Copyright and license
148+
149+
© 2018 port80guru for the Software at [Github Repo]
150+
151+
© 2018 [juris GmbH, Saarbrücken und BMJV] for the Law STGB 130
152+
153+
This Software is Licensed under the **[GNU GENERAL PUBLIC LICENSE Version 3]**
154+
155+
Except where otherwise noted, Documentation of this work is licensed under [Creative Commons CC BY-ND 3.0]
156+
157+
## Thank Your for your attention and interest and reading until here
158+
159+
[Github Repository]:https://github.com/phasenraum2010/holohoax_StGB130 (Github Repository)
160+
[juris GmbH, Saarbrücken und BMJV]:https://www.gesetze-im-internet.de/stgb/__130.html] (for the Law STGB 130)
161+
[GNU GENERAL PUBLIC LICENSE Version 3]:https://www.gnu.org/licenses/gpl-3.0.de.html (https://www.gnu.org/licenses/gpl-3.0.de.html)
162+
[Creative Commons CC BY-ND 3.0]:http://creativecommons.org/licenses/by-nd/3.0/ (http://creativecommons.org/licenses/by-nd/3.0/)
163+
[java]:http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java JDK)
164+
[fontawesome]:http://fontawesome.io/icons/ (fontawesome)
165+
[heroku]:https://heroku.com/ (heroku)
166+
[travis-ci]: https://travis-ci.org/ (Continious Integration by Travis-CI from Berlin)
167+
[spring-web-mvc]: http://projects.spring.io/spring-framework/ (Java for Web, Cloud and Enterprise)
168+
[spring-boot]: https://projects.spring.io/spring-boot/ (Java for Web, Cloud and Enterprise)
169+
[spring-security]: http://projects.spring.io/spring-security/ (Java for Web, Cloud and Enterprise)
170+
[thymeleaf]: http://www.thymeleaf.org/doc/tutorials/2.1/thymeleafspring.html (thymeleaf)
171+
[bootstrap]: https://getbootstrap.com/docs/3.3/ (bootstrap)
172+
[glyphicons]: http://glyphicons.com/ (glyphicons)
173+
[webfonts]: http://www.google.com/webfonts/ (webfonts)
174+
[jquery]: http://jquery.org (jquery)
175+
[google-analytics]:https://analytics.google.com/analytics/web/ (Google Analytics)
176+
[google-maps-javascript-api]:https://developers.google.com/maps/documentation/javascript/ (Google Maps)
177+
[https://twitter.com/ThomasWoehlke]:https://twitter.com/port80guru (Twitter port80guru)
178+
[https://github.com/phasenraum2010]:https://github.com/phasenraum2010 (Github: phasenraum2010)
179+
[https://thomas-woehlke.blogspot.de]:https://port80gru.blogspot.de (Blog port80guru)
180+
[av-site]: https://twitter.com/port80guru (Twitter port80guru)
181+
[donate]: https://www.paypal.me/ThomasWoehlke (donate via paypal)
182+
[maven Remote Reporitories by Artifactory on localhost]:http://localhost:8081/artifactory/webapp/#/admin/repositories/remote (maven Remote Reporitories by Artifactory on localhost)
183+
[https://github.com/phasenraum2010/holohoax_StGB130.git]:https://github.com/phasenraum2010/holohoax_StGB130.git (git clone url)
184+
[https://github.com/phasenraum2010/holohoax_StGB130/issues]:https://github.com/phasenraum2010/holohoax_StGB130/issues (Issues at github)
185+
[holohoax_StGB130-issues]: https://github.com/phasenraum2010/holohoax_StGB130/issues
186+
[necolas's guidelines]: http://github.com/necolas/issue-guidelines/#readme
187+
[Git repository at GitHub]:https://github.com/phasenraum2010/holohoax_StGB130.git
188+
[GitHub pull requests]: http://help.github.com/articles/using-pull-requests
189+
[Needing Help Items on Github (Project)]:https://github.com/phasenraum2010/holohoax_StGB130/projects/1
190+
[Needing Help Items on Github (Labels)]::https://github.com/phasenraum2010/holohoax_StGB130/labels/help%20wanted
191+
[heroku command-line]:[https://devcenter.heroku.com/categories/command-line]
192+
[heroku-cli]:https://devcenter.heroku.com/articles/heroku-cli
193+
[spring:boot]:https://projects.spring.io/spring-boot/
194+
[heroku]:https://heroku.com
195+
[holohoax_StGB130 github page]:https://phasenraum2010.github.io/holohoax_StGB130/
40196

41197

42198
## Bookmarks
@@ -46,4 +202,4 @@ filters hashtags from social media, stores it into intelligent databases for fur
46202
* https://github.com/neo4j/neo4j
47203
* https://github.com/neo4j/neo4j-java-driver
48204
* https://github.com/neo4j/neo4j-documentation
49-
* https://github.com/neo4j/neo4j-ogm
205+
* https://github.com/neo4j/neo4j-ogm

build.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
source conf.sh
4+
5+
export MAVEN_OPTS="-Xmx512m"
6+
7+
./mvnw -e clean install dependency:tree site
8+
9+
exit 0

conf.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
3+
export BTW17_LOGIN_USERNAME=nbc
4+
export BTW17_LOGIN_PASSWORD=natural-born-coder
5+
export BTW17_GOOGLE_APS_API_KEY=AIzaSyCMWLD6SK1QY3f-94mDS6x7u_jxwYASgqY
6+
export BTW17_GOOGLE_ANALYTICS_ID=UA-17174370-11
7+
export BTW17_GOOGLE_WEBMASTER_TOOLS_ID=3eksTC3Rvao6fLvSUwoRECBwd9Gdg4F51IhOE3DD-T8
8+
export BTW17_MICROSOFT_WEBMASTER_TOOLS_ID=52F1EDC0244BCDCF5C95E402E9E3E49B
9+
export BTW17_FACEBOOK_APP_ID=1721279777913278
10+
export BTW17_TWITTER_CARD_SITE=port80guru
11+
export BTW17_TWITTER_CARD_CREATOR=port80guru
12+
13+
export DEFCON1_PROFILE='-Pdefault'
14+
#export DEFCON1_PROFILE='-Pdevembedded'
15+
#export DEFCON1_PROFILE='-Pintembedded'
16+
#export DEFCON1_PROFILE='-Ptestembedded'
17+
#export DEFCON1_PROFILE='-Pprodembedded'
18+
#export DEFCON1_PROFILE='-Ptravisembedded'
19+
#export DEFCON1_PROFILE='-Pdev'
20+
#export DEFCON1_PROFILE='-Pint'
21+
#export DEFCON1_PROFILE='-Ptest'
22+
#export DEFCON1_PROFILE='-Pprod'
23+
#export DEFCON1_PROFILE='-Ptravis'
24+

heroku.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
source conf.sh
4+
5+
export PORT=8080
6+
export JAVA_OPTS='-Xmx350m -Xss512k'
7+
8+
export DATASOURCE_URL='jdbc:postgresql://localhost:5432/kandidatenheroku?user=kandidatenheroku&password=kandidatenherokupwd'
9+
10+
export DATASOURCE_USERNAME=kandidatenheroku
11+
export DATASOURCE_PASSWORD=kandidatenherokupwd
12+
13+
./mvnw clean install
14+
15+
java -Dserver.port=$PORT $JAVA_OPTS -jar target/kandidaten-2.0.1-SNAPSHOT.jar

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,5 +1482,4 @@
14821482
</plugin>
14831483
</plugins>
14841484
</reporting>
1485-
14861485
</project>

release.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/usr/bin/env bash
2+
3+
4+
source conf.sh
5+
6+
export DATASOURCE_URL='jdbc:postgresql://localhost:5432/kandidatenrelease?user=kandidatenrelease&password=kandidatenreleasepwd'
7+
8+
export DATASOURCE_USERNAME=kandidatenrelease
9+
export DATASOURCE_PASSWORD=kandidatenreleasepwd
10+
11+
export BTW17_JPA_HIBERNATE_DDL_AUTO=update
12+
13+
./mvnw clean install
14+
15+
./mvnw clean spring-boot:run
16+
17+
./mvnw clean spring-boot:run
18+
19+
./mvnw clean spring-boot:run
20+
21+
echo "./mvnw clean release:prepare"
22+
23+
echo "./mvnw release:perform"
24+
25+
echo "git commit -m 'after release'"
26+
27+
echo "git push"
28+
29+
exit 0

run.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
source conf.sh
4+
5+
export JAVA_OPTIONS='-Xmx300m -Xss512k -Dfile.encoding=UTF-8'
6+
7+
./mvnw clean spring-boot:run
8+
9+
exit 0
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package org.woehlke.humanrights.digital.defense.defcon1;
2+
3+
/**
4+
* Created by tw on 15.07.18.
5+
*/
6+
import org.junit.runner.RunWith;
7+
import org.junit.runners.Suite;
8+
9+
@Suite.SuiteClasses({
10+
Defcon1ApplicationTests.class
11+
})
12+
@RunWith(Suite.class)
13+
public class AlphaTopLevelSuiteIT {
14+
}

system.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
java.runtime.version=1.8
2+
maven.version=3.5.3

travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./mvnw clean site site:deploy -Ptravis -Dtest=AlphaTopLevelSuiteIT -B -V

0 commit comments

Comments
 (0)