Skip to content

Instantly share code, notes, and snippets.

View vinayvinay's full-sized avatar

Vinay Patel vinayvinay

View GitHub Profile
@vinayvinay
vinayvinay / MISSION-2.ino
Created March 21, 2026 14:19
STEM birthday code
// www.elegoo.com
// 2016.12.8
// Define Pins
#define BLUE 3
#define GREEN 5
#define RED 6
void setup()
{
BEGIN:VCARD
VERSION:3.0
FN:Demo Contact
ORG:Example Company
TITLE:Demo Title
TEL;TYPE=WORK,VOICE:+44 7000 123456
EMAIL:demo@example.com
URL:https://example.com
ADR;TYPE=WORK:;;Example Street;London;;EC1A;UK
END:VCARD
@vinayvinay
vinayvinay / app.rb
Created August 3, 2023 09:01
coding task structure
require_relative "funcs"
messages = get_commit_messages()
llm = init_llm()
client = init_vector_search_client(llm)
load_documents(client, messages)
query(client, "Which commits mention terraform modules?")
@vinayvinay
vinayvinay / .python-version
Last active November 21, 2022 11:31
central-ds-hands-on-infra-setup-workshop
3.9.10
@vinayvinay
vinayvinay / cloudSettings
Created March 18, 2019 11:30
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-03-18T11:30:21.740Z","extensionVersion":"v3.2.7"}
# zoomer_sentence_reversor.rb
def sentence_reversor(str=nil)
return "ERROR: Pass-in a string to reverse as an argument" if str.nil?
str.split.reverse.join(" ")
end
# puts sentence_reversor(ARGV[0])
# zoomer_sentence_reversor_test.rb
require 'test/unit'
1) Home + Main website: - http://twinsinfotech.com/ibluebottle/
2) Demo Profile: http://twinsinfotech.com/ibluebottle/demo_profile.html
3) Our members: http://twinsinfotech.com/ibluebottle/our_members.html
4) Sign Up
http://twinsinfotech.com/ibluebottle/index_signup_step_2.html
http://twinsinfotech.com/ibluebottle/index_signup_step_3.html
http://twinsinfotech.com/ibluebottle/index_signup_step_4.html
http://twinsinfotech.com/ibluebottle/index_signup_step_5.html
http://twinsinfotech.com/ibluebottle/index_signup_step_end.html
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vinayvinay
vinayvinay / teamshares.md
Last active March 26, 2019 13:48
Conventions and preferences to be shared within teams to promote harmonious and joyful Ruby on Rails development.
@vinayvinay
vinayvinay / infrastructure-and-the-cloud.md
Created June 23, 2012 06:51
infrastructure and the cloud