Skip to content

Instantly share code, notes, and snippets.

View arjunghosh's full-sized avatar

Arjun Ghosh arjunghosh

View GitHub Profile
Job Title: SAP Solution Architect
Location: EY (Ernst & Young) Business Consulting
Location: Bangalore, India
Experience Required: 10-12 years
Job Description:-
We are seeking a seasoned SAP Solution Architect with a robust understanding of the SAP ecosystem. This individual will be a key player in creating and executing strategic plans related to SAP implementation, maintenance, and enhancement. They will also be responsible for designing, developing, and implementing SAP modules to enhance business functionality and overall performance while maintaining a high degree of customer satisfaction.
Required Skills:
1. 10-12 years of experience in SAP architecture design and development.
@arjunghosh
arjunghosh / .py
Created February 16, 2023 14:27
ChatGPT generated code for a simple AI chatbot
import spacy
# Load a pre-trained NLP model from spaCy
nlp = spacy.load("en_core_web_sm")
# Define a function to handle user input and generate a response
def respond(input):
# Parse the user input using the NLP model
doc = nlp(input)
@arjunghosh
arjunghosh / dup_derp
Created October 19, 2009 23:18 — forked from al3x/dup_derp
$ irb
>> 1.class
=> Fixnum
>> 1.respond_to?(:dup)
=> true
>> 1.dup
TypeError: can't dup Fixnum
from (irb):3:in `dup'
from (irb):3
# To parse a tweet from twitter to get teh '@' , '#' and the text seperated
parsed_text = tweet.text.gsub(/ ?(@\w+)| ?(#\w+)/) { |a| ((a.include?('#')) ? tags : replies) << a.strip.gsub(/#|@/,''); '' }
# A nice way to format the default rails date magic field to human readable format
@foo.created_at.strftime("%b %d %Y")
# Working and strong RegEx for email validation in Ruby
/\A([\w\.%\-\+]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i
page.select('#DOM_element_id').each do |foo|
foo.value = bar
end
# A neat Ruby trick
a,b,c = 10,23,109