Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dylan0203 on github.
  • I am dylan0203 (https://keybase.io/dylan0203) on keybase.
  • I have a public key ASAWZpACzh13vMBaa4s_URrd2Ag4nEm9ufSJpP0YLyQCDwo

To claim this, I am signing this object:

@Dylan0203
Dylan0203 / NotJustOnly.md
Last active February 11, 2020 11:57
NotJustOnly
  • [-] UI
    • Nav Bar
    • Footer
    • Landing page
    • Product index
      • Product categroy menu style
      • Product Card
    • Product show
    • Admin product preview
@Dylan0203
Dylan0203 / mojave.md
Created September 25, 2018 08:22
MacOS Mojave fix blurry fonts
@Dylan0203
Dylan0203 / installing-2.4.3.md
Created January 18, 2018 06:39
nokogiri 1.8.0 compile error

Installing nokogiri 1.8.0 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /Users/dylan/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/nokogiri-1.8.0/ext/nokogiri

/Users/dylan/.rbenv/versions/2.4.3/bin/ruby -r ./siteconf20180118-49332-1ixbdrf.rb extconf.rb --use-system-libraries checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no Building nokogiri using system libraries. ERROR: cannot discover where libxml2 is located on your system. please make sure pkg-config is installed. *** extconf.rb failed ***

@Dylan0203
Dylan0203 / gist:fda41469c3249bc10da1786744d21888
Created October 26, 2017 08:56 — forked from bds/gist:2207826
Convert files from .scss to .sass
sass-convert -F scss -T sass application_styles.css.scss application_styles.css.sass
@Dylan0203
Dylan0203 / text.md
Created September 9, 2017 01:53
Install Postgresql to ubuntu
@Dylan0203
Dylan0203 / text.md
Created September 8, 2017 18:02
Rename user at linux
@Dylan0203
Dylan0203 / rbenv-howto.md
Created September 8, 2017 14:18 — forked from MicahElliott/rbenv-howto.md
Setting up and installing rbenv, ruby-build, rubies, rbenv-gemset, and bundler

Setting up and installing rbenv, ruby-build, rubies, rbenv-gemset, and bundler

This guide enables you to install (ruby-build) and use (rbenv) multiple versions of ruby, isolate project gems (gemsets and/or bundler), and automatically use appropriate combinations of rubies and gems.

TL;DR Demo

# Ensure system is in ship-shape.

aptitude install git zsh libssl-dev zlib1g-dev libreadline-dev libyaml-dev

@Dylan0203
Dylan0203 / Gemfile
Created September 1, 2017 10:26 — forked from goncalvesjoao/Gemfile
Changes you need to make in order to make Devise use JWT Header Authentication
# Add the "https://github.com/jwt/ruby-jwt" gem to your "Gemfile"
gem 'jwt'