Skip to content

Instantly share code, notes, and snippets.

View kielmarj's full-sized avatar

Jess kielmarj

View GitHub Profile

VS Code snippet basics

Excerpts from the VS Code Docs

Tab Stops

Tab stops are specified by a dollar sign and an ordinal number e.g. $1 . $1 will be the first location, $2 will the second location, and so on. $0 is the final cursor position, which exits the snippet mode. For example, let's say we want to make an HTML div snippet and we want the first tab stop to be between the opening and closing tags. We also want to allow the user to tab outside of the tags to finish the snippet.

{
@kielmarj
kielmarj / Free-resources.md
Last active November 11, 2024 17:59
Personal collection of links to free programming resources/reference (edited frequently)
@kielmarj
kielmarj / python-syntax-examples.md
Last active October 21, 2024 13:23
basic python syntax examples

From the Python wiki

Python syntax: Examples

print('Hello world!')

String formatting

id name email age country
1 John Doe [email protected] 28 USA
2 Jane Smith [email protected] 34 UK
3 Mike Johnson [email protected] 45 Canada
4 Emily Davis [email protected] 29 Australia
5 William Brown [email protected] 39 Germany
6 Isabella Taylor [email protected] 31 France
7 Liam White [email protected] 50 USA
8 Olivia Black [email protected] 23 Italy
9 Noah Green [email protected] 44 Spain
@kielmarj
kielmarj / character-entities.md
Last active November 11, 2024 11:04
Quick reference chart for displaying special characters in html/markdown.

HTML Character Entities

Quick reference chart for displaying special characters in html/markdown.

Entity Rendered Character Description
    Non-breaking space
© © Copyright
® ® Registered trademark
Trademark
@kielmarj
kielmarj / github-stars.sh
Last active December 22, 2024 01:39
list starred GitHub repos
#!/usr/bin/env bash
# Bash script to fetch starred GitHub repositories
# Prints total number of stars followed by the date/time the
# repo was starred and the name/description of each starred
# repository for the given GitHub username, beginning with the
# most recent.
# Replace GITHUBUSERNAME with your username
USER=${1:-GITHUBUSERNAME}
Fare you well, my honey
Fare you well, my only true one
All the birds that were singing
Are flown, except you alone
Gonna leave this brokedown palace
On my hands and my knees, I will roll, roll, roll
Make myself a bed by the waterside
In my time, in my time, I will roll, roll, roll
/** cobalt theme styling for embedded gists
* https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets%2Fcobalt.css
*/
body .gist .highlight {
background: #002240;
}
body .gist .blob-num,
body .gist .blob-code-inner,
body .gist .pl-en {
@kielmarj
kielmarj / googleFonts.md
Last active January 5, 2025 02:54
Some of my favorite Google fonts, saved here for easy reference.

Google Fonts

Some of my favorite Google fonts, saved here for easy reference.

Sixtyfour
Poppins

Sixtyfour