This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| do ($=jQuery) -> | |
| $.fn.pin = (target) -> | |
| $target = if target | |
| if typeof target == "function" | |
| target.apply @ | |
| else | |
| $(target) | |
| else | |
| $(@).parent() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 让QuickLook中的文字可以选取-开启和关闭 | |
| defaults write com.apple.finder QLEnableTextSelection -bool TRUE;killall Finder | |
| defaults delete com.apple.finder QLEnableTextSelection;killall Finder | |
| # 强制mac字体渲染(非Apple家显示器有效)-设定/删除和查看 | |
| defaults -currentHost write -g AppleFontSmoothing -int 3 # 1-3档 轻-重 | |
| defaults -currentHost delete -g AppleFontSmoothing | |
| defaults -currentHost read -g AppleFontSmoothing | |
| # 隐藏的app在dock上虚化以区分-开启和关闭 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a:link, a:visited, a:active { | |
| color: #8e8d93; | |
| -webkit-transition: all .15s; | |
| -moz-transition: all .15s; | |
| -ms-transition: all .15s; | |
| -o-transition: all .15s; | |
| transition: all .15s; | |
| } | |
| a.top:link, a.top:visited, a.top:active { | |
| color: #000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client" | |
| import * as React from "react" | |
| import * as SelectPrimitive from "@radix-ui/react-select" | |
| import { Check, ChevronDown, ChevronUp } from "lucide-react" | |
| import { cn } from "@/lib/utils" | |
| const SelectContext = React.createContext<{ setOpen: (open: boolean) => void }>({ | |
| setOpen: () => {}, |
OlderNewer