#snippet — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #snippet, aggregated by home.social.
-
Look at what I made... I made.. a Kate snippet... but not just any Kate snippet... it's a Kate snippet that can make a href links to selected text using clipboard content.... It took me 24 hours of work because there are literally zero tutorials nor documentation on this in Japanese... I have also made this accessible with a keyboard shortcut... so that I can make href links at will.... without typing
<a href="clipboardtext.html">selectedtext</a>every single time....
Snippet:${hrefwrap()}
Script Library:function hrefwrap() {return "<a href=\"" + editor.clipboardText() + "\">" + view.selectedText() + "</a>";}
#Kate #KDE #Snippet -
To search for Google API keys recursively in the current folder and its sub-folders with ripgrep:
rg 'AIza[0-9A-Za-z\-_]{35}' -o
Also shared on Shodan Snippets:
https://snippets.shodan.io/c/FHw2r7wWIFmjVAfG
#Security #OneLiner #Google #GoogleAPIKeys #APIkeys #ripgrep #Regex #BugBounty #Snippet
-
To search for Google API keys recursively in the current folder and its sub-folders with ripgrep:
rg 'AIza[0-9A-Za-z\-_]{35}' -o
Also shared on Shodan Snippets:
https://snippets.shodan.io/c/FHw2r7wWIFmjVAfG
#Security #OneLiner #Google #GoogleAPIKeys #APIkeys #ripgrep #Regex #BugBounty #Snippet
-
To search for Google API keys recursively in the current folder and its sub-folders with ripgrep:
rg 'AIza[0-9A-Za-z\-_]{35}' -o
Also shared on Shodan Snippets:
https://snippets.shodan.io/c/FHw2r7wWIFmjVAfG
#Security #OneLiner #Google #GoogleAPIKeys #APIkeys #ripgrep #Regex #BugBounty #Snippet
-
Show HN: I'm tired of sharing code using PasteBin and Slack, so I made this
https://turbogist.dev
#ycombinator #real_time #code #snippet #gist #sharing #turbogist #turbo -
Darkling Sneak Peek!
#Darkling #SneakPeek #Writing #MyWriting #OriginalWriting #WritingCommunity #Writeblr #WriteblrCommunity #AriWrites #AristaWrites #DarklingSpoilers #Nano #Nano2023 #Nanowrimo #Nanowrimo2023 #NationalNovelWritingMonth #NationalNovelWritingMonth2023 #LizzyHail #AndricRoche #Fey #Fae #Vampires #Kavians #Vampire #Snippet #OriginalWriting #OriginalCharacter
-
#December 29, 1894
#OTD Christina Georgina Rossetti, #English #Poet, died.She wrote #Romantic, #Devotional, & #Children's #Poems, including this #Snippet:
If #Stars dropped out of #Heaven,
& if #Flowers took their #Place,
The #Sky would still look very #Fair,
And fair would #Shine #Earth's face.Winged #Angels might fly down to us
To #Pluck the little stars,
But we could only #Long for flowers
Beyond the #Cloudy bars. -
#December 29, 1894
#OTD Christina Georgina Rossetti, #English #Poet, died.She wrote #Romantic, #Devotional, & #Children's #Poems, including this #Snippet:
If #Stars dropped out of #Heaven,
& if #Flowers took their #Place,
The #Sky would still look very #Fair,
And fair would #Shine #Earth's face.Winged #Angels might fly down to us
To #Pluck the little stars,
But we could only #Long for flowers
Beyond the #Cloudy bars. -
#December 29, 1894
#OTD Christina Georgina Rossetti, #English #Poet, died.She wrote #Romantic, #Devotional, & #Children's #Poems, including this #Snippet:
If #Stars dropped out of #Heaven,
& if #Flowers took their #Place,
The #Sky would still look very #Fair,
And fair would #Shine #Earth's face.Winged #Angels might fly down to us
To #Pluck the little stars,
But we could only #Long for flowers
Beyond the #Cloudy bars. -
#December 29, 1894
#OTD Christina Georgina Rossetti, #English #Poet, died.She wrote #Romantic, #Devotional, & #Children's #Poems, including this #Snippet:
If #Stars dropped out of #Heaven,
& if #Flowers took their #Place,
The #Sky would still look very #Fair,
And fair would #Shine #Earth's face.Winged #Angels might fly down to us
To #Pluck the little stars,
But we could only #Long for flowers
Beyond the #Cloudy bars. -
#December 29, 1894
#OTD Christina Georgina Rossetti, #English #Poet, died.She wrote #Romantic, #Devotional, & #Children's #Poems, including this #Snippet:
If #Stars dropped out of #Heaven,
& if #Flowers took their #Place,
The #Sky would still look very #Fair,
And fair would #Shine #Earth's face.Winged #Angels might fly down to us
To #Pluck the little stars,
But we could only #Long for flowers
Beyond the #Cloudy bars.