SlideShare a Scribd company logo
1 of 11
Download to read offline
Mark’s
Brain Dump Emporium
What is a ‘Lightning Talk’?
Lightning talks are designed to be short presentations between
five and ten minutes…
…to be able to share their ideas and concepts to people who have
experience in the specific field…
…requires the speaker to make his or her point clearly and rid the
presentation of non-critical information…
This causes the audience to be more attentive to the speaker and
gain a broader array of knowledge from the presentations given…
- Wikipedia
Getting the most out of IntelliJ
• Use Alt-Enter to fix things - don’t distract yourself
• ‘annotate’ option for viewing git history - useful to find out what commits a file changed
in*
• Turn off tabs - they slow you down. Use Ctrl-E (recent opened), Ctrl-Shift-E (recent
edits)*
• Bookmarking is better than tabs*
• @formatter for preserving formatting - everyone loves that one… not!*
• Heaps of other tips: (See Hadi Hariri - Developer Advocacy Lead @ Jetbrains):
https://blog.jetbrains.com/idea/2015/10/intellij-idea-tips-and-tricks/*
U and Me (should) Love this
• UML tools abound… some better ones are proprietary (e.g.
Enterprise Architect (Win/Linux) or x-platform like StarUML.
Problem: $ Pay-walled/licence costs.
• Many require GUI plugins or standalone tooling.
• PlantUML is a nifty tool for whipping up diagrams quickly.
• Intuitive and rich DSL/markup.
• Uses GraphViz (graphviz.org) to render the markup*
Don’t get aggravated. Get
aggregated with aggregator POMs
• Group related modules together to conveniently do something with
them e.g. build/package an app.
• Useful for single-click clean and installs in IJ.
• Candidates: standalone apps (web), iConnect WS app.
• Example: Front End public web app: rego-wicket-soa, regosoa-
common, rego-web-common. Back-end (rego.ear): rego-ear,
regosoa-common, rego-service-jiver, rego-common.
• Could (should!?) be versioned in AD4B.
• Although not included in the parent POM so only built ad-hoc as
needed like during development via IJ.
Git: Interactive
Rebasing
• Changes not public?
• Commit history is messy / not descriptive enough?
• Want to do something about it? A: Use git rebase -i
• Actions on commits: Combine (squash), remove, edit msg, etc..
Example - 3 text files - not happy
with commit msgs… Full Demo
Server logs
• Served over http (Apache Http Server)
• Often large 10’s of Mb so slow to view in browser.
• Pull for offline use. UAT example:
wget --user=uat --password=rego.uat http://regotestapp01.dev.act.gov.au/restricted/logs/purple/rego-debug.log
Progress reporting
• TFS queries - recent example: Bugs In Last 5 days
Useful online tools
• devdocs.io - doco tool with typeahead for heaps of langs/tools/
DSLs.
• Stack overflow documentation (Beta)*
• Velocity/Zeal documentation browsers*
• JSFiddle (html/js/css) - share these around nay collaborate.
• Groovy console for quickly checking something e.g.
SimpleDateFormat or java.time api experimentation.
Misc tools
• One editor to rule them all - Atom or Visual Studio
Code - syntax for HEAPS of langs, markups,
DSLs, etc..
• Ditto - clipboard manager - very useful for
repetitive copy and paste during testing.
this::conclude
• Slides are on wiki - under TBA!
• Suggest topics for next lightning talk: FindBugs,
Logging tools/viewers, documentation browsers,
more tips/tricks

More Related Content

Similar to Tips and Tricks lightning talk @ rego.act

Github for Serious Business Professional
Github for Serious Business ProfessionalGithub for Serious Business Professional
Github for Serious Business Professional
zwheller
 
How to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreHow to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle core
Dan Poltawski
 

Similar to Tips and Tricks lightning talk @ rego.act (20)

GateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web AppsGateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web Apps
 
Leverage the power of Open Source in your company
Leverage the power of Open Source in your company Leverage the power of Open Source in your company
Leverage the power of Open Source in your company
 
Github for Serious Business Professional
Github for Serious Business ProfessionalGithub for Serious Business Professional
Github for Serious Business Professional
 
Connecting Intelligent Content with Micropublishing and Beyond
Connecting Intelligent Content with Micropublishing and BeyondConnecting Intelligent Content with Micropublishing and Beyond
Connecting Intelligent Content with Micropublishing and Beyond
 
Community update on flink 1.9 and How to Contribute to Flink
Community update on flink 1.9 and How to Contribute to FlinkCommunity update on flink 1.9 and How to Contribute to Flink
Community update on flink 1.9 and How to Contribute to Flink
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
 
Hinting at a better web
Hinting at a better webHinting at a better web
Hinting at a better web
 
MyIBBT - Project Collaboration with Alfresco Share
MyIBBT - Project Collaboration with Alfresco ShareMyIBBT - Project Collaboration with Alfresco Share
MyIBBT - Project Collaboration with Alfresco Share
 
Updates on webSpoon and other innovations from Hitachi R&D
Updates on webSpoon and other innovations from Hitachi R&DUpdates on webSpoon and other innovations from Hitachi R&D
Updates on webSpoon and other innovations from Hitachi R&D
 
Overview of webSpoon @ Pentaho Bay Area Meetup
Overview of webSpoon @ Pentaho Bay Area MeetupOverview of webSpoon @ Pentaho Bay Area Meetup
Overview of webSpoon @ Pentaho Bay Area Meetup
 
Git best practices workshop
Git best practices workshopGit best practices workshop
Git best practices workshop
 
TWC 545 Presentation-DITA
TWC 545 Presentation-DITATWC 545 Presentation-DITA
TWC 545 Presentation-DITA
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
 
XD Immersive: Upkar Lidder, "Anatomy of a Chatbot"
XD Immersive: Upkar Lidder, "Anatomy of a Chatbot"XD Immersive: Upkar Lidder, "Anatomy of a Chatbot"
XD Immersive: Upkar Lidder, "Anatomy of a Chatbot"
 
Agile cymru Slicing Stories July 2015
Agile cymru   Slicing Stories July 2015Agile cymru   Slicing Stories July 2015
Agile cymru Slicing Stories July 2015
 
How to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreHow to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle core
 
Getting Started With Git and GitHub & Unfolding Opportunities in Open Source
 Getting Started With Git and GitHub & Unfolding Opportunities in Open Source  Getting Started With Git and GitHub & Unfolding Opportunities in Open Source
Getting Started With Git and GitHub & Unfolding Opportunities in Open Source
 
Prototyping like it is 2022
Prototyping like it is 2022 Prototyping like it is 2022
Prototyping like it is 2022
 
8 Principles for Enabling Build/Measure/Learn: Lean Engineering in Action
8 Principles for Enabling Build/Measure/Learn: Lean Engineering in Action8 Principles for Enabling Build/Measure/Learn: Lean Engineering in Action
8 Principles for Enabling Build/Measure/Learn: Lean Engineering in Action
 
Engaging a Developer Audience: Documentation and More
Engaging a Developer Audience: Documentation and MoreEngaging a Developer Audience: Documentation and More
Engaging a Developer Audience: Documentation and More
 

Recently uploaded (6)

Social Learning Theory presentation.pptx
Social Learning Theory presentation.pptxSocial Learning Theory presentation.pptx
Social Learning Theory presentation.pptx
 
How to command respect as a man, in relationships or how you deals with peopl...
How to command respect as a man, in relationships or how you deals with peopl...How to command respect as a man, in relationships or how you deals with peopl...
How to command respect as a man, in relationships or how you deals with peopl...
 
February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletter
 
communication-skills-training-excerpt.pdf
communication-skills-training-excerpt.pdfcommunication-skills-training-excerpt.pdf
communication-skills-training-excerpt.pdf
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga
 

Tips and Tricks lightning talk @ rego.act

  • 2. What is a ‘Lightning Talk’? Lightning talks are designed to be short presentations between five and ten minutes… …to be able to share their ideas and concepts to people who have experience in the specific field… …requires the speaker to make his or her point clearly and rid the presentation of non-critical information… This causes the audience to be more attentive to the speaker and gain a broader array of knowledge from the presentations given… - Wikipedia
  • 3. Getting the most out of IntelliJ • Use Alt-Enter to fix things - don’t distract yourself • ‘annotate’ option for viewing git history - useful to find out what commits a file changed in* • Turn off tabs - they slow you down. Use Ctrl-E (recent opened), Ctrl-Shift-E (recent edits)* • Bookmarking is better than tabs* • @formatter for preserving formatting - everyone loves that one… not!* • Heaps of other tips: (See Hadi Hariri - Developer Advocacy Lead @ Jetbrains): https://blog.jetbrains.com/idea/2015/10/intellij-idea-tips-and-tricks/*
  • 4. U and Me (should) Love this • UML tools abound… some better ones are proprietary (e.g. Enterprise Architect (Win/Linux) or x-platform like StarUML. Problem: $ Pay-walled/licence costs. • Many require GUI plugins or standalone tooling. • PlantUML is a nifty tool for whipping up diagrams quickly. • Intuitive and rich DSL/markup. • Uses GraphViz (graphviz.org) to render the markup*
  • 5. Don’t get aggravated. Get aggregated with aggregator POMs • Group related modules together to conveniently do something with them e.g. build/package an app. • Useful for single-click clean and installs in IJ. • Candidates: standalone apps (web), iConnect WS app. • Example: Front End public web app: rego-wicket-soa, regosoa- common, rego-web-common. Back-end (rego.ear): rego-ear, regosoa-common, rego-service-jiver, rego-common. • Could (should!?) be versioned in AD4B. • Although not included in the parent POM so only built ad-hoc as needed like during development via IJ.
  • 6. Git: Interactive Rebasing • Changes not public? • Commit history is messy / not descriptive enough? • Want to do something about it? A: Use git rebase -i • Actions on commits: Combine (squash), remove, edit msg, etc.. Example - 3 text files - not happy with commit msgs… Full Demo
  • 7. Server logs • Served over http (Apache Http Server) • Often large 10’s of Mb so slow to view in browser. • Pull for offline use. UAT example: wget --user=uat --password=rego.uat http://regotestapp01.dev.act.gov.au/restricted/logs/purple/rego-debug.log
  • 8. Progress reporting • TFS queries - recent example: Bugs In Last 5 days
  • 9. Useful online tools • devdocs.io - doco tool with typeahead for heaps of langs/tools/ DSLs. • Stack overflow documentation (Beta)* • Velocity/Zeal documentation browsers* • JSFiddle (html/js/css) - share these around nay collaborate. • Groovy console for quickly checking something e.g. SimpleDateFormat or java.time api experimentation.
  • 10. Misc tools • One editor to rule them all - Atom or Visual Studio Code - syntax for HEAPS of langs, markups, DSLs, etc.. • Ditto - clipboard manager - very useful for repetitive copy and paste during testing.
  • 11. this::conclude • Slides are on wiki - under TBA! • Suggest topics for next lightning talk: FindBugs, Logging tools/viewers, documentation browsers, more tips/tricks