Skip to content

Instantly share code, notes, and snippets.

View carmelyne's full-sized avatar
🏡
Working from home

Carmelyne Thompson carmelyne

🏡
Working from home
View GitHub Profile
@carmelyne
carmelyne / Step-by-step guide for installing ComfyUI - Sonoma 14.1.1 on M1.md
Created December 11, 2023 21:07
Step-by-step guide for installing ComfyUI - Sonoma 14.1.1 on M1

Step-by-step guide for installing ComfyUI - Sonoma 14.1.1 on M1

  1. Install Xcode Command Line Tools: xcode-select --install since I had a fresh install of Sonoma
  2. Accept Xcode license: sudo xcodebuild -license accept
  3. Update Homebrew: brew update --auto-update
  4. Install Miniconda: brew install --cask miniconda
  5. Check your .zshrc if the conda init was added properly
  6. Source your .zshrc file: source ~/.zshrc
  7. Check if Conda installed successully conda --version
  8. Install requirements to use ComfyUI: conda install pytorch torchvision torchaudio -c pytorch-nightly

User Story: Chrome Extension for Managing GPT-4 Default Prompt Settings, Additional Instruction Prompts, Bookmarking ChatGPT/GPT4 replies, and Prompt Manager

Title: GPT-4 Chat Settings, Prompts Manager with Bookmarking Functionality and Prompt Manager

As a Chrome Extension user, I want to manage my GPT-4 chat default prompts, instructions, bookmarks, and prompt management so that I can easily access and use them during chat sessions.

Acceptance Criteria:

Downloading and Installing the Extension
@carmelyne
carmelyne / MongoDB_macOS_Sierra.md
Created June 15, 2017 10:32 — forked from nrollr/MongoDB_macOS_Sierra.md
Install MongoDB on Sierra using Homebrew

##Install MongoDB on macOS Sierra

This procedure explains how to install MongoDB using Homebrew on macOS Sierra 10.12.
Official MongoDB install documentation: here

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#############
# Colors #
#############
# Set prompt: " username@hostname/directory/tree $ " (with colors)
export PS1=" \[\e[32;1m\]\u\[\e[0m\]\[\e[32m\]@\h\[\e[36m\]\w \[\e[33m\]\$ \[\e[0m\]"
#########
# AlIAS #
#########
alias home='cd ~'
# First:
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
#go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*
@carmelyne
carmelyne / gist:d15d789bbb3b4f6e6bbf
Last active August 29, 2015 14:23
Social Media Artboard Preset for Sketch
Instructions:
1. CD into ~/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application\ Support/com.bohemiancoding.sketch3
2. Once in the directory, type open .
3. Open artboards.plist with your preferred text editior
4. Add the code below --just right below
<plist version="1.0">
<array>
-----Copy XML key/value pairs below-----
// FROM: http://www.mongodb.org/display/DOCS/Updating#Updating-update%28%29
//
// db.collection.update( criteria, objNew, upsert, multi )
// criteria - query which selects the record to update;
// objNew - updated object or $ operators (e.g., $inc) which manipulate the object
// upsert - if this should be an "upsert"; that is, if the record does not exist, insert it
// multi - if all documents matching criteria should be updated
//
// SQL VERSION:
// UPDATE myTable SET dateField = '2011-01-01' WHERE condField = 'condValue'
/**
* A mixin which helps you to add depth to elements according to the Google Material Design spec:
* http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality
*
* Please note that the values given in the specification cannot be used as is. To create the same visual experience
* the blur parameter has to be doubled.
*
* Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp)
*
* Example usage:
<link rel="import" href="../core-tooltip/core-tooltip.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
@carmelyne
carmelyne / README.md
Created December 30, 2013 05:52 — forked from groodt/README.md

Homebrew Meteor Formula

To install Meteor with the Homebrew formula [below][3], run:

brew install https://gist.github.com/raw/4317935/05084353d3cd50acad7e88e01c3f6463b42c0ed3/meteor.rb

This Homebrew Meteor Formula is based on https://install.meteor.com.