Slide 1

Slide 1 text

Power up your development experience with Bash scripts @AbrahamMarin #CLL19 #ContinuousLifecycle

Slide 2

Slide 2 text

Content ● State of the art ● Why should you do this? ● Examples ● Some Common Gotchas ● Sharing Is Caring!

Slide 3

Slide 3 text

Who am I? @AbrahamMarin Developer, Consultant, Writer Software Plumber

Slide 4

Slide 4 text

Who am I?

Slide 5

Slide 5 text

Who am I?

Slide 6

Slide 6 text

State of the Art

Slide 7

Slide 7 text

State of the Art

Slide 8

Slide 8 text

State of the Art Cygwin PowerShell

Slide 9

Slide 9 text

Why Should You Do This?

Slide 10

Slide 10 text

Why Should You Do This? ● Commands that you can’t remember ● Simplify complex (and risky) tasks ● Consistency across projects ● Agglutinate tasks ● Run automated checks ● ...

Slide 11

Slide 11 text

Examples

Slide 12

Slide 12 text

Commands that you can’t remember Interactive Rebase?

Slide 13

Slide 13 text

Simplify complex (and risky) tasks Change multiple commit messages? https://stackoverflow.com/questions/14332551/ whats-the-fastest-way-to-edit-hundreds-of-git-co mmit-messages

Slide 14

Slide 14 text

Consistency across projects Run the build

Slide 15

Slide 15 text

Agglutinate tasks Contribute your changes - Get the latest from master - Run the build - Push your changes

Slide 16

Slide 16 text

Run automated checks Oh, I forgot that file...

Slide 17

Slide 17 text

Some Common Gotchas

Slide 18

Slide 18 text

Permissions Files need to be executable!

Slide 19

Slide 19 text

Path Where are those scripts again?

Slide 20

Slide 20 text

Cross-Platform Compatibility Homebrew is your friend

Slide 21

Slide 21 text

Sharing Is Caring!

Slide 22

Slide 22 text

github.com/quiram/bash-utils

Slide 23

Slide 23 text

Thank You United Kingdom +44 203 603 7830 [email protected] Equal Experts UK Ltd 30 Brock Street London NW1 3FG India +91 20 6607 7763 [email protected] Equal Experts India Private Ltd Office No. 4-C Cerebrum IT Park No. B3 Kumar City, Kalyani Nagar Pune, 411006 Canada +1 403 775 4861 [email protected] Equal Experts Devices Inc 205 - 279 Midpark way S.E. T2X 1M2 Calgary, Alberta Portugal +351 211 378 414 [email protected] Equal Experts Portugal Avenida Dom João II, Nº35 Edificio Infante 11ºA 1990-083 Parque das Nações Lisboa – Portugal Thank You USA +1 866-943-9737 [email protected] Equal Experts Inc 1460 Broadway New York NY 10036 LinkedIn linkedin.com/company/equal-experts Twitter @EqualExperts Web www.equalexperts.com