Skip to content

Instantly share code, notes, and snippets.

View vinaysshenoy's full-sized avatar

Vinay Shenoy vinaysshenoy

  • https://www.qweebi.com
  • Bangalore, India
View GitHub Profile
@yuriteixeira
yuriteixeira / puppeteer_chromedevtools_android.md
Created August 28, 2018 08:41
Puppeteer/Chrome Dev Tools Protocol: How to manipulate Android Chrome or WebViews

First of all, get prepared by installing the Android SDK and SDK tools in order to get the adb executable. Then:

  1. adb connect <device ip>

  2. To get the service name `adb shell "cat /proc/net/unix | grep devtools_remote", which will give you something like this output:

00000000: 00000002 00000000 00010000 0001 01 423897 @webview_devtools_remote_18279
@vinaysshenoy
vinaysshenoy / bootstrap.sh
Last active July 23, 2024 03:58
Bootstrap file to setup a new account on macOS (10.15+)
#!/bin/zsh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install jenv
brew install nvm
mkdir ~/.nvm
brew cask install gpg-suite
brew tap AdoptOpenJDK/openjdk
@stettix
stettix / things-i-believe.md
Last active May 19, 2025 18:13
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@danbars
danbars / index.js
Last active August 5, 2024 09:27
Generate Google access token for service-account in Cloudflare workers environment
/**
You can use the code below in Cloudfalre worker environment to generate a Google access token
for a service-account.
Run this code in a worker cron so you always have a fresh token in your KV that can be used by other workers.
The generated token here will be valid for 3600 seconds, but you can change that in your code.
The code assumes that you have a KV mapped to 'PROPERTIES' in you wrangler.toml file
You must create a service-user and assign to it the roles that you need in google console.
Then take the JSON that you get and paste it below
@andreievg
andreievg / schemaspy_postgres_enum.md
Created June 11, 2022 09:10
SchemaSpy Postgres Enum

As per this issue, and own requirements, it would be great for SchemaSpy to show enum variants.

Fix for now:

  • Before running SchemaSpy
  • Manually introspect pg schema
  • Insert enum variants into a comment for the column using enum
  • Make sure to retain column and type comments

Here is example schema:

{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Vinay Shenoy",
"label": "Engineering Lead at Qweebi",
"email": "[email protected]",
"url": "",
"summary": "Software Engineer with 10+ years of experience, specializing in developer experience and consistent engineering delivery.",
"location": {
"countryCode": "SG",