Skip to content

Instantly share code, notes, and snippets.

View prantu's full-sized avatar
🏠
Working from home

Tamal Sen prantu

🏠
Working from home
View GitHub Profile
@prantu
prantu / disable-aos-on-mobile.css
Created May 23, 2020 10:30
How to disable AOS animation of specific element on mobile without disabling whole AOS library
/* How to turn off AOS animation in mobile screens?
https://stackoverflow.com/questions/53952611/how-to-turn-off-aos-animation-in-mobile-screens */
@media screen and (max-width: 480px) {
.disable-aos-mobile [data-aos],
.disable-aos-mobile[data-aos] {
/*CSS transitions*/
opacity: 1 !important;
-o-transition-property: none !important;
-moz-transition-property: none !important;
@prantu
prantu / Daraz 4Tk Deals log
Last active August 9, 2018 12:09
This log dump was taken from 3:07PM to 6PM on Thursday, August 9, 2018. In a nutshell there was no 4 Taka deals in the observed time.
C:\Users\[Username Goes Here]\daraz>python special.py
DevTools listening on ws://127.0.0.1:xx65/devtools/browser/d15eb68c-xxxx-xxxx-xxxx-xxxxxxxxxx
Opening Chrome..
Defining some functions..
Login Page..
Closing popup..
Filling Credentials..
[15:06:50] ---- GOT LOGGED IN ----
@prantu
prantu / slider-revolution-desktop-mobile.php
Last active July 11, 2018 20:32
Add different versions of Sliders for Mobile and Desktops with shortcode [WordPress]
<?php
if( !function_exists('rev_slider_detection') ) {
function rev_slider_detection( $atts ) {
extract(shortcode_atts(array(
'alias' => '' // the alias name of your desktop rev-slider
), $atts));
.fw-400 {
font-weight: 400;
}
.fw-500 {
font-weight: 500;
}
.fw-300 {
font-weight: 300;
}
.fw-200 {
@prantu
prantu / UpworkStyleFix.css
Last active March 12, 2019 01:44
Making Upwork feed great again!
/*
* Author: Tamal Sen
* WordPress Developer
* URL: https://www.upwork.com/freelancers/~01d9b20165ed79e841
*/
/* I want to increase the font fize of Job title, it looks small for me. Also make it full width */
.job-title {
font-size: 20px;
margin-right: -18% ;
@prantu
prantu / gronthodotcom-dump_27-02-2017.json
Created February 26, 2017 22:28
JSON dump file of Book Name and their download link (PDF) from my favourite book site, grontho.com. This is a output of my project written with scrapy in python. Cheers.
[
{
"bookNumber": 1,
"bookLink": "http://50.30.47.15/Ebook/English/Peace_and_its_Discontents.pdf",
"bookTitle": "Peace and It’s Discontents",
"pageLink": "http://www.grontho.com/peace-and-its-discontents/"
},
{
"bookNumber": 2,
"bookLink": "No PDF link is available",
@prantu
prantu / dhaka_bdix_hindi.txt
Last active January 27, 2017 13:27
Dump of Hindi movie list on Dhaka BDIX server (27/01/2017)
#Python 2.7
#author: Tamal Sen ([email protected])
1. 1920 London 2016
(http://114.130.38.5/apanel/admin/download/hindi_movie/1920%20London%2020161465361719.avi)
2. 3 Idiots (2009)
(http://114.130.38.5/apanel/admin/download/hindi_movie/3%20Idiots%20(2009)1459229536.mkv)
3. 36 china town
(http://114.130.38.5/apanel/admin/download/hindi_movie/36%20china%20town1471684758.mp4)
4. 3G A Killer Connection (2013)
@prantu
prantu / dhaka_bdix.html
Last active January 27, 2017 13:27
Dump of English movie list on Dhaka BDIX server (27/01/2017)
#Python 2.7
#author: Tamal Sen ([email protected])
1. 12 Rounds 3 Lockdown
(http://114.130.38.5/apanel/admin/download/english_movie/12%20Rounds%203%20Lockdown1469101436.avi)
2. 13.Hours.The.Secret.Soldiers.of.Benghazi.2016.720p.BRRip.HEVC.999MB.MkvCage
(http://114.130.38.5/apanel/admin/download/english_movie/13.Hours.The.Secret.Soldiers.of.Benghazi.2016.720p.BRRip.HEVC.999MB.MkvCage1465361708.mkv)
3. 300 Rise Of On Empire 2014
(http://114.130.38.5/apanel/admin/download/english_movie/300%20Rise%20Of%20On%20Empire%2020141466315449.MP4)
4. A country wedding 2015 HD
@prantu
prantu / gfortran.sublime-build
Created November 27, 2016 18:37
A custom build system to run Fortran (.f77, .f95, .f) on Sublime Text Editor with Gfortran compiler
{
"cmd": "gfortran ${file} -o ${file_base_name}",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"selector": "source.modern-fortran, source.fixedform-fortran",
"variants": [
{
"cmd": ["start", "cmd", "/k", "$file_base_name"],
"shell": true,