Tuan Anh

container nerd. k8s || GTFO

Link Post in Jekyll

Link post is nothing but the post’s title linking to another url instead of the post url.

You need to specify where it points to. I use link here but you can just use any name you feel like using.

And then in post.html layout and index.html homepage. You just need to check if link is set; change the title’s href to the link variable of the post. You may need to change page variable to post when looping inside your index.html homepage.


Nginx Plus

I myself would love to see nginxorg to go into another direction, like CloudFlare is currently doing, taking advantages of their expertise in serving http and stuff. That way, Nginx Plus will be more of an addon service, a complement to nginxorg instead of an alternative.

On the other hand, I’m always tempted at checking out tengine for its dynamic module loading support. I now have one more reason to do so.

link bài gốc

Shiori - A Pinboard & Delicious Client for OS X

Goodbye Delibar.

Shiori was developed by Akhiro Noguchi - the developer of YoruFukurou.

link bài gốc

Korean Buses Now Wirelessly Charge as They Drive

specially adapted roads with electrical cables lying just underneath the surface to magnetically transfer power to Online Electric Vehicle

Imagine a future where you never have to manually charge your phone. Awesome!

link bài gốc

Magic

We demand magic — a retina iPad Mini with no decrease in battery life, but no increase in thickness, weight, or price. And they need to produce at least 20 million of them by Christmas.

But … but … it’s Apple.

link bài gốc

Z-Type

Because all the cool kids are playing Z-Type. You know!

link bài gốc

How Koreans Solve Their Parking Issue and Saving Oil

Brilliant idea: using balloon as signal for available parking slot.

link bài gốc

How To Fake Database Design

In short:

  • Every “noun” gets its own table.

  • “many to many” relationship get their own tables

  • “one to many” relationship require the table that “owns” another table have its id in that other table

  • Any time a table has an id that refers to a row in another table, use a foreign key constraint to make sure that id really exists

Doing this would probably results in many tables but it would help ensuring the 3NF(every non-key attrib must provide a fact about key, the whole key and nothing but the key) quite easily and go further for 4NF and 5NF - the ultimate, super-uber normal form (Jeez who need 5NF!?).

If you want an easy, effortless and good enough design, go for this.

link bài gốc

homebrew-cask

brew-cask provides a friendly homebrew-style CLI workflow for the administration of Mac applications distributed as binaries.

It’s homebrew for GUI apps.

Apps via homebrew-cask get installed into /opt/homebrew-cask/Caskroom/ and symlinked to /Applications/ so it works just like any other apps.

To use this

$ brew tap phinze/homebrew-cask
$ brew install brew-cask
$ brew cask install google-chrome
link bài gốc

Daring Fireball User Custom Style

It looks much better this way.

link bài gốc