Skip to content

Instantly share code, notes, and snippets.

View aviaryan's full-sized avatar
:electron:
Working

Avi Aryan aviaryan

:electron:
Working
View GitHub Profile
@skolo-online
skolo-online / talking_assistant.py
Created December 23, 2023 11:03
Talking AI Assistant Application on Streamlit
# pip install streamlit
# pip install audio-recorder-streamlit
# pip install openai
import streamlit as st
from audio_recorder_streamlit import audio_recorder
from openai import OpenAI
API_KEY = 'enter-openai-api-key-here'
// SPDX-License-Identifier: MIT
// Source:
// https://github.com/ensdomains/ens-contracts/blob/master/contracts/ethregistrar/StringUtils.sol
pragma solidity >=0.8.4;
library StringUtils {
/**
* @dev Returns the length of a given string
*
* @param s The string to measure the length of
@IanColdwater
IanColdwater / twittermute.txt
Last active April 22, 2024 17:26
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
We couldn’t find that file to show.
@levelsio
levelsio / btc-eth-dca-buy.php
Last active January 6, 2023 22:04
This script runs daily and "Dollar Cost Average"-buys $40 BTC and $10 ETH per day
<?
//
// [ BUY BTC & ETH DAILY ON BITSTAMP ]
// by @levelsio
//
// 2017-08-23
//
// 1) buy $40/day BTC
// 2) buy $10/day ETH
//
@dufferzafar
dufferzafar / iiitv-interview-avi.md
Last active January 19, 2019 07:38
GSoC Experience Interview for @aviaryan's College Magazine

Tell us three things about GSoc that most people are unaware of.

i) A lot of the people forget the fact that all the organizations have other work to do apart from GSoC. I've seen a lot of students on IRC channels who assume that everyone is only there to help GSoC candidates; they ask for help and when nobody replies - they get irritated and take it out on them.

ii) A bit related to this is the fact that most of the students are very new to professional communication, and have just no idea about how to talk to people on IRC or mailing lists.

iii) People also need to understand that helping the community is the real goal of any project. Sutdents usually just focus on the code they are writing while totally ignoring public forums and the problem real users of their project face.

Please describe you experience working with some of the sharpest minds in your field.

@gwire
gwire / en-decrypt.py
Last active August 2, 2023 06:42
Decrypt password protected notes exported from Evernote (ENEX)
#!/usr/bin/env python
# Python script to decrypt encrypted ENEX notes exported from Evernote as ENEX
#
# This will onle work on notes encypted after 2014 using the "ENC0" format
#
# This script requires a modified version of pbkdf2.py to support SHA256
# https://github.com/PaulUithol/python-pbkdf2
#
# There's no helpful error if your password was incorrect, it will just

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

import csv
import cStringIO
import codecs
import glob
import json
import requests
def fetch_jsons():
url = ('https://summerofcode.withgoogle.com/api/program/current/project/'
Project Title Student Display Name Organization Name Mentors
Key mapping GUI Tomasito665 Mixxx DJ Software RJ Ryan, Ferran Pujol Camins
YAPDNS system64 The Honeynet Project Pietro Delsante, Fedele Mantuano, Andrea De Pasquale
FFv1 P frame support sdolganov FFmpeg Reynaldo Verdejo, michaelni
coala: Integrating coala with the Eclipse IDE Sheikh Araf Python Software Foundation Harsh Dattani, Lasse Schuirmann (sils1297), AbdealiJKothari
User interfaces for Tracker Dilushi Sustainable Computing Research Group ( SCoRe ) Dinith Minura, Namal Jayasuriya, Rumesh
File Support izgzhen Mozilla Manishearth
KolibriOS. Development of TLS/SSL library DenisKarpenko KolibriOS Jeffrey A., Pathoswithin
IPFS friendly & distributed version of Amber skbly7 Berkman Center for Internet and Society Genève
Cache layer for jpf-nhandler Jayton Java Pathfinder Team franck, Nastaran, Cyrille Artho