Skip to content

Commit f06b7b0

Browse files
committed
feat: update another-test-markdown.md
1 parent ad541c4 commit f06b7b0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

_posts/2016-01-01-another-test-markdown.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,19 @@ void insert(const char* key) {
103103
p ":+1:"
104104
```
105105

106+
``` diff
107+
+ 'user_exists' => 'SELECT EXISTS(SELECT 1 FROM table WHERE username = (:username || \'@sample'))',
108+
+ 'get_users' => 'SELECT split_part(username, \'@\', 1) FROM table WHERE (username ILIKE :search) OR (name ILIKE :search)',
109+
+ 'get_password_hash_for_user' => 'SELECT split_part(password, \'{CRYPT}\', 2) FROM table WHERE username = (:username || \'@sample\')',
110+
+ 'set_password_hash_for_user' => 'UPDATE table SET password = \'{CRYPT}\' || :new_password_hash WHERE username = (:username || \'@sample\')',
111+
```
112+
113+
Reload the Nginx:
114+
115+
``` console
116+
$ sudo nginx -s reload
117+
```
118+
106119
|: |: :|: $$O_3 + C_2H_2 \rightarrow $$ :|||: $$O_3 + C_2H_4 \rightarrow $$ :|||: :|
107120
|: ^^ Method :| ^^ $$\lambda^a$$ | vdW | TS | cycloadd. | vdW | TS | cycloadd. | ^^ MAE |
108121
|-------------------------|-------------------|--------|-------|------------------------|-------|------|----------------------|-----------|

0 commit comments

Comments
 (0)