Overwrite CMD S / CTRL S in Javascript
Simple way to create keyboard shortcuts in Javascript without any libraries.
Simple way to create keyboard shortcuts in Javascript without any libraries.
I have often read about Conway's Law. But never really understood it at practical level. This post by Jacob explains it well. It also provides a good framework on how to structure teams.
The guiding principle here is that Conway’s Law is inescapable – you ship your org chart. And, wherever possible, you should optimize for delivery. In other words: design your organization to match what you want to ship.
...
Generally, product-aligned teams deliver better products more rapidly. Again, Conway’s Law is inescapable; if delivering a new feature requires several teams to coordinate, you’ll struggle compared …
class SnapshotChanged(Exception): pass def compare_snapshot(html, save_path): existing = …
The RFC (request for comments) process uses a document written by someone about their proposal on a topic. It has a specific timeframe and everyone can give feedback on it. The RFC and feedbacks are posted publicly. Everyone can join the discussion. The goal is to include as many people as possible to access more points of view and spread the knowledge simultaneously. The good thing is that people focus on the proposed idea and give their feedback based on facts instead of only beliefs. On the other hand, it has a way bigger effect.
...
The RFCs …
Wow, this is an interesting idea. I would do this if I had to start from grounds-up again.
This is great way to actually launch the ideas we have. It also increases our chances to find a thing that ticks.
Good snippet to control what formatting is retained in a rich text editor on pasting data.
We have been wanting to create a rich-text editor where we can control the tags and attributes that are permitted.
Tags added in a rich text editor (through contenteditable) in multiple ways:
- On pasting some rich text
- Keyboard shortcuts such as ctrl b, ctrl i
- Our own commands executed through document.execCommand
We can use a similar technique of tag replacement by tying the clean-up to oninput event.
This is a pretty exciting list of board games. It has one of my favorite games, Decrypto.
Will go through rest of them too.
Update
I liked Magic Maze from this list. This is also available in print-and-play.