
Management is doing things right; leadership is doing the right things.
If you have a good platform then you don't need a modeling tool.
If you have a good modeling tool, your platform becomes irrelevant.
@Grab(group='net.sourceforge.htmlunit', module='htmlunit', version='[2.4,)')
grape resolve xalan xalan 2.7.1
[FAILED ] xalan#xalan;2.7.1!xalan.jar: invalid sha1: expected=sha1(xalan-2.7.1.jar)= computed=75f1d83ce27bab5f29fff034fc74aa9f7266f22a (9927ms)
~/.groovy/grapes/xalan/serializer/jars/
respective ~/.groovy/grapes/xalan/xalan/jars/
on OS X.
Open source today is often just a lazy attempt to create a public standard. Throw some code at a wall and see what sticks.
- Jan Erik Paulsen
Sun is pulling a “Netscape rewrite” with JavaFX
import org.mortbay.jetty.Server import org.mortbay.jetty.servlet.* import groovy.servlet.* @Grab(group = 'org.mortbay.jetty', module = 'jetty-embedded', version = '6.1.0') def runServer(duration) { def server = new Server(8080) def context = new Context(server, "/", Context.SESSIONS); context.resourceBase = "." context.addServlet(TemplateServlet, "*.gsp") server.start() sleep duration server.stop() } runServer(10000)
Avoid turgid, viscous architectures.
The enterprise architecture that solves world peace vs. minimal architecture
Bad schedules can be redone, bad requirements can be rewritten, bad teams can be reorganized, bad code stays.
Nothing makes a system more flexible than a comprehensive suite of tests! Far above good architecture and good design!
Debugging is a skill that should not be desired!
What does it mean to be a craftsman? It means to take personal responsibility!
You will not ever do things right! - The only solution is to continuously improve!
.properties
files.
.groovy
files are also not supported by Quick Look out of the box.
.groovy
files. But it has been quite a hassle.
Contents/Info.plist
with a text-editor.
Info.plist
(just before the ending </dict> </plist>)
UTExportedTypeDeclarations UTTypeConformsTo public.text public.plain-text UTTypeDescription Code UTTypeIdentifier com.macromates.textmate UTTypeTagSpecification com.apple.ostype TEXT public.filename-extension properties groovy
.groovy
files.
touch /Applications/TextMate.app
qlmanage -r
touch ~/Library/QuickLook/QLColorCode.qlmanager
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f -v ~/Library/QuickLook/QLColorCode.qlmanager
.groovy
files as plain text:
Next on the wishlist would be syntax-highlighting. Unfortunately this does not work with the qlcolorcode-plugin since Highlight does not support Groovy.
qlmanage -p Greet.groovy 2>&1 | grep 'Generator used'
When you group things together just because they have to happen at the same time, the relationship between them isn't very strong.
- Michael C. Feathers
Working effectively with legacy code