{"id":25839622,"url":"https://github.com/robbield/useful-scripts","last_synced_at":"2026-05-13T04:37:04.628Z","repository":{"id":74551646,"uuid":"465106700","full_name":"RobbieLD/useful-scripts","owner":"RobbieLD","description":"Useful Scripts","archived":false,"fork":false,"pushed_at":"2023-10-17T04:01:03.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-10-17T11:21:47.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobbieLD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-02T00:52:35.000Z","updated_at":"2022-05-11T02:41:51.000Z","dependencies_parsed_at":"2023-02-28T17:01:05.479Z","dependency_job_id":null,"html_url":"https://github.com/RobbieLD/useful-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbieLD%2Fuseful-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbieLD%2Fuseful-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbieLD%2Fuseful-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobbieLD%2Fuseful-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobbieLD","download_url":"https://codeload.github.com/RobbieLD/useful-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241317605,"owners_count":19943199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-01T04:33:43.179Z","updated_at":"2026-05-13T04:37:04.591Z","avatar_url":"https://github.com/RobbieLD.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Index of Scripts\nThis is a list and brief description of scripts which are contain useful examples of how to do common things in a variety of languages. \n\n## Node\n\n[parser-data.js](Node/parser-data.js) - Reads and writes large CSV files using pipes.\n\n[parser-headings.js](Node/parser-headings.js) - Reads large cvs files and creates unique list of values using pipes.\n\n[test-case-converter.js](Node/test-case-convert.js) - Parses CSV files and creates C# test case class using pipes.\n\n[extract-text-from-lines.js](Node/extract-text-from-lines.js) - Parses a file line by line and extracts values from each line based on a test. Uses node `readline` in an async self executing function.\n\n[log-analyser.js](Node/log-analyser.js) - Extracts information from a log file.\n\n## Powershell\n\n[Invoke-Coverage.ps1](Powershell/Invoke-Coverage.ps1) - Runs `dotnet test` with coverage using Coverlet.MSBuild or Coverlet.Collector and merges the results into a report using ReportGenerator.\n\n[New-PullRequest.ps1](Powershell/New-PullRequest.ps1) - Opens your browser to the new pull request page for the current checked out branch. Currently supports Azure DevOps and BitBucket.\n\n[New-Sln.ps1](Powershell/New-Sln.ps1) - Creates a new .sln file for the csproj projects in the current directory matching the directory structure with solution directories.\n\n[String-Split-Extractor.ps1](Powershell/String-Split-Extractor.ps1) - Example usage of using String-Split to find lines in a file and then piping that into String-Split again to use regex to extract values from the selected lines.\n\n[Photo-Import.ps1](Powershell/Photo-Import.ps1) - Copies photos from a memory card to a hard drive. Also creates a destination folder with the current date and optional name tag.\n\n[Upload-Strava-Activities.ps1](Powershell/Upload-Strava-Activities.ps1) - Performs the Strava OAuth flow and uploads activities from a garmin device.\n\n[Git-Log-Parse.ps1](Powershell/Git-Log-Parse.ps1) - Parses the git log for specific messages and outputs a mark down table derived from the git log.\n\n[Template-Replacer.ps1](Powershell/Template-Replacer.ps1) - Opens a template file and replaces the tokens from a variable dictionary.\n\n[Get-Pod-Logs.ps1](Powershell/Get-Pod-Logs.ps1) - Gets all the pod logs form a k8s cluster based on supplied parameters.\n\n## SQL\n\n[Current_Sessions.sql](SQL/Current_Sessions.sql) - Selects the sessions currently logged in to the database.\n\n[Max_By_Order](SQL/Max_By_Order.sql) - Selects records which have a max value of a grouping using a partition over clause.\n\n[Table_Size.sql](SQL/Table_Size.sql) - Returns the sizes of the tables in the database.\n\n[Users.sql](SQL/Users.sql) - Creates a login and user and grants it permissions for a table. Also includes scripts to remove user and login.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbield%2Fuseful-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbield%2Fuseful-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbield%2Fuseful-scripts/lists"}