- Developer creates a new branch for every bug-fix or feature
- Feature branch is always created from master
- Developer watches master branch for changes. If another team member updates the master, she updates feature branch too.
- Feature branches are updated using rebase, not by merging
- Developer deploys the feature branch for demo/QA
- Another team member reviews code in the feature branch
- After demo and review passes, developer squash-merges the feature branch in her master, and pushes to the origin master
- For production-deployment, developer sets a tag on the origin/master, and deploys using the tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/tasks/db.rake | |
namespace :db do | |
desc "Dumps the database to db/APP_NAME.dump" | |
task :dump => :environment do | |
cmd = nil | |
with_config do |app, host, db, user| | |
cmd = "pg_dump --host #{host} --username #{user} --verbose --clean --no-owner --no-acl --format=c #{db} > #{Rails.root}/db/#{app}.dump" | |
end | |
puts cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# We have something called a PartialCalculator in the code | |
# for calculating some health related parameters. | |
# | |
# The PartialCalculator works like this - | |
# | |
# - take an input hash | |
# - merge the given data with some standard values | |
# - calls a FullCalculator with the values (in the overall method) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FacilitiesServicesForm | |
include ActiveModel::Validations | |
include ActiveModel::Conversion | |
extend ActiveModel::Naming | |
# These are sort of like the has_many relation | |
attr_accessor :facilities_offerred, | |
:services_offerred | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELIMITER $$ | |
CREATE FUNCTION `haversine` (lat1 DECIMAL(8,6), lng1 DECIMAL(8,6), lat2 DECIMAL(8,6), lng2 DECIMAL(8,6)) RETURNS DECIMAL(8,6) | |
BEGIN | |
DECLARE R INT; | |
DECLARE dLat DECIMAL(30,15); | |
DECLARE dLng DECIMAL(30,15); | |
DECLARE a1 DECIMAL(30,15); | |
DECLARE a2 DECIMAL(30,15); | |
DECLARE a DECIMAL(30,15); | |
DECLARE c DECIMAL(30,15); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# init.d script for single or multiple unicorn installations. Expects at least one .conf | |
# file in /etc/unicorn | |
# | |
# Modified by jay@gooby.org http://github.com/jaygooby | |
# based on http://gist.github.com/308216 by http://github.com/mguterl | |
# | |
## A sample /etc/unicorn/my_app.conf | |
## |
Address:
Real Image Media Technologies
42, Dr Ranga Rd, Marwadi Thottam, Narasimahapuram, Chennai
Map: google-map
Nearby train stations: Thirumailai MRTS, Mandaveli MRTS
Nearby bus stops: Luz corner, Eldam Road
Landmarks: Kritilals Jwellery, Nageshware Rao park
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am looking for someone who can develop application using Ionic/React Native, | |
I am looking for a full time freelancer who could deliver work with in 15 or 20 days maximum. | |
Required skills | |
- Should have developed atleast 5 applications using Ionic/React Native | |
- Should be able to refine the UI screens, | |
- Should have exposure to security standards. | |
- Should write test cases and test the application throughly. | |
- Good to have knowledge in cloud servers like AWS. |