Skip to content

Instantly share code, notes, and snippets.

View hmtanbir's full-sized avatar
🏠
Working from home

HM Tanbir hmtanbir

🏠
Working from home
  • BDMADE
  • Dhaka
View GitHub Profile
@hmtanbir
hmtanbir / puma.rb
Created November 10, 2019 09:03
puma
# Change to match your CPU core count
workers 2
# Min and Max threads per worker
threads 1, 6
app_dir = File.expand_path("../..", __FILE__)
shared_dir = "#{app_dir}/shared"
# Default to production
@hmtanbir
hmtanbir / media-query.css
Created September 28, 2018 11:09 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@hmtanbir
hmtanbir / error_fixed.txt
Created September 10, 2018 14:00
PG: not null error in existing table
add_column :spree_taxons, :slug, :string, null: false, index: true, default: ''