[SQL] SELECT i.*, u.name AS author_name, u.username AS author_username, u.avatar_url AS author_avatar FROM d_idea i left JOIN d_user u ON u.id = i.user_id WHERE i.id = ? AND i.is_draft = 0 | Params: [2580] [SQL] SELECT * FROM d_block WHERE idea_id = ? ORDER BY position ASC, id ASC | Params: [2580] [SQL] SELECT * FROM d_topic WHERE slug IN (?,?,?,?) ORDER BY name | Params: ["Personal Development","Health","Habits","Problem Solving"] [SQL] SELECT i.*, u.name AS author_name, u.username AS author_username, u.avatar_url AS author_avatar FROM d_idea i left JOIN d_user u ON u.id = i.user_id WHERE i.is_draft = 0 AND i.id != ? AND i.hashtags LIKE CONCAT('%', ?, '%') ORDER BY i.total_reads DESC LIMIT ? | Params: [2580,"Personal Development",3] [SQL] SELECT * FROM d_user WHERE id = ? | Params: [0] [SQL] UPDATE d_idea SET total_reads = total_reads + 1 WHERE id = ? | Params: [2580]
Curated from:
zenhabits.net
Ideas, facts & insights covering these topics:
10 ideas · 249.1K reads
Start by becoming more aware of your negative self-talk: do a little tally sheet throughout the day, marking a tally each time you notice a negative thought. Soon you’ll recognize them, and you can squash them.
How exercise is improving your life:
This is the most powerful way of achieving your goals.
When you try to take on many goals at once, you’re spreading thin your focus and energy — the two critical components for achieving a goal.
The essential relates to the things that are most important to you from your life.
Find them and then eliminate everything else. This simplifies things and leaves you with the space to focus on the essential.
The best routines come at the start and end of the day because they give a great start and finish to your day.
Develop a routine for when you awake, for when you start working, for when you finish and leave work, and for your evening.