Skip to content

Instantly share code, notes, and snippets.

@zhouxiaozhen-github
zhouxiaozhen-github / jQuery - css() 方法.md
Created April 17, 2019 06:55
[jQuery - css() 方法]#jQuery

jQuery css() 方法

css() 方法设置或返回被选元素的一个或多个样式属性。


返回 CSS 属性

如需返回指定的 CSS 属性的值,请使用如下语法:

@zhouxiaozhen-github
zhouxiaozhen-github / HOWTO.md
Last active April 17, 2019 06:51 — forked from ivanvermeyen/HOWTO.md
Multiple MySQL versions on MacOS with Homebrew

Multiple MySQL versions on MacOS with Homebrew

At the time of writing (december 2018), there aren’t any up-to-date and easy to apply guides on how to switch between different MySQL version on a Mac using Homebrew . Or at least, I didn’t find any.

So I picked up a few things here and there and finally managed to connect all the pieces of the puzzle. I hope this guide can help you and the future me. If anyone knows of a better way to accomplish this, I do hope they will share their insight :)

The basic idea here is that you need to install all MySQL versions one at a time and assign each its own data directory.

I am using Homebrew 1.8.5. (brew -v)