Skip to content

Instantly share code, notes, and snippets.

View dwyn's full-sized avatar
🖖
greetings

dwayne. dwyn

🖖
greetings
  • ATX
View GitHub Profile
  1. Add gem 'bootstrap' to your gemfile.

  2. Add gem 'jquery-rails' to your gemfile.

  3. rename the application.css file to application.scss (located in app/assets/stylesheets/application.css)

  4. Add '@import "bootstrap";` to your application.scss file

  5. Add to your application.js file. ( located at app/assets/javascripts/application.js)

@dwyn
dwyn / gist:6d09cd1a6b714bb29fc6ad409fbf1729
Created July 18, 2019 22:26 — forked from ryandeussing/gist:5667094
Find and kill a zombie shotgun server
$ ps ax | grep shotgun
11152 s000 R+ 0:00.00 grep shotgun
10766 s001 S+ 0:00.60 /Users/ryandeussing/.rvm/gems/ruby-1.9.3-p429@sinatra/bin/shotgun
$ kill -9 10766
#done
@dwyn
dwyn / .zshrc
Last active October 25, 2019 16:44 — forked from zanshin/.zshrc
My .zshrc file
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/dwyn/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes