Skip to content

Instantly share code, notes, and snippets.

View GermaVinsmoke's full-sized avatar
🚀
Working in space industry

Vaibhav Dangra GermaVinsmoke

🚀
Working in space industry
View GitHub Profile
@GermaVinsmoke
GermaVinsmoke / namedParameter.ts
Created February 27, 2022 11:15
File having code on how to create named parameters in Javascript/Typescript
/**
* Parameters needs to be passed in order 😣🙄😫
* Sometimes, by mistake can pass in wrong order 🤐
*/
const fun1 = (
one: string,
two: number,
three: boolean,
four: string,
five: number
@GermaVinsmoke
GermaVinsmoke / index.html
Created June 6, 2021 16:52
react-page-loader-css
<head>
<style>
body {
margin: 0;
padding: 0;
height: 100%;
}
.loader-wrapper {
width: 100%;
@GermaVinsmoke
GermaVinsmoke / index.html
Created June 6, 2021 16:51
react-page-loader-html
<div id="root">
<div class="loader-wrapper">
<div class="loader"></div>
</div>
</div>
@GermaVinsmoke
GermaVinsmoke / circle.yml
Created January 2, 2020 14:13 — forked from knowbody/circle.yml
Zeit now.sh and CircleCI config
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 7.10.0
dependencies:
override:
- yarn
cache_directories:
@GermaVinsmoke
GermaVinsmoke / 1.1-4.c
Last active September 9, 2018 12:23
Add two unequal size binary numbers
#include <stdio.h>
#include <malloc.h>
int *makeEqualSize(int *, int, int);
// int calculateArraySize(int *);
void display(int *, int);
int main()
{
int b1[] = {1, 1, 0, 0, 1, 0, 1, 0};
int b2[] = {1, 0, 1, 0};
@GermaVinsmoke
GermaVinsmoke / movies.py
Created September 8, 2018 14:29
Compare movie ratings from different website
import requests as r
import bs4 as bs
import re
from imdb import IMDb
import matplotlib.pyplot as plt
import sys
# Functions
def rottenTomatoScrap(movieName):