Skip to content

Instantly share code, notes, and snippets.

@MervinPraison
MervinPraison / claude_3.5_sonnet_artifacts.xml
Created July 10, 2024 12:00 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
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
@MervinPraison
MervinPraison / MidiCodeFrequencies.plist
Created February 4, 2022 11:12 — forked from mjaSanJose/MidiCodeFrequencies.plist
Find Guitar notes using an Iterator
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>MidiCode</key>
<array>
<integer>21</integer>
<integer>22</integer>
<integer>23</integer>
<integer>24</integer>
@MervinPraison
MervinPraison / gist:dcd5f640069f0cc8423c3385f2f5ba3e
Created January 21, 2022 22:17 — forked from aaronshaf/gist:7461620
Mounce Concise Greek-English Dictionary of the New Testament (released with attribution by permission)
Mounce Concise Greek-English Dictionary
of the
New Testament
edited by William D. Mounce
with Rick D. Bennett, Jr.
Introduction
This dictionary includes all the Greek words that occur in the standard Greek New Testament, and is organized in alphabetic Greek order. The first line of each entry includes the G/K and Strong’s number. Strong’s numbers followed by a lowercase letter (a, b, etc.) represent forms not included in the original Strong’s system that were modified to conform to modern editions of the Greek New Testament. This same system is employed in the various Key Number tagged texts in Accordance such as the ESV, NRSV, HCSB, and NKJV. Following this are the Greek word, its transliteration, and its frequency count is also included with a hyperlink to this form in the Greek New Testament in Accordance. On the second line are the English definition, and for all words occuring 10x or less, each Scripture reference is included. The third line includes a series of Word Study Hyperlinks which search the
@MervinPraison
MervinPraison / README.md
Created September 28, 2021 07:55 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@MervinPraison
MervinPraison / .dockerignore
Created January 29, 2021 00:31 — forked from ekandreas/.dockerignore
Dockerize Roots Bedrock WP w ES
vendor
dist
web/app/mu-plugins/*/
!web/app/mu-plugins/bedrock-autoloader.php
!web/app/mu-plugins/disallow-indexing.php
!web/app/mu-plugins/register-theme-directory.php
web/app/plugins/*/
web/wp
web/app/db.php
@MervinPraison
MervinPraison / .dockerignore
Created January 29, 2021 00:28 — forked from ekandreas/.dockerignore
Dockerize your WordPress Bedrock
*
!docker.conf
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MervinPraison
MervinPraison / AIA003_tf_estimators.ipynb
Created June 20, 2019 10:44 — forked from yufengg/AIA003_tf_estimators.ipynb
Jupyter notebook for AI Adventures episode 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@MervinPraison
MervinPraison / WordPress Custom Global Variables.md
Created July 18, 2018 10:17 — forked from aahan/WordPress Custom Global Variables.md
Creating and using custom global variables in wordpress.

First create global variables (in functions.php or as a mu-plugin):

<?php

/*
 * CUSTOM GLOBAL VARIABLES
 */
function wtnerd_global_vars() {
@MervinPraison
MervinPraison / custom-post-taxonomy-permalinks.php
Created June 30, 2018 06:28 — forked from kasparsd/custom-post-taxonomy-permalinks.php
Create permalink structure URLs for custom post types that include all parent terms from a custom taxonomy
<?php
/*
Term Archive Pages:
- http://example.com/recipes/dinner/
- http://example.com/recipes/breakfast,brunch/
Single Recipe Pages:
- http://example.com/recipes/dinner/soup-title/