air-quality water-quality soil oil-and-gas climate sensors organizing more...
#!/usr/bin/env ruby | |
# | |
# synopsis | |
# | |
# ruby merge_locales.rb config/locales <language-code> | |
require 'yaml' | |
require 'rubygems' | |
require 'highline/import' |
Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.
If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!
We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
Name: Gaurav Sachdeva
Github: https://github.com/gauravano
LinkedIn: www.linkedin.com/in/gauravano
One have to run this migration locally and then update the schema.rb.example
corresponding to updates in their local schema.rb
file and then copy the checksum into the top of schema.rb.example
.
git checkout --track origin/branch_name
git fetch repo pull/7324/head:pr-7324
where,
Implementation of feature using which PublicLab users can comment directly on the node(question ,research note,event) just by replying to the email(notification email which users recieve on creation of new node)
Mailman gem - A microframework for processing incoming email.
require 'rubygems' | |
require 'json' | |
require 'pp' | |
require 'faker' | |
class Close | |
attr_accessor :id, :name | |
@@array = Array.new | |
def self.all_instances |
#Code with O(n^3) complexity | |
def finding_elements arr,sum,arr_size | |
for i in 0...arr_size-2 | |
for j in i+1...arr_size-1 | |
for k in j+1...arr_size | |
if (arr[i] + arr[j] + arr[k] === sum) | |
print "Elements summing to #{sum} are : ",arr[i]," ",arr[j]," ",arr[k]; | |
puts; |