Skip to content

Instantly share code, notes, and snippets.

View markrebec's full-sized avatar

Mark Rebec markrebec

View GitHub Profile
@goodviber
goodviber / gist:54898bc705a928a3e18c9b725d52e5ca
Created July 12, 2018 11:45
can't find executable webpack-dev-server for gem webpacker (Gem::Exception)
bundle exec rails webpacker:binstubs
@phansch
phansch / yardoc_cheatsheet.md
Last active December 24, 2025 15:48 — forked from chetan/yardoc_cheatsheet.md
Improved YARD cheatsheet
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@johan
johan / README.md
Last active February 22, 2025 00:29
RFC 5545 compliant (US) Facebook holiday iCal calendar Raw

Facebook US' recognized holidays are:

  • New Year’s Day
  • Martin Luther King Day
  • Presidents Day
  • Memorial Day
  • Independence Day
  • Labor Day
  • Thanksgiving Day
  • day after Thanksgiving
@taylorruizchiu
taylorruizchiu / how_to_add_icons.md
Last active April 14, 2016 23:07
How to add icons to Zozi's fontpack

How to add icons to Zozi's fontpack

###Load the current fontpack into the Icomoon App

  1. Download the most current version of the fontpack from app/assets/fonts/
  2. Open a browser and go to icomoon.io/app
  3. In the top left corner, click the purple button that says "Import Icons" enter image description here
  4. Find app/assets/fonts/fontawesome_some_version.svg and upload the SVG fontpack

###Acquire SVGs of your new icons ####If you have a sketch file:

@righi
righi / git-reup
Last active September 12, 2019 17:53
git-reup
#!/usr/bin/env ruby
#
# Usage: git-up
# git-reup
#
# Like git-pull but show a short and sexy log of changes
# immediately after merging (git-up) or rebasing (git-reup).
#
# Inspired by Kyle Neath's `git up' alias:
# http://gist.github.com/249223
@wtaysom
wtaysom / where_is.rb
Created September 23, 2011 08:57
A little Ruby module for finding the source location where class and methods are defined.
module Where
class <<self
attr_accessor :editor
def is_proc(proc)
source_location(proc)
end
def is_method(klass, method_name)
source_location(klass.method(method_name))