Skip to content

Instantly share code, notes, and snippets.

View zealmurapa's full-sized avatar

Zeal Murapa zealmurapa

View GitHub Profile
@dedlim
dedlim / claude_3.5_sonnet_artifacts.xml
Last active June 6, 2025 20:15
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
Action Description
about Inkscape version, authors, license
action-list Print a list of actions and exit
clone Create a clone (a copy linked to the original) of selected object
clone-link Relink the selected clones to the object currently on the clipboard
clone-link-lpe Creates a new path, applies the Clone original LPE, and refers it to the selected path
clone-unlink Cut the selected clones' links to the originals, turning them into standalone objects
clone-unlink-recursively Unlink all clones in the selection, even if they are in groups.
com.inkscape.generate.generate-voronoi Voronoi Pattern
@wyllie
wyllie / awsLayer.yml
Last active December 5, 2024 07:16
GitHub Actions workflow to deploy code to AWS Lambda Layers
# This workflow will install dependencies and create a build suitable
# to be used in an AWS Lambda Layer. The build will then be uploaded
# to S3 and then can be accessed from any lambda that uses the layer.
#
# This build is only for dev builds. Releases will be built from a
# seperate action.
#
# A new version of the layer will be created for every branch when a
# pull request is intitiated. This allows us to test the layer in a
# dev environment on AWS BEFORE the code is merged into master.
@bradtraversy
bradtraversy / docker-help.md
Last active June 3, 2025 21:01
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@westc
westc / fiscalQuarter.js
Created May 31, 2018 03:25
Calculate the fiscal year and fiscal quarter easily in JavaScript. Definitions can be reduced to one liners.
function fiscalQuarter(date, opt_monthStart /* default: 9 (October) */) {
opt_monthStart = opt_monthStart == undefined ? 9 : opt_monthStart;
var month = date.getMonth(),
monthIndex = ((month - opt_monthStart) + 12) % 12;
return ~~(monthIndex / 3) + 1;
}
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active June 13, 2025 09:23
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.