Skip to content

Instantly share code, notes, and snippets.

View laughingclouds's full-sized avatar
:octocat:
idk

Hemant Bhandari laughingclouds

:octocat:
idk
  • Chandigarh, India
View GitHub Profile
@laughingclouds
laughingclouds / Makefile
Last active October 20, 2021 21:18
Recursively remove all the files that don't have the specified extension.
# Better than the rest, a frickin' makefile!
# https://www.cs.colby.edu/maxwell/courses/tutorials/maketutor/
CC=gcc
CFLAGS=-I.
DEPS = header_file.h
OBJ = file1.c file2.c and_so_on.c
%.o: %.c $(DEPS) # for compiling the object code
$(CC) -c -o $@ $< $(CFLAGS)
@laughingclouds
laughingclouds / index.html
Last active August 25, 2021 13:21
HTML code and CSS rules for a wave like animation, more animation sources given in the comments
<!-- code taken from: https://blog.hubspot.com/website/css-loading-animation -->
<!-- code pen link: https://codepen.io/Bilal1909/pen/pobgJae -->
<!-- The style rules and the div element code should be kept together.
They've been kept seperately for just cleanliness -->
<div class="center">
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
@laughingclouds
laughingclouds / InstagramFollowersFollowing.js
Created August 24, 2021 08:19
Code related to instagram foo.
/**Work in progress**/
@laughingclouds
laughingclouds / LinkedInFollowersConnections.js
Last active September 25, 2021 07:25
The code in this gist allows you to get the list of linkedin connections and followers you have.
/*
Connections
navigate to:
https://www.linkedin.com/mynetwork/invite-connect/connections/
*/
Object.values(document.getElementsByClassName("mn-connection-card__name")).map(item => item.innerText);
/*
Followers