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 / Guidelines for our standard development enviroment.md
Last active December 18, 2024 14:34
This document outlines the standard development environment in devsinc

1- IDE

We generally don't use cloud9/rubymine or any other special IDE for development(you can opt for any IDE, but that will mean no support from seniors for any issues relating it and that might lead to un-neccessary time waste thats why it is highly preferred to not use such IDEs). You are encouraged to use sublime of VSCode(see below for both).

Sublime:

Use sublime 4, install it(google or use this link for ubuntu) Here I will outline some basic configuration for sublime3 we usually use.

i- settings tweaks In sublime go to preferences->setting and place these in user settings tab along with other settings.

@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 January 7, 2025 09:09
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'