Skip to content
View muneebaahmad's full-sized avatar

Block or report muneebaahmad

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. elasticsearch.tf elasticsearch.tf
    1
    resource "aws_elasticsearch_domain" "demo" {
    2
      domain_name           = "demo"
    3
      elasticsearch_version = "6.2"
    4
    
                  
    5
      ebs_options {
  2. Converts Heroku configs to a format ... Converts Heroku configs to a format accepted by .env files
    1
    # Converts Heroku configs to a format accepted by .env files
    2
    class ConvertToEnv
    3
      File.open('sample_env.txt').each do |line|
    4
        line = line.sub(':', '=').delete(" \t\r\n")
    5
        print "#{line}\n"
  3. Parses a csv to look for email addre... Parses a csv to look for email addresses. Then checks the sql table to see which emails exist and then returns those users ids.
    1
    require 'mysql2'
    2
    require 'csv'
    3
    
                  
    4
    # Returns the user ids for emails that already exist
    5
    class Users
  4. VS Code Launch Configuration VS Code Launch Configuration
    1
    {
    2
        "version": "0.2.0",
    3
        "configurations": [
    4
            {
    5
                "type": "node",
  5. Checks the difference between two files Checks the difference between two files
    1
    # To run, cd to this folder and put the following command in the command line
    2
    # ruby check_difference.rb
    3
    
                  
    4
    require 'set'
    5
    
                  
  6. insert_records.rb insert_records.rb
    1
    # INSERT RECORDS INTO A DB
    2
    # Use case: To insert millions of records into a local db to test scripts.
    3
    #           Testing scripts that affect millions of records on a remote db is very time consuming.
    4
    require('mysql2')
    5