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
➜ parabol git:(fix/browserslist-update-db) ✗ yrm test | |
npm ---- Fetch Error | |
cnpm --- Fetch Error | |
* taobao - 1523ms | |
nj ----- Fetch Error | |
rednpm - 2979ms | |
npmMirror Fetch Error | |
edunpm - 6392ms | |
yarn --- Fetch Error |
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
.roam-block-container[data-page-links*=".rm-grid"] .rm-block-children { | |
display: grid; | |
margin-left: 0px; | |
grid-template-columns: repeat( auto-fit, minmax(150px, 1fr) ); | |
max-width: 550px; | |
} |
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
@import url('https://rcvd.github.io/roam-css-system/themes/craft_dark.css'); | |
/* 卡片盒样式 */ | |
.rm-embed--page .rm-page__title { | |
font-size: 1.06rem; | |
padding-bottom: 6px; | |
} | |
.rm-embed.rm-embed--page.rm-embed-container { |
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
- General Sudoku [[九宫格]] | |
- [学习课题 + 应用场景 + 截止日期] #.jiugong | |
- {{[[kanban]]}} | |
- ↖ | |
- | |
- | |
- | |
- ↑ | |
- | |
- |
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
- #SmartBlock Day of week 判断星期几 | |
- <%DATEBASIS:DNP%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:1%><%SET:day1,㊀%><%SET:day2,㊁%><%SET:day3,㊂%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:2%><%SET:day1,㊁%><%SET:day2,㊂%><%SET:day3,㊃%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:3%><%SET:day1,㊂%><%SET:day2,㊃%><%SET:day3,㊄%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:4%><%SET:day1,㊃%><%SET:day2,㊄%><%SET:day3,㊅%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:5%><%SET:day1,㊄%><%SET:day2,㊅%><%SET:day3,㊐%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:6%><%SET:day1,㊅%><%SET:day2,㊐%><%SET:day3,㊀%><%NOBLOCKOUTPUT%> | |
- <%IFDAYOFWEEK:7%><%SET:day1,㊐%><%SET:day2,㊀%><%SET:day3,㊁%><%NOBLOCKOUTPUT%> | |
- <%GET:day1%>上午🌞 |
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
- #SmartBlock Mandala Diary | |
- <%SET:startDay,<%INPUT:What's the start day?%%<%DATE:monday%>%>%><%NOBLOCKOUTPUT%> | |
- <%DATEBASIS:<%GET:startDay%>%><%NOBLOCKOUTPUT%> | |
- <%DATE:<%GET:startDay%>,yyyy%>W<%DATE:<%GET:startDay%>,ww%> #.jiugong #.title | |
- {{[[kanban]]}} | |
- ↖ <%DATE:today%> | |
- | |
- | |
- | |
- ↑ <%DATE:in 1 day%> |
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
set refURL to "https://roamresearch.com?title=&url=[$encoded_title]($user_link)#/quick-capture" | |
tell application "Safari" to set the URL of the front document to refURL | |
tell application "Safari" | |
activate | |
end tell | |
get "hook://link-to-new-callback" |
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
.roam-body .roam-app .roam-main .roam-article { | |
padding-top: 0; | |
} | |
.roam-article [style="width: 100%;"], .rm-sidebar-outline [style="width: 100%;"], .roam-log-page .rm-title-display { | |
background-image: url(https://unsplash.it/1600/900?random); | |
background-size: cover; | |
height: 30vh; | |
margin-bottom: 10px; | |
position: relative; |
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
/* vertical style of sidebar in custom.css */ | |
.sidebar-item.content { | |
min-width: 33vw; | |
overflow-y: scroll; | |
} | |
.sidebar-item-list.scrollbar-spacing { | |
display: flex; | |
flex-direction: row; | |
padding-bottom: 0; |
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
function FriendStatus(props) { | |
// ... | |
useEffect(() => { | |
// ... | |
ChatAPI.subscribeToFriendStatus(props.friend.id, handleStatusChange); | |
return () => { | |
ChatAPI.unsubscribeFromFriendStatus(props.friend.id, handleStatusChange); | |
}; | |
}); |