Skip to content

Instantly share code, notes, and snippets.

View Sticksword's full-sized avatar
🎯
Focusing

Michael Chen Sticksword

🎯
Focusing
View GitHub Profile
@Sticksword
Sticksword / Jenkinsfile
Created February 18, 2020 06:35 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@Sticksword
Sticksword / data-action.js
Created December 4, 2018 02:01 — forked from qborreda/data-action.js
JavaScript event hooking with data-action
// Set up HTML hooks without id or extra classes
<button data-action="openLogin">Login</button>
<a href="javascript:;" data-action="openEditor">Link</a>
// Using [data-action=""] selectors instead of class selectors when binding events in JavaScript
var actions = {
openLogin: openLoginWindow,
openEditor: function() { ... }
//....
};

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style