Search for:
Examples (hovertap for more info):
term
, -term
, /r/subreddit
, -/r/subreddit
, site:example.com
, -site:example.com
, score:3
, before:2015-03-15
, after:2015-03-15
Sort by:
newest
oldest
top
It's a slow search... To stay in the know, Set an alert
"If you don't fail at least 90 percent of the time, you're not aiming high enough."- Alan Kay 1
/r/???, 2023-05-21, 20:40:26
Working software is the primary measure of progressagilemanifesto .org 1
/r/???, 2023-05-20, 20:40:28
Radix sort is an algorithm that sorts numbers by processing individual digits. 2
/r/???, 2023-05-17, 12:42:07
Check if there's a root-to-leaf path such that the sum of all the along the path equals a given sum.bool f(Node* r, int sum) {if(!r) return false;if(!r->left && !r->right && sum == r->val) return true;return f(r->left, sum - r->val) || f(r->right, sum - r->val);} 1
/r/???, 2023-05-17, 00:40:24
The execute permission bit for a directory is often called the search bit, because if you want to open a file by name, you need to have execute permission in each directory in the pathname, e.g. /home/usernameThis is different from read permission: list content of a directory 1
/r/???, 2023-05-16, 16:42:16
Spin locks- Thread synchronization mechanism- Similar to mutex- Instead of blocking by sleeping, the process is blocked by spinning (waits doing nothing) till it can acquire the lock- Should be held only for short, since the CPU can't do anything else while it's waiting 1
/r/???, 2023-05-15, 00:40:27
API examples
Posts:
Comments:
For more information, see the API Reference page.
curl "https://socialgrep.com/api/v1/search/posts?query=site%3Aself.yourcodingteacher" -H "Accept: application/json" -H "Authorization: Bearer YOUR_KEY"
Comments:
curl "https://socialgrep.com/api/v1/search/comments?query=site%3Aself.yourcodingteacher" -H "Accept: application/json" -H "Authorization: Bearer YOUR_KEY"
For more information, see the API Reference page.
API examples
Posts:
Comments:
For more information, see the API Reference page.
curl "https://socialgrep.com/api/v1/search/posts?query=site%3Aself.yourcodingteacher" -H "Accept: application/json" -H "Authorization: Bearer YOUR_KEY"
Comments:
curl "https://socialgrep.com/api/v1/search/comments?query=site%3Aself.yourcodingteacher" -H "Accept: application/json" -H "Authorization: Bearer YOUR_KEY"
For more information, see the API Reference page.