Skip to content

Instantly share code, notes, and snippets.

View sarkarshuvojit's full-sized avatar
🌀

Shuvojit Sarkar sarkarshuvojit

🌀
View GitHub Profile
@rahul286
rahul286 / fb_friend_count.js
Last active June 22, 2018 09:06
Count Facebook Friend Requests You Receive Everyday
// goto https://www.facebook.com/rahulb286/allactivity?privacy_source=activity_log&log_filter=receivedfriendrequests
// open js console
// insert jquery by copy-pasting http://code.jquery.com/jquery-latest.min.js
jQuery('#pagelet_all_activity_2018_6 ._5ep8').each(function (index) {
console.log( jQuery( this ).text() + " : " + jQuery(this).next('.uiList').find('a.profileLink').filter(':odd').length)
});
#!/bin/bash
# Anh Nguyen <anh.ng8@gmail.com>
# 2016-04-30
# MIT License
# This script takes in same-size images from a folder and make a crossfade video from the images using ffmpeg.
# Make sure you have ffmpeg installed before running.
# The output command looks something like the below, but for as many images as you have in the folder.
@melanke
melanke / MLRoundedImageView.java
Created October 25, 2013 17:19
Android Rounded Image
public class MLRoundedImageView extends ImageView {
public MLRoundedImageView(Context context) {
super(context);
}
public MLRoundedImageView(Context context, AttributeSet attrs) {
super(context, attrs);
}
@iros
iros / API.md
Created August 22, 2012 14:42
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: