Skip to content

Instantly share code, notes, and snippets.

View ashishnitinpatil's full-sized avatar
:octocat:
Building, block by block :)

Ashish Patil ashishnitinpatil

:octocat:
Building, block by block :)
View GitHub Profile
@ashishnitinpatil
ashishnitinpatil / bulk-compressor-io.py
Last active February 15, 2023 16:52
Bulk / batch compress multiple image files via compressor.io
#!/usr/bin/python3
# Requires python >= 3.6 (f-strings)
# Tested on Selenium 3.141 with Firefox 66 on Ubuntu 19.04
# Obligatory thank-you to compressor.io for such a lovely service!
# Kindly don't abuse the script and keep decent space between subsequent requests to the service! (Scraping 101)
import os
import glob
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real