Skip to content

Instantly share code, notes, and snippets.

View jayeshmann's full-sized avatar
💲
Converting time into money.

Jayesh Mann jayeshmann

💲
Converting time into money.
  • India
View GitHub Profile
@jayeshmann
jayeshmann / .pre-commit-config.yaml
Created August 17, 2022 03:50
pre-commit hooks configuration for ruby
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/mattlqx/pre-commit-ruby
rev: v1.3.5
hooks:
- id: rubocop
@jayeshmann
jayeshmann / .rubocop.yml
Last active August 17, 2022 04:29
Rubocop configuration with RSpec
require: rubocop-rspec
AllCops:
NewCops: enable
StyleGuideBaseURL: https://rubystyle.guide
Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false
@jayeshmann
jayeshmann / ritik.py
Created July 27, 2020 18:43
Made with Love in India by Jayesh for Ritik
#!flask/bin/python
from flask import *
app = Flask(__name__)
login_info = [
{
'id': 0,
'username': 'ritik',
'password': '4pkoci52e2fu'}
@jayeshmann
jayeshmann / hackcbs-workshop.md
Created October 19, 2019 07:21 — forked from berndverst/hackcbs-workshop.md
hackCBS 2.0: Using Azure + AI to detect Emotion

hackCBS 2.0: Using Azure + AI to detect Emotion

This Hackathon is designed for beginners. No prior experience is necessary.

Azure provides powerful AI tools, wrapped up in APIs that you can use from your apps to add intelligence without being an AI expert. In this hands-on workshop you will build a Python app that takes advantage of one of these APIs to detect emotions in faces, alerting you if you have a sad face too often. This app will be in two parts, one part that runs on the desktop and takes photos, and another that runs in the cloud to analyse photos and store the emotions detected.

Required resources

  • Python 3.7 runtime (not the latest 3.8 as not all required libraries are available yet). We recommend Python 3.7.4 for this workshop. Download
  • Microsoft Azure Account (Azure Portal)
  • Don't have one? Sign up for [Azure for Students](https://azure.mic