Skip to content

Instantly share code, notes, and snippets.

View ahmed1490's full-sized avatar

Ahmed Abbas ahmed1490

View GitHub Profile
@ahmed1490
ahmed1490 / sublime-settings.md
Created December 21, 2015 17:49 — forked from MohamedAlaa/sublime-settings.md
Standard Sublime Settings Proposal

Problem we are trying to resolve

One of the Problems we face in any teams is that every one has his own sublime settings for spacing indentation which cause a problem when you push to git hub as some prefer using tabs for indentation and others using spacing.

Wrong Spacing and indentation example

The Objective

The objective is to standardize your sublime settings for readability and to avoid extra indentation or spaces after each line you write

#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
@ahmed1490
ahmed1490 / JsTalk1.md
Last active October 15, 2017 14:39
Small JS talk by Aadit @ BS + some more info

Modules

  • Common js (sync loading using require('xyz.js')
  • AMD (async with dependent modules declaration)

Frontend/Browser

  • AMD eg: almond.js (stripped down of require.js)
  • Common Js not used on front end due to obvious reason.

Getting Balanced Payments up and running.

Files

  • balanced_controller.rb
  • _bank_account_form.html.haml
  • _credit_card_form.html.haml
  • bank_account_submission.js
  • credit_card_submission.js