java-classname-generator

commit 24e23cb884233e7d111041aa74a769a6065db3c0

tree

parent:
2559f943a53a48f5ad8d8f98a43657312eaea4aa

Nick Mykins <nick.mykins@gmail.com>

2014-10-18T18:54:24-04:00

deleted old things

diff --git a/java_name.py b/java_name.py
deleted file mode 100644
index 35c2dff92c4f1c3650c1e19c89ce85b8b33aee2b..0000000000000000000000000000000000000000
--- a/java_name.py
+++ /dev/null
@@ -1,165 +0,0 @@
-from flask import Flask, render_template
-from random import choice, sample
-app = Flask(__name__)
-
-FIRSTS = [
-'Abstract',
-'AnnotationMethod',
-'Application',
-'Aspect',
-'Base',
-'Configurable',
-'Data',
-'Default',
-'Generic',
-'Mock',
-'Mutable',
-'Namespace',
-'Simple',
-'Sql',
-'Invalid',
-'Internal',
-'Jdbc',
-'Standard',
-'Transaction']
-
-MIDDLES = [
-'ContextAware',
-'Frame',
-'Factory',
-'Auto',
-'Meta',
-'PostProcessing',
-'Http',
-'Bound',
-'Element',
-'Pdf',
-'Reflective',
-'Refreshable',
-'Hashable',
-'Regexp',
-'Method',
-'Value',
-'Type',
-'Stateless',
-'Theme',
-'Entry',
-'Window',
-'Config',
-'Session',
-'ASync',
-'Byte',
-'Caching',
-'Char',
-'Array',
-'List',
-'Xml',
-'Streaming',
-'Multipart',
-'Throttle',
-'Parallel',
-'Service',
-'Task',
-'Trigger',
-'Binding',
-'Remote',
-'ToString',
-'Enum',
-'Style',
-'IO',
-'DependsOn',
-'Embedded',
-'Database',
-'Client',
-'Service',
-'Expected',
-'Proxy',
-'Jax',
-'Name',
-'Request',
-'Pooled',
-'Json',
-'Parameterized',
-'NonTransient',
-'Instanceof',
-'ParamAware',
-'Socket',
-'Sequence',
-'Undefined',
-'Loader',
-'Invocation',
-'Timed',
-'Method',
-'MaxValue',
-'MinValue',
-'Url',
-'Resource',
-'Pattern',
-'Help',
-'Entity',
-'Invocation',
-'Extracting',
-'Servlet',
-'Script',
-'ResultSet',
-'Scope',
-'Application',
-'Mail',
-'Throwaway',
-'Connection',
-'Node',
-'Static',
-'Procedure',
-'Labeled',
-'Toolbox',
-'Command',
-'View',
-'Model',
-'Feed',
-'Manual']
-
-LASTS = [
-'Logger',
-'Handler',
-'Exception',
-'Adapter',
-'Factory',
-'Bean',
-'Context',
-'Resolver',
-'Detector',
-'Advisor',
-'Interceptor',
-'Translator',
-'PostProcessor',
-'TaskExecutor',
-'Controller',
-'Loader',
-'Module',
-'Scope',
-'Override',
-'Descriptor',
-'Configurer',
-'Utils',
-'Generator',
-'Expression',
-'Wrapper',
-'Chain',
-'Dispatcher',
-'Validator',
-'Literal',
-'Tag',
-'Dao',
-'Daemon',
-'Template']
-
-@app.route("/")
-def hello():
-    class_name = generate_class_name()
-    return render_template('java.html', class_name=class_name)
-
-def generate_class_name():
-    return choice(FIRSTS) + ''.join(sample(MIDDLES, 4)) + choice(LASTS)
-
-if __name__ == "__main__":
-    app.run()
diff --git a/templates/java.html b/templates/java.html
deleted file mode 100644
index 503e63d89246ec57167299697d818339b9518044..0000000000000000000000000000000000000000
--- a/templates/java.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<title>java classname generator</title>
-<link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
-<div class=class_name>
-    <p>{{class_name}}
-</div>