Skip to content

Instantly share code, notes, and snippets.

Anuj Deshpande anujdeshpande

Block or report user

Report or block anujdeshpande

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View a-good-engineer.md

There are so many things I wish I started doing earlier. Just in case I run into a time-travel scenario, here's a list of things -

Developing hardware

  • Better cabling and wire management
  • Don't use single strand wires.
  • Keep a bunch of hardware scripts soldered and ready
    • Using a transistor as switch
View boldport-proto-vs-prod.md

Boldport, one of the interwebs better known hardware design guys went on a rant on how prototyping is so very different from production. If you have ever held a solder gun, or intend to, you should read this.

Why did your "hardware startup" Kickstarter fail? Because none of your prototyping skills are required for production. source

Skill Prototyping Production
coding sloppy efficient
View generate.py
import json, os
import pprint
# Generated voices.json with `aws polly describe-voices > voices.json`
with open('voices.json') as json_data:
d = json.load(json_data)
with open("a.txt") as f:
content = f.readlines()
# you may also want to remove whitespace characters like `\n` at the end of each line
content = [x.strip() for x in content]
@anujdeshpande
anujdeshpande / types-of-internet-connected.md
Last active Mar 15, 2018
Types of Internet connected devices
View types-of-internet-connected.md

Types of Internet connected devices

Medium Examples
Cellular Asset tracking, weather stations
Wi-Fi Lightbulbs,
Ethernet Printers, Card readers
@anujdeshpande
anujdeshpande / README
Created Sep 26, 2013
Resize rootfs on Pi
View README
Check your partitions. You should have 3(1, 2 and 5)
fdisk -l /dev/mmcblk0
Time to resize partitions to occupy the complete SD card.
fdisk /dev/mmcblk0
Now delete extended, logical. Create extended, logical.
View gist:0ddf9d4b7d315c6b818e
import os, re
from PyPDF2 import PdfFileMerger, PdfFileReader
pages = ['ADS786x',
'ADT7310',
'API-Documentation',
'Analog-to-digital-converter',
'BBIOServer',
'DACx311',
'Digital-IO',
You can’t perform that action at this time.