Skip to content

Instantly share code, notes, and snippets.

View TwistingTwists's full-sized avatar
💭
Elixir dev

Abhishek Tripathi TwistingTwists

💭
Elixir dev
  • None
  • 22:42 (UTC +05:30)
View GitHub Profile
This file has been truncated, but you can view the full file.
openapi: 3.0.0
info:
contact:
name: Zoom Developers
url: https://developer.zoom.us/
description: "The Zoom Meeting API lets developers access information from Zoom.\
\ You can use this API to build private services or public applications on the\
\ [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your\
\ credentials and create private/public applications, see our [OAuth](https://developers.zoom.us/docs/integrations/oauth/)\
\ documentation. \n\nAll endpoints are available via `https` and are located at\
This file has been truncated, but you can view the full file.
{"openapi":"3.0.0","info":{"contact":{"name":"Zoom Developers","url":"https://developer.zoom.us/"},"description":"The Zoom Meeting API lets developers access information from Zoom. You can use this API to build private services or public applications on the [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your credentials and create private/public applications, see our [OAuth](https://developers.zoom.us/docs/integrations/oauth/) documentation. \n\nAll endpoints are available via `https` and are located at `api.zoom.us/v2/`. For example, to list all of an account's users, use the `https://api.zoom.us/v2/users/` endpoint.","termsOfService":"https://zoom.us/docs/en-us/zoom_api_license_and_tou.html","title":"Zoom Meeting API","version":"2.0.0"},"servers":[{"url":"https://api.zoom.us/v2"}],"paths":{"/accounts/{accountId}/managed_domains":{"get":{"parameters":[{"description":"The account's ID. For the Master account, pass the `me` value for this parameter.","in":"path","name":"accountId","req
@TwistingTwists
TwistingTwists / cenc.proto
Created March 18, 2023 09:04
testing widevine
// Copyright 2016 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
//
// This file defines Widevine Pssh Data proto format.
syntax = "proto2";
@TwistingTwists
TwistingTwists / main.go
Created March 11, 2023 05:01
drm server
package main
import (
"bufio"
"crypto/rand"
"encoding/base64"
"encoding/hex"
"fmt"
"io"
"io/ioutil"
@TwistingTwists
TwistingTwists / README.md
Created March 10, 2023 11:05
golang CORS allowed http server with static file serve

run it via

go run main.go from the directory you want to server static files from .

@TwistingTwists
TwistingTwists / extensions to install
Last active January 27, 2023 15:19
vscode settings for enabling html markups in heex files
https://github.com/vincaslt/vscode-highlight-matching-tag
https://github.com/formulahendry/vscode-auto-rename-tag
https://github.com/formulahendry/vscode-auto-close-tag
defmodule Helpers.ColorIO do
# random comments - garbage collector
# {:purge_logical_names_after_every, "PURGE_LOGICAL_NAMES_AFTER_EVERY",
# required: false, map: &String.to_integer/1},
@the_types [
:number,
:atom,
:string,
:boolean,
defmodule Username do
def sanitize(username) do
# ä becomes ae
# ö becomes oe
# ü becomes ue
# ß becomes ss
for u <- username do
case u do
@TwistingTwists
TwistingTwists / .zshrc
Last active March 30, 2025 04:21
default setup for a new ubuntu machine
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"

I am a graduate from IIT Kharagpur, 2017 Batch in Materials Science. I attempted 2017 prelims(CSP) right out of college and luckily was able to make it to mains 2017. While it was a confidence booster, it made me aware of the changing pattern of importance of current affairs in preparation.

Besides preparing for UPSC since 2017 (basically, since 'out of college'), I have been practising yoga as a hobby to keep me engaged and healthy. Over few (3) years, I have realised how important it is to churn out 15 min yoga session even on a mains day! Phew! that was tough. I write poems - both in Hindi and English. Some of them are published on my blog here. It ranges from philosophical to something as mundane as a [lemon](https://medium.com/@tripathi456/%E0%A4%A8%E0%A5%80%E0%A4%AE%E0%A5%8D%E0%A4%AC%E0%A5%82-34a92537624c?s