Skip to content

Instantly share code, notes, and snippets.

View devotox's full-sized avatar
💻
Innovating

Devonte devotox

💻
Innovating
View GitHub Profile
@devotox
devotox / controllers.application.js
Last active February 11, 2020 08:42
Select Option Issue
import Ember from 'ember';
export default Ember.Controller.extend({
options: ['oranges', 'apples', 'pears']
});
@devotox
devotox / osx_bootstrap.sh
Last active June 2, 2020 19:58 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# Notes:
$(document).ready(function () {
var navbar = $('.navbar');
var navbara = $('.navbar a:not([href="~/"])');
var navbarh1 = $('.navbar h1');
var footer = $('.footer-bottom');
var footerp = $('.footer-bottom p');
var inputGroupInput = $('.input-group input');
var buttonGroupButton = $('.input-group-btn:last-child>.btn');
var button = $('button, a.btn, a.btn-submit, input[type="button"], input[type="submit"]');
var inputText = $('input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="tel"], input[type="url"], input[type="search"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], input[type="range"], input[type="file"], input[type="image"], input[type="reset"], input[type="button"], input[type="submit"], textarea');
@devotox
devotox / optimize-images.sh
Created October 20, 2023 20:54
Optimize All files in Repository While skipping any files in .gitignore
#!/usr/bin/env bash
set -euo pipefail
# Installation Instructions:
# --------------------------
# Prerequisites:
# 1. Ensure you have Homebrew installed. If not, install it with:
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
#
# 2. Install the following image optimization tools and dependencies using Homebrew: