Skip to content

Instantly share code, notes, and snippets.

View TheEricMiller's full-sized avatar

Eric TheEricMiller

View GitHub Profile
@TheEricMiller
TheEricMiller / stable-diff-on-mac.md
Last active July 29, 2023 21:53
Setup Stable-Diffusion on MacOS with Apple Silicon (M1 +) CPU

Setup Stable-Diffusion on MacOS with Apple Silicon (M1 +) CPU

Try Stable-Diffusion in Discord

http://appcamp.io/courses/user-interface/layout-simple

http://thompsonemerson.github.io/ionic-collection/


## ionic examples
ionic start ionicApp
ionic start blankApp blank
ionic start tabsApp tabs
@TheEricMiller
TheEricMiller / core_nodejs_installs_and_global_packages.md
Last active November 13, 2016 03:32
NodeJS Core Installs and Base Projects
# install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

## htop process monitor
brew install htop


sudo gem install sass
@TheEricMiller
TheEricMiller / javascript_resources.md
Created February 10, 2014 19:46 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@TheEricMiller
TheEricMiller / rails_resources.md
Created February 10, 2014 19:46 — forked from jookyboi/rails_resources.md
Rails-related Gems and guides to accelerate your web project.

Gems

  • Bundler - Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support
  • Thin - Very fast and lightweight Ruby web server
  • Unicorn - Unicorn is an HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.
  • SimpleCov - SimpleCov is a code coverage analysis tool for Ruby 1.9.
  • Zeus - Zeus preloads your Rails app so that your normal development tasks such as console, server, generate, and specs/tests take less than one second.
  • [factory_girl](h
@TheEricMiller
TheEricMiller / 0_reuse_code.js
Created February 10, 2014 19:45
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Last login: Mon Oct 14 13:02:17 on console
Treaters-MacBook-Pro:~ treater$ curl -s https://treater-boxen-web.herokuapp.com/script/915da00d.sh > /tmp/install-boxen; bash /tmp/install-boxen
######## ####### ## ## ######## ## ##
## ## ## ## ## ## ## ### ##
## ## ## ## ## ## ## #### ##
######## ## ## ### ###### ## ## ##
## ## ## ## ## ## ## ## ####
## ## ## ## ## ## ## ## ###
######## ####### ## ## ######## ## ##
script/boxen --no-fde
Error: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 130: ==> Installing dependencies for nginx: pcre
==> Installing nginx dependency: pcre
Error: /Stage[main]/Nginx/Package[boxen/brews/nginx]/ensure: change from absent to 1.2.7-boxen1 failed: Could not update: Execution of 'brew boxen-install boxen/brews/nginx' returned 130: ==> Installing dependencies for nginx: pcre
==> Installing nginx dependency: pcre
Notice: /Stage[main]/Nginx/Service[dev.nginx]: Dependency Package[boxen/brews/nginx] has failures: true
EricsRails::Application.configure do
# ActionMailer ===============================================
config.action_mailer.delivery_method = :smtp
config.action_mailer.raise_delivery_errors = true
config.action_mailer.default_url_options = { :host => ENV["ACT_MAILER_HOST"] }
config.action_mailer.smtp_settings = {
:address => ENV["ACT_MAILER_SMTP_ADDRESS"],
:user_name => ENV["ACT_MAILER_SMTP_USER_NAME"],
:password => ENV["ACT_MAILER_SMTP_PASSWORD"],