New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency Dashboard #6533
Comments
1 || @$array['participants'][0] != $array['title']) echo "Participants: ".implode(', ', $array['participants'])."\n"; if (sizeof($array['participants'])>1 || !$array['is_still_participant']) echo "Is still participant: " . ($array['is_still_participant']?'yes':'no') . "\n"; echo "Thread type: ${array['thread_type']}\n"; echo "\n"; echo "Total messages: " . intformat(sizeof($array['messages'])) . "\n"; echo "\n== Details ==\n"; $messages_count_by_type = []; $messages_count_by_sender = []; $lowest_timestamp = PHP_INT_MAX; $highest_timestamp = 0; foreach ($array['messages'] as &$message) { @$messages_count_by_type[$message['type']]++; @$messages_count_by_sender[$message['sender_name']]++; @$words_by_sender[$message['sender_name']] += str_word_count($message['content']); if ($message['timestamp'] < $lowest_timestamp) $lowest_timestamp = $message['timestamp']; if ($message['timestamp'] > $highest_timestamp) $highest_timestamp = $message['timestamp']; } echo "\nMessage types:\n"; foreach ($messages_count_by_type as $type => $count) { $count = intformat($count); echo "- $type => $count\n"; } echo "\nMessages by sender:\n"; foreach ($messages_count_by_sender as $sender => $count) { $count = intformat($count); echo "- $sender => $count\n"; } echo "\nWords by sender:\n"; foreach ($words_by_sender as $sender => $count) { $count = intformat($count); echo "- $sender => $count\n"; } echo "\nMessages data range:\n"; echo "oldest: " . date('Y-m-d H:i:s', $lowest_timestamp) . "\n"; echo "newest: " . date('Y-m-d H:i:s', $highest_timestamp) . "\n"; passthru('pause'); exit; } else { echo "Invalid JSON file contents: $filename\nMake sure you have provided correct \"message.json\" file from Facebook data export.\n\n"; passthru('pause'); exit; } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Awaiting Schedule
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@sentry/node
,@types/node
,aws-sdk
)@sentry/browser
,@types/jquery
,@types/lodash
,@types/prismjs
)Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
,@typescript-eslint/parser
,eslint
)@stripe/stripe-js
,@typescript-eslint/eslint-plugin
,@typescript-eslint/parser
,capture-website
,eslint
,littlefoot
,markdown-it-abbr
,markdown-it-footnote
,npm-run-all2
)Detected dependencies
composer
dockerfile
github-actions
npm
The text was updated successfully, but these errors were encountered: