Skip to content

Instantly share code, notes, and snippets.

View subins2000's full-sized avatar
♥️
ആരാണു് സമാധാനം ആഗ്രഹിക്കാത്തതു്. Queen - 39

Subin Siby subins2000

♥️
ആരാണു് സമാധാനം ആഗ്രഹിക്കാത്തതു്. Queen - 39
View GitHub Profile
@subins2000
subins2000 / Instagram Scraper.md
Created October 18, 2020 10:51
Instagram Scraper for Varnam
instagram-scraper --media-metadata --media-types none --latest --latest-stamps scrape-timestamps -f usernames

Note :

  • Don't scrape comments, more faster api limit hit
@subins2000
subins2000 / fix-rotation-by-exif-orientation-of-pictures.py
Created January 1, 2022 17:38
Fixes the rotation of images in a folder by their EXIF orientation property. Useful for Wikimedia Commons uploads
#!/usr/bin/env python3
import glob
import sys
from PIL import ImageOps, Image
dirpath = sys.argv[1]
try:
images = glob.glob(dirpath + "/*.jpg")
@subins2000
subins2000 / subinsb.com.stats.md
Last active January 30, 2020 14:16
Stats of subinsb.com and subdomains

2017 Sep 22

Period : Beginning to 2017 Sep 21

Domain Users Pageviews Remarks
subinsb.com 1,200,730 1,622,623 Still on StatCounter
demos.subinsb.com 409,956 1,264,795 26 Apr 2013 - 30 September 2016 by Statcounter (334,316, 963,291). Since then, Google Analytics
open.subinsb.com 38,924 109,038
search.subinsb.com 19,676 69,453
@subins2000
subins2000 / answers.md
Last active November 25, 2017 09:07
Module 6 Answers of ICP 2016 & 2017 Exam Papers
<?php
/**
* @author Subin Siby <subinsb.com>
*/
function getInput()
{
return trim(fgets(STDIN));
}
@subins2000
subins2000 / caesar-cipher.php
Created September 8, 2017 08:35
Caesar cipher
<?php
/**
* @author Subin Siby <subinsb.com>
*/
function getInput()
{
return trim(fgets(STDIN));
}
function encrypt($i, $k)
@subins2000
subins2000 / console.js
Created June 19, 2017 08:34
WordPress newsletter Plugin : Resend Confirmation To All persons Shows In List
/**
* Run this in browser console
*/
!function(c){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.onload=c,t.src="https://malsup.github.io/jquery.form.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}(function(){
jQuery("td:nth-child(1)").each(function(){
jQuery('form#channel').find('[name=btn]').val(jQuery(this).text().replace(/(\r\n|\n|\r)/gm,"").trim());
jQuery('form#channel').find('[name=act]').val('resend');
jQuery('form#channel').ajaxSubmit();
});
});
@subins2000
subins2000 / console.js
Created June 19, 2017 08:34
WordPress newsletter Plugin : Resend Confirmation To All persons Shows In List
!function(c){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.onload=c,t.src="https://malsup.github.io/jquery.form.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}(function(){
jQuery("td:nth-child(1)").each(function(){
jQuery('form#channel').find('[name=btn]').val(jQuery(this).text().replace(/(\r\n|\n|\r)/gm,"").trim());
jQuery('form#channel').find('[name=act]').val('resend');
jQuery('form#channel').ajaxSubmit();
});
});
srcdir = /home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/php/src
builddir = /home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/php/src
top_srcdir = /home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/php/src
top_builddir = /home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/php/src
EGREP = /bin/grep -E
SED = /bin/sed
CONFIGURE_COMMAND = './configure' '--host=' '--with-pic' '--with-sqlite3' '--with-pdo-mysql' '--with-pdo-sqlite' '--with-curl=/home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/curl/output' '--with-openssl=/home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/openssl/output' '--with-mcrypt=/home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/libmcrypt/output' '--with-libxml-dir=/home/simsu/Other/projects/Web/Lobby/Zed/Auto/Android/Installer/compile/libxml2/output' '--with-config-file-path=php.ini' '--with-config-file-scan-dir=.' '--enable-cli' '--enable-pd