Skip to content

Instantly share code, notes, and snippets.

Avatar

Aakarshit Uppal aksh1618

View GitHub Profile
@aksh1618
aksh1618 / fur_elise_winapi.cpp
Created April 12, 2018 05:14
C++ Windows API Für Elise
View fur_elise_winapi.cpp
// Adapted from https://gist.github.com/spara/1832855
#include<bits/stdc++.h>
#include<windows.h>
#include<stdlib.h>
using namespace std;
int main()
{
@aksh1618
aksh1618 / sets_union_family.py
Last active October 16, 2018 09:10
Python script to return family of sets formed by taking union of all combinations of input sets
View sets_union_family.py
#!/usr/bin/env python3
"""
Python script to return family of sets formed by taking union of all combinations of input sets
Input: Number of input sets on first line, Space separated set elements on subsequent lines
Output: List containing members of union family of input sets
Example:
$~ ./sets_union_family.py
3
1 2
2 3
@aksh1618
aksh1618 / about_app.md
Created February 19, 2019 23:22
About Bitotsav '19 App
View about_app.md

Bitotsav '19 App

Get it on Google Play

With the advent of wireless communication and the world wide web, the transfer of information has become easier than ever. In a dynamic event like Bitotsav where around 45 events will be conducted in just three days, efficient propagation of information is really important. But you do not have to worry as we have you covered. Ladies and gentlemen, the Bitotsav '19 App is live. From venue changes to points table, stay up to date on everything that happens during the extravaganza.

Features

  • Profile: Login with Bitotsav Id to access Team Statistics, Activity and Night Pass status.
@aksh1618
aksh1618 / 🎞 My last watched movies
Last active September 15, 2020 12:17
🎞 My last watched movies
View 🎞 My last watched movies
Ad Astra 29-08-20
Gladiator 23-08-20
Greyhound 16-08-20
Project Power 15-08-20
Stuart: A Life Backwards 15-08-20
@aksh1618
aksh1618 / 🎵 My last week in music
Last active April 5, 2022 00:41
🎵 My last week in music
View 🎵 My last week in music
Rex Orange County ████▊░░░░░░░░░░░░ 12 plays
Music for Leaving Dogs Ho █▌░░░░░░░░░░░░░░░ 4 plays
Rachel Chinouriri █▌░░░░░░░░░░░░░░░ 4 plays
Role Model █▌░░░░░░░░░░░░░░░ 4 plays
BBC World Service █▏░░░░░░░░░░░░░░░ 3 plays
Benjamin Shadows █▏░░░░░░░░░░░░░░░ 3 plays
Del Water Gap █▏░░░░░░░░░░░░░░░ 3 plays
Leith Ross █▏░░░░░░░░░░░░░░░ 3 plays
Patsy Cline █▏░░░░░░░░░░░░░░░ 3 plays
Relaxing Piano For Pets █▏░░░░░░░░░░░░░░░ 3 plays
@aksh1618
aksh1618 / 📺 My last watched shows
Last active September 15, 2020 12:16
📺 My last watched shows
View 📺 My last watched shows
S03E01 The Expanse 14-09-20
S02E13 The Expanse 14-09-20
S02E12 The Expanse 14-09-20
S02E11 The Expanse 14-09-20
S02E10 The Expanse 13-09-20
@aksh1618
aksh1618 / 📊 My movie + shows statistics
Last active April 5, 2022 00:41
📊 My movie + shows statistics
View 📊 My movie + shows statistics
I've watched 455 movies and 2728 episodes of 102 shows.
My favorite 3 genres are:
drama ███▌░░░░░░░░░░░░░░░░░ 17.2%
comedy ██▍░░░░░░░░░░░░░░░░░░ 11.9%
action ██▎░░░░░░░░░░░░░░░░░░ 11.0%
@aksh1618
aksh1618 / 💻 My Code::Stats XP (Top Languages)
Last active April 29, 2022 00:43
💻 My Code::Stats XP (Top Languages)
View 💻 My Code::Stats XP (Top Languages)
Total XP :::::::::::::::::::::: lvl 30 (1,480,792 XP)
Java :::::::::::::::::::::::::: lvl 22 ( 830,954 XP)
Kotlin :::::::::::::::::::::::: lvl 9 ( 132,468 XP)
XML ::::::::::::::::::::::::::: lvl 7 ( 90,400 XP)
Python :::::::::::::::::::::::: lvl 7 ( 88,350 XP)
Markdown :::::::::::::::::::::: lvl 6 ( 67,542 XP)
YAML :::::::::::::::::::::::::: lvl 6 ( 64,748 XP)
Plain text :::::::::::::::::::: lvl 5 ( 56,064 XP)
Git Commit Message :::::::::::: lvl 4 ( 36,449 XP)
Properties :::::::::::::::::::: lvl 3 ( 19,034 XP)
@aksh1618
aksh1618 / Kotlin 1.4 Online Event Summary
Last active July 24, 2021 12:36
Kotlin 1.4 Online Event Summary
View Kotlin 1.4 Online Event Summary
Day-wise summaries of talks of the Kotlin 1.4 Online Event
@aksh1618
aksh1618 / flac2mp3.sh
Created October 19, 2020 05:21
Script to use ffmpeg with libmp3lame for VBR encoding of tree of FLACs to tree of mp3s
View flac2mp3.sh
#!/bin/sh
# Based on https://github.com/patrodyne/patrodyne-scripts/tree/master/flac2mp3
# Modified by aksh1618
# PatroDyne: Patron Supported Dynamic Executables, http://patrodyne.org
# MIT license: https://raw.githubusercontent.com/patrodyne/patrodyne-scripts/master/LICENSE
#
# flac2mp3.sh - Linux script to convert FLAC audio files to MP3 files.
#
# Usage:
#