-
-
Save nicolocarpignoli/f4678ef87615b2ff967bc694543ed6fe to your computer and use it in GitHub Desktop.
Revisions
-
nicolocarpignoli revised this gist
Jul 30, 2019 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,9 +57,7 @@ <h1>Random DNA components class names</h1> "BE", "DNA", "Ieb", "Iq", ], inWords = [ "Switch", "Embed", "Mixin", "Broker", "Helper", "Factory", "Component", "Store", "Model", "App", "Proxy", "Observable", "Event", "Base", "Mock", "Test", ]; function $(id) { -
nicolocarpignoli revised this gist
Jul 30, 2019 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -54,12 +54,12 @@ <h1>Random DNA components class names</h1> <script> var words = [ "BE", "DNA", "Ieb", "Iq", ], inWords = [ "Switch", "Embed", "Mixin", "Broker", "Helper", "Factory", "Component", "Store", "Model", "App", "Proxy", "Observable", "Event", "Base", "Mock", "Test", ]; function $(id) { -
nicolocarpignoli revised this gist
Jul 30, 2019 . No changes.There are no files selected for viewing
-
nicolocarpignoli revised this gist
Jul 30, 2019 . 1 changed file with 6 additions and 30 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,12 +38,11 @@ </head> <body> <h1>Random DNA components class names</h1> <p id="word"></p> <button id="enterprise">DNAfy!</button> <button id="again">Again</button> <br /><br /><br /> @@ -55,35 +54,12 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <script> var words = [ "Factory", "Component", "Store", "Model", "App", "Proxy", "Observable", "Event", "Base", "Mock", "Test", "BE", "DNA", "Ieb", "Iq", ], inWords = [ "Switch", "Embed", "Mixin", "Broker", "Helper", ]; function $(id) { -
hay revised this gist
Nov 9, 2011 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -59,12 +59,12 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Method", "Configuration", "Exception", "Error", "Property", "Value", "Identifier", "Attribute", "Authentication", "Policy", "Container", "Order", "Info", "Parameter", "Request", "Adapter", "Bridge", "Decorator", "Facade", "Proxy", "Worker", "Interpreter", "Iterator", "Observer", "State", "Strategy", "Template", "Comparator", "Clone", "Task", "Resolver", "Candidate", "Expression", "Predicate", "Thread", "Pool", "Descriptor", "Interceptor", "Definition", "Getter", "Setter", "Listener", "Proccesor", "Printer", "Prototype", "Composer", "Event", "Helper", "Utils", "Invocation", "Exporter", "Importer", "Serializer", "Callback", "Tag", "Context", "Mapping", "Advisor", "Filter", "Field", "Test", @@ -138,4 +138,4 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> </script> </body> </html> -
hay revised this gist
Nov 9, 2011 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,7 +71,7 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Tests", "Connection", "Annotation", "Service", "Repository", "Stub", "Mock", "Instance", "Dispatcher", "Client", "Server", "Message", "Map", "List", "Collection", "Queue", "Manager", "Database", "Reponse", "Broadcaster", "Watcher", "Schema", "Mapper", "Publisher", "Consumer", "Producer" ], inWords = [ @@ -83,7 +83,7 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Readable", "Literal", "Reflective", "Scope", "Multipart", "Xml", "Generic", "Interface", "Advisable", "Observable", "Identifiable", "Iterable", "Distributed", "Notification", "Failure", "Type", "Http", "Jdbc" ]; function $(id) { -
hay revised this gist
Nov 9, 2011 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,7 +69,10 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Invocation", "Exporter", "Importer", "Serializer", "Callback", "Tag", "Context", "Mapping", "Advisor", "Filter", "Field", "Test", "Tests", "Connection", "Annotation", "Service", "Repository", "Stub", "Mock", "Instance", "Dispatcher", "Client", "Server", "Message", "Map", "List", "Collection", "Queue", "Manager", "Jdbc", "Database", "Reponse", "Broadcaster", "Watcher", "Schema", "Mapper", "Publisher", "Consumer", "Producer" ], inWords = [ "Composite", "Invalid", "Supported", "Focus", "Traversal", "Abstract", @@ -78,7 +81,9 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Prepared", "Statement", "Remote", "Stateless", "Session", "Transaction", "Transactional", "Based", "Meta", "Data", "Jms", "Readable", "Literal", "Reflective", "Scope", "Multipart", "Xml", "Generic", "Interface", "Advisable", "Observable", "Identifiable", "Iterable", "Distributed", "Notification", "Failure", "Type", "Http" ]; function $(id) { -
hay revised this gist
Nov 9, 2011 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -107,11 +107,13 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> $("again").onclick = function() { $("word").innerHTML = generate(2, 3); $("enterprise").innerHTML = "Enterprisify!"; } $("enterprise").onclick = function() { var word = $("word").innerHTML; $("word").innerHTML = generate(1, 1) + word; $("enterprise").innerHTML = "Enterprisify even more!"; } $("word").innerHTML = generate(2, 3); -
hay revised this gist
Nov 9, 2011 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -68,7 +68,8 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Prototype", "Composer", "Event", "Helper", "Utils", "Invocation", "Exporter", "Importer", "Serializer", "Callback", "Tag", "Context", "Mapping", "Advisor", "Filter", "Field", "Test", "Tests", "Connection", "Annotation", "Service", "Repository", "Stub", "Mock" ], inWords = [ "Composite", "Invalid", "Supported", "Focus", "Traversal", "Abstract", @@ -77,7 +78,7 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Prepared", "Statement", "Remote", "Stateless", "Session", "Transaction", "Transactional", "Based", "Meta", "Data", "Jms", "Readable", "Literal", "Reflective", "Scope", "Multipart", "Xml", "Generic", "Interface", "Advisable", "Observable", "Identifiable" ]; function $(id) { -
hay revised this gist
Nov 9, 2011 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,12 +55,12 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <script> var words = [ "Factory", "Bean", "Wrapper", "Visitor", "Model", "Singleton", "Method", "Configuration", "Exception", "Error", "Property", "Value", "Identifier", "Attribute", "Authentication", "Policy", "Container", "Order", "Info", "Parameter", "Request", "Adapter", "Bridge", "Decorator", "Facade", "Flyweight", "Proxy", "Worker", "Interpreter", "Iterator", "Mediator", "Observer", "State", "Strategy", "Template", "Comparator", "Clone", "Task", "Resolver", "Candidate", "Expression", "Predicate", "Thread", "Pool", "Descriptor", "Interceptor", "Definition", @@ -77,7 +77,7 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Prepared", "Statement", "Remote", "Stateless", "Session", "Transaction", "Transactional", "Based", "Meta", "Data", "Jms", "Readable", "Literal", "Reflective", "Scope", "Multipart", "Xml", "Generic", "Interface" ]; function $(id) { -
hay revised this gist
Nov 9, 2011 . 1 changed file with 12 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -63,11 +63,21 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> "Interpreter", "Iterator", "Mediator", "Memento", "Observer", "State", "Strategy", "Template", "Comparator", "Clone", "Task", "Resolver", "Candidate", "Expression", "Predicate", "Thread", "Pool", "Descriptor", "Interceptor", "Definition", "Getter", "Setter", "Listener", "Proccessor", "Printer", "Prototype", "Composer", "Event", "Helper", "Utils", "Invocation", "Exporter", "Importer", "Serializer", "Callback", "Tag", "Context", "Mapping", "Advisor", "Filter", "Field", "Test", "Tests", "Connection" ], inWords = [ "Composite", "Invalid", "Supported", "Focus", "Traversal", "Abstract", "Transformer", "Common", "Concrete", "Autowire", "Simple", "Aware", "Aspect", "Principal", "Driven", "Interruptible", "Batch", "Prepared", "Statement", "Remote", "Stateless", "Session", "Transaction", "Transactional", "Based", "Meta", "Data", "Jms", "Readable", "Literal", "Reflective", "Scope", "Multipart", "Xml", "Generic" ]; function $(id) { -
hay revised this gist
Nov 9, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,7 +38,7 @@ </head> <body> <h1>Enterprisify your Java Class Names!</h1> <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <p id="word"></p> -
hay revised this gist
Nov 9, 2011 . 1 changed file with 41 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,6 +29,11 @@ font-size: 36px; color: black; } button { font-size: 24px; padding: 10px; } </style> </head> <body> @@ -38,7 +43,8 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <p id="word"></p> <button id="enterprise">Enterprisify!</button> <button id="again">Again</button> <br /><br /><br /> @@ -48,34 +54,37 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <small><a href="https://gist.github.com/1351230">Fork this gist on Github to add your own words ;)</a></small> <script> var words = [ "Factory", "Bean", "Wrapper", "Interface", "Visitor", "Model", "Singleton", "Method", "Configuration", "Exception", "Error", "Property", "Value", "Identifier", "Attribute", "Authentication", "Policy", "Container", "Order", "Info", "Parameter", "Request", "Adapter", "Bridge", "Decorator", "Facade", "Flyweight", "Proxy", "Worker", "Interpreter", "Iterator", "Mediator", "Memento", "Observer", "State", "Strategy", "Template", "Comparator", "Clone", "Task", "Resolver", "Candidate", "Expression", "Predicate", "Thread", "Pool", "Descriptor" ], inWords = [ "Composite", "Invalid", "Supported", "Focus", "Traversal", "Abstract", "Transformer", "Common", "Concrete", "Autowire" ]; function $(id) { return document.getElementById(id); } function rand(min, max) { return Math.round(Math.random() * (max - min)) + min; } function generate(min, max) { var allWords = words.concat( inWords ), word = ''; for (var i = 0, l = rand(min, max) - 1; i < l; i++) { do { var w = allWords[ rand(0, allWords.length - 1) ]; } while (word.indexOf(w) !== -1); word += w; } @@ -85,15 +94,30 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> return word; } $("again").onclick = function() { $("word").innerHTML = generate(2, 3); } $("enterprise").onclick = function() { var word = $("word").innerHTML; $("word").innerHTML = generate(2, 4) + word; } $("word").innerHTML = generate(2, 3); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-15405780-12']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html> -
hay revised this gist
Nov 9, 2011 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -48,20 +48,19 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <small><a href="https://gist.github.com/1351230">Fork this gist on Github to add your own words ;)</a></small> <script> var words = [ "Factory", "Bean", "Wrapper", "Interface", "Visitor", "Model", "Singleton", "Method", "Configuration", "Exception", "Error", "Property", "Value", "Identifier", "Attribute", "Authentication", "Policy", "Container", "Order", "Info", "Parameter", "Request", "Adapter", "Bridge", "Composite", "Decorator", "Facade", "Flyweight", "Proxy", "Interpreter", "Iterator", "Mediator", "Memento", "Observer", "State", "Strategy", "Template", "Comparator", "Clone" ], inWords = [ "Not", "Invalid", "Supported", "Focus", "Traversal", "Abstract", "In", "Is", "Transformer" ]; function $(id) { return document.getElementById(id); } -
hay revised this gist
Nov 9, 2011 . 1 changed file with 9 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,6 +10,11 @@ font-family: Georgia, serif; font-weight: bold; font-style: italic; color: #999; } a { color: #99f; } h1 { @@ -21,7 +26,8 @@ } #word { font-size: 36px; color: black; } </style> </head> @@ -38,8 +44,8 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="huskyr">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> <br /><br /><br /> <small><a href="https://gist.github.com/1351230">Fork this gist on Github to add your own words ;)</a></small> <script> var words = [ -
hay revised this gist
Nov 9, 2011 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,6 +38,9 @@ <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="huskyr">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> <br /><br /><br /> <a href="https://gist.github.com/1351230">Fork this gist on Github to add your own words ;)</a> <script> var words = [ "Factory", "Bean", "Wrapper", "Interface", "Model", "Singleton", -
hay created this gist
Nov 9, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,91 @@ <!doctype html> <html> <head> <title></title> <style> body { background: white; text-align: center; padding: 20px; font-family: Georgia, serif; font-weight: bold; font-style: italic; } h1 { font-size: 16px; } h2 { font-size: 12px; } #word { font-size: 30px; } </style> </head> <body> <h1>The Infamous Java Class Name Generator</h1> <h2>By <a href="http://www.haykranen.nl">Hay Kranen</a></h2> <p id="word"></p> <button id="again">Again?</button> <br /><br /><br /> <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="huskyr">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script> <script> var words = [ "Factory", "Bean", "Wrapper", "Interface", "Model", "Singleton", "Method", "Configuration", "Exception", "Error", "Identifier", "Attribute", "Authentication", "Policy", "Container", "Order", "Info", "Parameter", "Request", "Adapter", "Bridge", "Composite", "Decorator", "Facade", "Flyweight", "Proxy", "Interpreter", "Iterator", "Mediator", "Memento", "Observer", "State", "Strategy", "Template" ], inWords = [ "Not", "Invalid", "Supported", "Focus", "Traversal", "Abstract", "In", "Is", "Transformer" ]; function $(id) { return document.getElementById(id); } function rand(min, max) { return Math.floor(Math.random() * (max - min)) + min; } function generate() { var allWords = words.concat( inWords ), word = ''; for (var i = 0, l = rand(6, 8); i < l; i++) { do { var w = allWords[ rand(0, allWords.length) ]; } while (word.indexOf(w) !== -1); word += w; } word += words[ rand(0, words.length) ]; return word; } function go() { $("word").innerHTML = generate(); } $("again").onclick = function() { window.location = window.location; } go(); </script> </body> </html>