Skip to content

Instantly share code, notes, and snippets.

View aksh1618's full-sized 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
// 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
#!/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

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
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 March 1, 2024 00:32
🎵 My last week in music
Future Islands ███████▎░░░░░░░░░ 12 plays
Noah Kahan ██████▋░░░░░░░░░░ 11 plays
Bombay Bicycle Club ██▍░░░░░░░░░░░░░░ 4 plays
Borderlands ▌░░░░░░░░░░░░░░░░ 1 plays
@aksh1618
aksh1618 / 📺 My last watched shows
Last active September 15, 2020 12:16
📺 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
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 February 29, 2024 15:15
💻 My Code::Stats XP (Top Languages)
Total XP :::::::::::::::::::::: lvl 34 (1,859,924 XP)
Java :::::::::::::::::::::::::: lvl 24 ( 968,265 XP)
Kotlin :::::::::::::::::::::::: lvl 10 ( 191,046 XP)
XML ::::::::::::::::::::::::::: lvl 7 ( 96,320 XP)
Rust :::::::::::::::::::::::::: lvl 7 ( 94,226 XP)
Python :::::::::::::::::::::::: lvl 7 ( 89,275 XP)
YAML :::::::::::::::::::::::::: lvl 7 ( 86,999 XP)
Markdown :::::::::::::::::::::: lvl 6 ( 78,309 XP)
Plain text :::::::::::::::::::: lvl 6 ( 58,854 XP)
Git Commit Message :::::::::::: lvl 5 ( 45,256 XP)
@aksh1618
aksh1618 / Kotlin 1.4 Online Event Summary
Last active July 24, 2021 12:36
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
#!/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:
#