Skip to content

Instantly share code, notes, and snippets.

View anujdeshpande's full-sized avatar

Anuj Deshpande anujdeshpande

View GitHub Profile
@anujdeshpande
anujdeshpande / list.md
Last active October 9, 2023 17:03
Indian e-commerce stores for getting electronic components and modules
@carelvwyk
carelvwyk / email.go
Created February 22, 2018 12:40
Building an email in Golang to be delivered using Amazon SES
func buildEmailInput(source, destination, subject, message string,
csvFile []byte) (*ses.SendRawEmailInput, error) {
buf := new(bytes.Buffer)
writer := multipart.NewWriter(buf)
// email main header:
h := make(textproto.MIMEHeader)
h.Set("From", source)
@ldez
ldez / gmail-github-filters.md
Last active April 3, 2024 11:53
Gmail and GitHub - Filters

Gmail and GitHub

How to filter emails from GitHub in Gmail and flag them with labels.

The labels in this document are just examples.

Pull Request

Filter Label
@bretmcg
bretmcg / speech_api.sh
Last active September 13, 2018 09:49
Call the Google Cloud Speech API from command line
#!/bin/bash
# This is not an official Google product.
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
RC-Input notes:
Use the following code to implemment the three receiving techniques: PPM-SUM, SBUS, DSM
- PPM-SUM code: https://github.com/diydrones/PX4Firmware/blob/master/src/drivers/stm32/drv_hrt.c#L444
- SBUS driver code: https://github.com/diydrones/PX4Firmware/blob/master/src/modules/px4iofirmware/sbus.c
- DSM, uses UART: https://github.com/diydrones/PX4Firmware/blob/master/src/modules/px4iofirmware/dsm.c
parts recommended by Andrew DSM:
- http://www.hobbyking.com/hobbyking/store/__38392__OrangeRx_R800X_Spektrum_Compatible_DSMX_8Ch_2_4Ghz_TwinPort_Rx.html
- http://www.hobbyking.com/hobbyking/store/__39247__OrangeRX_DSMX_DSM2_2_4Ghz_Transmitter_Module_JR_Turnigy_compatible_AUS_Warehouse_.html
- http://www.hobbyking.com/hobbyking/store/__52307__OrangeRx_R100_Spektrum_JR_DSM2_Compatible_Satellite_Receiver_EU_Warehouse_.html
@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing
@kylemanna
kylemanna / connmanctl.md
Last active June 27, 2023 23:12
Connmanctl Cheat Sheet
@briandoll
briandoll / A_toast_to_you.md
Last active March 19, 2022 01:17
Toasts! - scripts to convert images attached to GitHub issues into an animated gif for serious celebratory purposes

To toast:

  • Make sure you have ImageMagick installed (brew install imagemagick)
  • Change line 7 of toast.rb to the repository name you're working with
  • toast!
$ bundle install
$ ./get_token [user] [pass]
$ export GHUSER=[myuser]