Skip to content

Instantly share code, notes, and snippets.

View mehranattari's full-sized avatar

Muhammad Mehran Khan mehranattari

View GitHub Profile
import advertools as adv
import pandas as pd
key = 'YOUR_GOOGLE_KEY'
brands = [
'nike',
'adidas',
'puma',
'asics',
@mehranattari
mehranattari / Microsoft Office 2016 License
Created September 6, 2022 05:13 — forked from Netbocs/Microsoft Office 2016 License
Microsoft Office 2016 Product Key And License
NBCRJ-YJ94Q-T73WV-9PR4F-9W3VC
KNJPJ-YBFTR-42K6M-Y6FMX-BKM3P
QQ34F-N3THK-CWTFJ-HD66X-8QK7C
8FDTG-TNM2Y-C9DF9-QQ9XX-V22X2
Y89NG-BWMGT-KJPT3-B326G-683VC
@mehranattari
mehranattari / youtube-playlist-duration.js
Last active January 29, 2019 05:14 — forked from angel333/youtube-playlist-duration.js
Youtube playlist duration
// Just copy this into console while on a playlist page (https://www.youtube.com/playlist?list=.....)
console.log(((document) => {
let seconds = Array.from(document.querySelectorAll('.ytd-thumbnail-overlay-time-status-renderer'))
.map((span) => {
let time = span.textContent.split(':');
return (Number(time[0]) * 60) + Number(time[1]);
})
.reduce((a,b) => {
return a + b;
<?php
/**
* Checkout Form
*
* This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-checkout.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
@mehranattari
mehranattari / app.vue
Created February 3, 2018 12:10 — forked from dohomi/app.vue
Small file input element based on vuetify
<template>
<file-input v-model="filename" @formData="formData">
<v-btn @click.native="uploadFiles">
</template>
<script>
import fileInput from './file-input.vue'
export default{
components:{fileInput}