Skip to content

Instantly share code, notes, and snippets.

View ichoake's full-sized avatar

steven chaplinski ichoake

View GitHub Profile
@ichoake
ichoake / replace_smartobject_image.js
Created December 1, 2023 10:46 — forked from laryn/replace_smartobject_image.js
Photoshop script to replace a smart object within a PSD with selected image(s) and save result as a JPG. (Transformations to the smart object will be applied to new images).
// Replace SmartObject’s Content and Save as JPG
// 2017, use it at your own risk
// Via @Circle B: https://graphicdesign.stackexchange.com/questions/92796/replacing-a-smart-object-in-bulk-with-photoshops-variable-data-or-scripts/93359
// JPG code from here: https://forums.adobe.com/thread/737789
#target photoshop
if (app.documents.length > 0) {
var myDocument = app.activeDocument;
var theName = myDocument.name.match(/(.*)\.[^\.]+$/)[1];
var thePath = myDocument.path;
@ichoake
ichoake / README.md
Created May 16, 2023 06:10 — forked from sebastienbarre/README.md
Midjourney Greasemonkey User Script

Installation

  1. make sure to have Greasemonkey/Tampermonkey/Violentmonkey installed
  2. click here to install the midjourney.user.js userscript below.
  3. confirm your intention to install the userscript.
  4. the "Open in discord" links should now open in your Discord app.
@ichoake
ichoake / midjourney-batch-download.md
Created May 16, 2023 06:07 — forked from JustOurStyle/midjourney-batch-download.md
MidJourney batch image download solution (works with Chrome on desktop)

MidJourney batch image download solution that works with Chrome on desktop.

  1. Add this extension to Chrome: https://www.imageye.net/
  2. Then, go to discord.com and choose Open Discord in Your Browser.
  3. Navigate to where all your image generations are (for me that's the Midjourney Bot but it might be a channel, whatever)
  4. Scroll backward so all the images you want to download are in the browser (usually it shows just the most recent, so just scroll back until all the ones you want are loaded).
  5. Click the extension. It will say Searching Images.
  6. If the URL filter is not visible in the extension popup, click Tools to show it.
  7. Click "URL" in the extension popup and enter your username, then press Enter to filter for only images containing your username (so you only get your images).
  8. It will show a list of images that it found.
  9. Choose some other filters if you just want Large images or whatever.
@ichoake
ichoake / etsy-scrape.rb
Created December 31, 2022 01:47 — forked from michaelficarra/etsy-scrape.rb
download all the listing images from a given etsy shop
require 'etsy'
Etsy.api_key = '<api-key>'
shop = Etsy::Shop.find '<shop-name>'
out_dir = '<output-directory>'
Etsy.environment = :production
Dir.mkdir out_dir unless File.exists? out_dir
listings = []
@ichoake
ichoake / howto-download-youtube-videos.md
Created November 9, 2022 21:56 — forked from pnhoang/howto-download-youtube-videos.md
How to download ALL videos of ANY YouTube Channel for FREE

rsync notes

rsync -av --delete [source] [destination]

rsync [options] source destination sftp://198.101.206.164//home/klru/klru.org rsync -e ssh -avz AllReviews \

The -e ssh option tells rsync to use the secure shell connection. The -a option does an archive and preserves access modes (permissions, owner and group), the -v option means verbose (returns details about the copy process), and the -z option compresses the files using gzip.

@ichoake
ichoake / Brewfile
Created November 8, 2022 20:27 — forked from cooperpellaton/Brewfile
🍺 A script to bootstrap the install of brew, then install all the applications and utilities I'll need on a new Mac.
tap "eddieantonio/eddieantonio"
tap "github/gh"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-drivers"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "instrumenta/instrumenta"
tap "mongodb/brew"
tap "nektos/tap"
@ichoake
ichoake / githubpull.md
Created November 8, 2022 19:42 — forked from Jabarabo/githubpull.md
Gist of a stolen gist
@ichoake
ichoake / rsync_backup.sh
Created October 30, 2022 23:32 — forked from tommeier/rsync_backup.sh
RSync backup script for Mac OSX from External drive
#!/bin/sh
echo "Running..."
PROG=$0
RSYNC="/usr/bin/rsync"
SCRIPT_MOUNTED='false'
MOUNT_VOLUME="/Volumes/Qdownload"
SRC="$MOUNT_VOLUME/transmission/completed/"
DST="/Users/tom/Dumping Ground/Qnap Downloads"
@ichoake
ichoake / README.md
Created October 13, 2022 16:05 — forked from rafi/README.md
Best macOS Apps

Best macOS Apps

Unless otherwise stated, all apps are FREE.

Categories

Terminals

  • Alacritty - Cross-platform, GPU-accelerated terminal emulator.