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
| SELECT * FROM `table` WHERE shop_name = 'shopname' AND `table`.`is_delete` = 0 ORDER BY `table`.`id` LIMIT 10 | |
| SELECT * FROM `table` WHERE shop_name = 'shopname' AND `table`.`id` > 11087349 AND `table`.`is_delete` = 0 ORDER BY `table`.`id` LIMIT 10 | |
| SELECT * FROM `table` WHERE shop_name = 'shopname' AND `table`.`id` > 11087359 AND `table`.`is_delete` = 0 ORDER BY `table`.`id` LIMIT 10 |
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
| mkdir ~/tmp-bin && export PATH=$PATH:~/tmp-bin && echo "#!/bin/sh" > ~/tmp-bin/xdg-open && chmod +x ~/tmp-bin/xdg-open |
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 React, { useRef, useEffect, useState } from 'react'; | |
| // useScrollValue 钩子 | |
| function useScrollValue() { | |
| const [scrollY, setScrollY] = useState(window.scrollY); | |
| useEffect(() => { | |
| const handleScroll = () => { | |
| window.requestAnimationFrame(() => setScrollY(window.scrollY)); | |
| }; |
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
| { | |
| "name": "Ace-TM Theme", | |
| "type": "dark", | |
| "colors": { | |
| "editor.background": "#352e3c", | |
| "editor.foreground": "#d6dbd8", | |
| "editorGutter.background": "#352e3c", | |
| "editorGutter.foreground": "#7d817f", | |
| "editorCursor.foreground": "#eee", | |
| "editor.lineHighlightBackground": "rgba(0, 0, 0, 0.07)", |
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
| SELECT | |
| * | |
| FROM | |
| people | |
| WHERE | |
| ( | |
| (first_name > 'Aaron') -- Names after Aaron | |
| OR | |
| (first_name = 'Aaron' AND id > 25995) -- Aarons, but after the last id that the user saw | |
| ) |
OlderNewer