Skip to content

Instantly share code, notes, and snippets.

View socertis's full-sized avatar

Bassem Ezzat socertis

View GitHub Profile
@socertis
socertis / animated-diff-ai-dock.sh
Last active January 20, 2024 16:40
AnimateDiff Povisioning Script that support AD v3 for Ai-Dock
#!/bin/false
# This file will be sourced in init.sh
# https://raw.githubusercontent.com/ai-dock/comfyui/main/config/provisioning/animated.sh
printf "\n##############################################\n# #\n# Provisioning container #\n# #\n# This will take some time #\n# #\n# Your container will be ready on completion #\n# #\n##############################################\n\n"
## Set paths
## main paths
### Keybase proof
I hereby claim:
* I am socertis on github.
* I am c10ne (https://keybase.io/c10ne) on keybase.
* I have a public key ASAEITMw8zge5zDHpHY8RPieCBIoXnYwcHy75ELzW1a-TAo
To claim this, I am signing this object:
@socertis
socertis / LICENSE
Created June 29, 2020 12:12 — forked from sinisterchipmunk/LICENSE
tar, gzip, and untar files using ruby in memory without tempfiles
Copyright (C) 2011 by Colin MacKenzie IV
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
@socertis
socertis / curl.md
Created June 25, 2020 14:17 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

Pry Cheat Sheet

Command Line

  • pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)
  • pry -r ./config/environment.rb - load your rails into a pry session

Debugger