Skip to content

Instantly share code, notes, and snippets.

View sunnyMiglani's full-sized avatar

Sunny Miglani sunnyMiglani

View GitHub Profile
@sunnyMiglani
sunnyMiglani / .vimrc
Created January 11, 2022 22:08
My VimRC
syntax on
""""""""""""""""""""""""""""""""""""
" Line
""""""""""""""""""""""""""""""""""""
" show line numbers
set number
"""""""""""""""""""""""""""""""""""""
" Indents
"""""""""""""""""""""""""""""""""""""
Word2Vec image: https://towardsdatascience.com/mapping-word-embeddings-with-word2vec-99a799dc9695
Sentiment Analysis: https://www.brandwatch.com/blog/understanding-sentiment-analysis/
Tweets/Text: Nikita H, Kyle W.
Design: Lucy M, Akanksha S.
Website: http://sentimentally.sunnymiglani.space/
@sunnyMiglani
sunnyMiglani / CloudComp.md
Last active February 13, 2019 00:09
Cloud Computing MEng 4th Year University of Bristol Lecture Notes
@sunnyMiglani
sunnyMiglani / BIG_Internship_Writeup.md
Last active July 17, 2018 14:21
Bristol Interaction Group Internship writeup

Internship at the Bristol Interaction Group

The internship was focused on using Alexa and other amazon services such as AWS Lambda, AWS Comprehend and AWS S3 to create a multitude of applications that can be used to work on a co-design system with sight impaired students in schools.

The Co-Design principal meant that we aim at creating different systems that can be shown and discussed with our co-designers and help create and allow for new ideas for interaction for the final system.

My work specifically related to creating various methods and examples of Alexa app templates and API work that could be expanded on for future projects.

These various apps are explained conceptually below:

@sunnyMiglani
sunnyMiglani / FirstCoDesignDay.md
Last active June 15, 2018 14:38
FirstCoDesignDay

Bristol Interaction Group. University of Bristol

Alexa CoDesign Session

Stage 1:

This stage was to introduce the Quiz app (Quiz Rhino) that acts as a question base for the students to interact with. The system uses a True/False method and therefore needs simple interaction.

App's help section:

Feedback of the help section was that the speech is too fast, but this was fixed/trialed live to add some pauses in the system.

@sunnyMiglani
sunnyMiglani / MurderOnTheOrientExpress.md
Created January 29, 2018 22:58
Murder on the Orient Express II

Murder on the Orient Express

Gameplay Outline.

The gameplay of the game has changed from the previous planned 10 minute continuous VR experience with players staying in the VR world for the whole game to a more physical interacted VR game.

The gameplay involves players switching in and out of the VR worlds and interacting with other players both inside and outside the game environment. This has been added to create a more social feel with the players around them.

This also allows the game to move away from the bottlenecks faced with VR multiplayer interactions, and focus more on the VR murder mystery experience.

@sunnyMiglani
sunnyMiglani / MOE.md
Last active January 15, 2018 20:10
Murder on the Orient Express Concept

Murder on The Orient Express

Game Brief:

Murder on the Orient Express is built on the Unity engine using the Google Cardboard API to create a VR based murder mystery game experience.

The players (6-7 players) will communicate with each other through the game's integrated voice chat and solve puzzles, find clues and complete tasks with the aim of solving the murder that occurred on their train journey.

The murder must be solved before the train reaches it's journey (15 minutes game time) or the murderer will escape.

During this journey, they must be wary of their fellow passengers, any of whom could be the murderer.

@sunnyMiglani
sunnyMiglani / MLNotes.md
Last active January 9, 2018 20:38
Machine Learning Notes

Machine Learning Quick Notes.

One plus 2 is 4 minus 1 that's 3 quick maths

Conjugate Distributions:

Beta Distribution:

Family of continous Distributions, mainly focused using the two parameters alpha and beta. These are used as exponents of a random variable and are the main factors on the shape of the distribution.

Beta Distribution acts as the conjugate distribution of:

@sunnyMiglani
sunnyMiglani / cryptographyA_notes.md
Last active February 1, 2018 16:58
Cryptography notes

Cryptography A at University of Bristol

This is a giant mess of notes, when / If i get time, I'll make a link to each of the main topics, but for now just "find" the word topic and it should get you to each new lecture / topic

Topic : Blockciphers

Blockciphers is a set of keyed permutations E belongs to Block(K,X)

  • K is the set of keys
  • X is the set of plaintext blocks
@sunnyMiglani
sunnyMiglani / applyZellers.py
Created November 8, 2017 00:13
Applies Zeller's rule to a datetime format. Get day from the date month and year
def getZellersMonth(month_num):
switcher = {1: 11,2: 12,3: 1,4: 2,5: 3,6: 4,7: 5,8: 6,9: 7,10: 8,11: 9,12: 10}
return switcher[month_num]
def getDayFromDate(dateAndTime):
'''
dateAndTime should be in the standard format
Day is calculated using Zeller's Rule
f = k + math.floor((13*m-1)/5) + D + math.floor(D/4) + math.floor(C/4) - 2*C.
Where