Skip to content

Instantly share code, notes, and snippets.

View vaibhavsingh97's full-sized avatar
πŸ˜‡

Vaibhav Singh vaibhavsingh97

πŸ˜‡
View GitHub Profile
@ekas
ekas / learn_typescript.md
Last active December 8, 2022 02:14
Let's Gear Up for TypeScript

πŸš€ πŸš€ Let's Gear Up for TypeScript πŸŽ‰ πŸŽ‰

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open source.

Basic Types

  • Boolean
let isDone: boolean = false;
@number5
number5 / awscli-pyyaml-fix.md
Last active June 7, 2019 21:12
Temporary workaround to install awscli/boto3 with Homebrew Python 3.7 (before PyYAML fix their python3.7 releases)
  1. pip3 install awscli boto3 (this step will fail but will install all deps exclude pyyaml for us)
  2. pip3 install pyyaml==4.2b4
  3. pip3 install --no-deps awscli boto3

See yaml/pyyaml#193 for what's happening with pyyaml

@angela-d
angela-d / gpg-key-migration.md
Created April 1, 2018 23:57
Move GPG Keys from One Machine to Another

Migrate GPG Keys from One Workstation to Another

Replace [your key] with your key ID

To obtain your key ID

gpg --list-secret-keys --keyid-format LONG

Which returns something like

@DevKhokhar
DevKhokhar / indian_women_in_data.md
Last active December 23, 2021 09:22
List of Indian women who represent the data space in India and globally

Below is a list of Indian women who have contributed it to the data space in India and globally - be it Data Strategy, Data Engineering, Machine Learning, Artificial Intelligence, Data and Public Policy, or any other related field. Please feel free to add in the missing names. I have arranged the names alphabetically for easy searchability. Please do add the name, twitter handle (if available), linkedin profile (if available), link(s) to their public blogs/videos (if available) and the area of specialization. Also, don't forget to add in your name below to the link of contributors. This isn't an individual's effort - this will work only if more and more people contribute. Thanks!

*Note: I have started with just the Indian women here because I wanted to bring attention to some of the inspirational women at the national level. However, if you want to replicate it for any other country or even at a global level, please feel free to either add in into the same list (adding an additional column of course) or cr

@CodingDoug
CodingDoug / README.md
Last active March 1, 2025 02:52
Building an assistant (chatbot) that translates languages, integrated with Slack
import asyncio
loop = asyncio.get_event_loop()
async def hello():
await asyncio.sleep(3)
print('Hello!')
if __name__ == '__main__':
loop.run_until_complete(hello())
@patik
patik / how-to-squash-commits-in-git.md
Last active July 24, 2025 08:48
How to squash commits in git

Squashing Git Commits

The easy and flexible way

This method avoids merge conflicts if you have periodically pulled master into your branch. It also gives you the opportunity to squash into more than 1 commit, or to re-arrange your code into completely different commits (e.g. if you ended up working on three different features but the commits were not consecutive).

Note: You cannot use this method if you intend to open a pull request to merge your feature branch. This method requires committing directly to master.

Switch to the master branch and make sure you are up to date: