Skip to content

Instantly share code, notes, and snippets.

View saravanapriyanm's full-sized avatar
🐞
Bugs... Bugs everywhere.

Saravanapriyan saravanapriyanm

🐞
Bugs... Bugs everywhere.
View GitHub Profile
@saravanapriyanm
saravanapriyanm / torr.rss
Last active May 20, 2025 17:55
test-rss
<rss xmlns:tv="https://showrss.info" version="2.0">
<channel>
<title>showRSS feed: Rick and Morty</title>
<link>https://showrss.info</link>
<ttl>30</ttl>
<description>showRSS show feed for Rick and Morty</description>
<item>
<title>Rick and Morty 5x02 1080p</title>
<link>magnet:?xt=urn:btih:B7347035CE7C9EC9393BFE6277C8F5B7130A7249&dn=Rick+and+Morty+S05E02+Mortyplicity+1080p+AMZN+WEB+DL+DDP5+1+H+264+NTb&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2F9.rarbg.me%3A2960&tr=udp%3A%2F%2F9.rarbg.to%3A2980</link>
<guid isPermaLink="false">a734bbc263937c5d4187761822ebf111f00a8246</guid>
@saravanapriyanm
saravanapriyanm / PhotoOrganizer.ps1
Last active January 19, 2025 07:50 — forked from jongio/PhotoOrganizer.ps1
A PowerShell script to organize photos by date taken
Param(
[string]$source,
[string]$dest,
[string]$format = "yyyy\/MM-MMM"
)
$shell = New-Object -ComObject Shell.Application
function Get-File-Date {
[CmdletBinding()]
@saravanapriyanm
saravanapriyanm / embedded-file-viewer.md
Created February 20, 2024 16:15 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links

$match: { $expr: {$eq: [{$week: "$Document.data.DATE"}, 27]} }

@saravanapriyanm
saravanapriyanm / git-workflow.md
Created November 24, 2022 05:41
GIT Workflow

Git Workflow

Commit Title Prefixes ➕

For bug fixes

fix: <bug fix description>

For new features

const breadcrumbs = [{
filterKey: 'Base',
filterValue: 'Base',
nextKey: 'Region'
}];
function addLevel({ nextKey, filterKey, filterValue }) {
const existing = breadcrumbs.find((breadcrumb) => breadcrumb.filterKey === filterKey);
if (existing) {
existing.filterValue = filterValue;
@saravanapriyanm
saravanapriyanm / angular-commands.md
Last active October 27, 2022 09:16
Angular CLI commands

#Angular CLI commands

Lazy loading module with routing and 1 component

ng generate module customers --route customers --module app.module
@saravanapriyanm
saravanapriyanm / tamil-validation.ts
Last active October 18, 2022 06:04
Validation Regex
/^[\u0b80-\u0bff]+$/.test("யாத்திராகமம்");
@saravanapriyanm
saravanapriyanm / console
Created February 15, 2022 08:56
gisto:15/02/2022: console
console.log()
@saravanapriyanm
saravanapriyanm / promise-observable-return-true.js
Created February 15, 2022 05:10
Promise and Observable dev mock response
// Promise
return new Promise((resolve, reject) => {
resolve(true);
});
// RxJs Observable
return new Observable(subscriber => {
subscriber.next(true);
subscriber.complete();
});