Skip to content

Instantly share code, notes, and snippets.

/* Browser Agent Styles */
.browser-agent-overlay {
position: fixed;
top: 0;
right: 0;
width: 300px;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
color: white;
{
"changeTheToFart": {
"name": "Change word to another word",
"execute": "const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT); let node; while (node = walker.nextNode()) { node.textContent = node.textContent.replace(new RegExp(`\\\\b${params.word}\\\\b`, 'gi'), params.replacement); }",
"params": { "word": "the", "replacement": "fart" }
},
"changeParagraphsToLoremIpsum": {
"name": "Change <p> text to Lorem Ipsum",
"execute": "const loremIpsum = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'; const paragraphs = document.getElementsByTagName('p'); for (let p of paragraphs) { p.textContent = loremIpsum; }",
"params": {}
{
"eventId": "1",
"status": "Ended",
"data": {
"EventType": "ValueChange",
"Value": "730"
}
}
import { contacts } from 'wix-crm-backend';
import wixPricingPlansBackend from 'wix-pricing-plans-backend';
export function listPlans() {
return wixPricingPlansBackend.listPlans()
.then((plans) => {
// Array of all the specified pricing plan objects that match the criteria
console.log(plans);
})
.catch((error) => {
[{"name": "Jan 24 7PM 2nd half only (Partial)", "gameId": "game-7pm-jan-24-2nd-half-only"}, {"name": "8pm Jan 25 (Accurate)", "gameId": "game-8pm-jan-24"}]
alert("hello!");
var grains = [
{ name: "White Rice", image: "white_rice.jpg", recipeURL: "https://www.youtube.com/embed/Xx7sxWI9FNI" },
{ name: "Brown Rice", image: "brown_rice.jpg", recipeURL: "https://www.youtube.com/embed/BCOjMkarrxo" }
];
var veggies = [
{ name: "Broccoli", image: "broccoli.jpg", recipeURL: "https://www.youtube.com/embed/wOQPqEPVjL4" },
{ name: "Onions", image: "onions.jpg", recipeURL: "https://www.youtube.com/embed/kBIM7Z5pWQU" }
];
@calebcauthon
calebcauthon / .pgpass
Last active May 17, 2018 00:32
Run a Postgres Instance using Docker
<HOST>:5432:*:<USERNAME>:<PASSWORD>
<HOST>:5432:*:<USERNAME>:<PASSWORD>
@calebcauthon
calebcauthon / recipe.md
Last active June 29, 2017 17:24
Chipotle Aoli Sauce

Chipotle Aoil Sauce

Ingredients

.75 C cashews or peanuts

.75 C water

2 tbsp lemon juice

@calebcauthon
calebcauthon / 1 Fake Pulled Pork
Created January 22, 2016 22:53
CAULIFLOWER BBQ SANDWICH
PREHEAT oven to 450deg
PREP baking sheet (parchment paper, olive oil)
PREP 3 tbsp flax seeds (grind)
START small bowl
ADD flax to bowl
ADD 9 tbsp water to bowl
PREP =2 cups cauliflower (chop, process into rice)