Skip to content

Instantly share code, notes, and snippets.

View ziaulrehman40's full-sized avatar
🎯
Focusing

Zia Ul Rehman ziaulrehman40

🎯
Focusing
  • Devsinc
  • Lahore
View GitHub Profile
@ziaulrehman40
ziaulrehman40 / sublime packages I use.md
Last active March 12, 2021 11:14
subime packages for rails dev
A File Icon
All Autocomplete
Better CoffeeScript
Bootstrap 3 Autocomplete
BracketHighlighter
Cucumber Step Finder
Cucumber
Dockerfile Syntax Highlighting
Emmet
@ziaulrehman40
ziaulrehman40 / ubuntu machine setup for rails.md
Last active August 21, 2023 10:29
Ubuntu setup for rails

Basic use libraries installation

sudo apt update
sudo apt install unace unrar zip unzip p7zip-full p7zip-rar sharutils gnupg2 rar uudeview mpack arj cabextract file-roller

Actual Development Setup

Essentials

@ziaulrehman40
ziaulrehman40 / jquery file upload rails installation.md
Last active May 26, 2017 08:15
blueimp/jQuery-File-Upload rails gem through rails-assets

blueimp/jQuery-File-Upload is a very helpful plugin, but using it in rails(<5.1, in rails 5.1 and above, we have webpack and yarn support, i would love to see how these work and if anyone can add how to add this library using that that would be great) is a pain like every other js library.
This is to have record of how i managed to get it working on rails, without manually adding all js files.

Using rails-assets to add gemfile https://rails-assets.org/#/components/jquery-file-upload
Pre-req: Jquery-ui configured.

Gemfile:
gem 'rails-assets-', source: 'https://rails-assets.org'