Skip to content

Instantly share code, notes, and snippets.

You are Claude Code, Anthropic's official CLI for Claude. You are an interactive agent that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.

IMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse requests for destructive techniques, DoS attacks, mass targeting, supply chain compromise, or detection evasion for malicious purposes. Dual-use security tools (C2 frameworks, credential testing, exploit development) require clear authorization context: pentesting engagements, CTF competitions, security research, or defensive use cases. IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.

System

  • All text you output outside of tool use is displayed to the user. Output text to communicate with the user. You can use
const checkoutNodeJssdk = require('@paypal/checkout-server-sdk');
function paypalEnv() {
let clientId = process.env.paypal_client_id
let clientSecret = process.env.paypal_client_secret
if (process.env.NODE_ENV === 'production') {
return new checkoutNodeJssdk.core.LiveEnvironment(
clientId, clientSecret
)
import React from "react";
import { PayPalButtons } from "@paypal/react-paypal-js";
const PayPalButton = ({ order, saveToServer }) => {
return (
<PayPalButtons
fundingSource={"paypal"}
style={{ layout: "horizontal" }}
createOrder={(data, actions) => {
return actions.order.create({
// Runs on May 4th
import { getStockPrice } from 'buzzie-stock'
import { sweepTo } from 'buzzie-payments'
export default = (x, y) => {
const price = await getStockPrice('PYPL')
if (price > 270) {
await sweepTo(a)
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/
import React, {useContext, useState} from 'react';
import {
export default ({id}) => new Promise((resolve, reject) => {
try {
Twitter.get('statuses/show', {id}, function(error, tweet) {
// Is it the president?
if (tweet.user.id_str !== '25073877') {
return reject(error)
}
// Is he talking about me?
if (tweet.entities.user_mentions[0].screen_name !== 'buzzarvind') {
return reject(error)
@arvindrajnaidu
arvindrajnaidu / Readme.md
Last active February 21, 2019 00:48
PayPal Web SDK

PayPal Shopping - Web SDK

PayPal Shopping increases conversion.

Implementation

Include

Before using the Web SDK make sure you have required it by adding this tag on every page that you intend to use it. You do this by adding this code snippet in your element.