Skip to content

Instantly share code, notes, and snippets.

View rnagarajanmca's full-sized avatar

Nagarajan rnagarajanmca

View GitHub Profile
Install AWS CLI using following command
>pip install awscli
Integrated shell for AWS CLI, Can be used for tab completion, Command suggestions
>pip install aws-shell
@rnagarajanmca
rnagarajanmca / aws_cli_iot.md
Last active May 22, 2019 18:27
Instructions to use AWS IoT through CLI
Create a Thing
>aws iot create-thing --thing-name Thing1
 {
    "thingArn": "arn:aws:iot:us-west-2:747839..:thing/Thing1",
    "thingName": "Thing1"
}
List all Things

Preparing RPi to connect with AWS IoT

Follow the steps to setup RPi as AWS IoT thing Do a Raspbian update by using following command

>sudo apt-get update
>sudo apt-get upgrade

Minimum Requirements

@rnagarajanmca
rnagarajanmca / emulate_rpi_on_windows.md
Last active March 24, 2024 14:34
Raspberry pi emulator for windows

Emulate Raspberry pi on windows

Following files required to emulate raspberry pi on windows

  • QEMU Emulator
  • Raspberry pi kernel
  • Raspberry pi OS image

QEMU emulator

  • QEMU is an emulator
@rnagarajanmca
rnagarajanmca / opencv_guide.md
Created August 4, 2017 13:26
Open CV Reference

Install OpenCV under windows environment

  • Install anaconda
  • Create anaconda environment
  • Use conda install -c menpo opencv3 to install opencv
@rnagarajanmca
rnagarajanmca / install_ffmpeg_ubuntu.md
Created August 12, 2017 03:41
Install FFMPEG in ubuntu

Install FFMPEG in ubuntu

sudo add-apt-repository ppa:mc3man/trusty-media

sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install ffmpeg

Get Mac id of ESP8266

#include <Arduino.h>
#include <ESP8266WiFi.h>
void setup() {
    Serial.begin(115200);
    Serial.println("Mac address:"+WiFi.macAddress());
}

Get Mac ID

#include <Arduino.h>
#include <ESP8266WiFi.h>
void setup() {
    Serial.begin(115200);
    Serial.println("Mac address:"+WiFi.macAddress());
}
@rnagarajanmca
rnagarajanmca / raspberrypi_usb_audio.md
Last active November 18, 2023 11:11
Configure Raspberry pi with USB Audio

Device specifications

List USB Device

Once you connected the USB Audio device with Raspberry pi use following command to see the list of connected USB device

@rnagarajanmca
rnagarajanmca / jenkins_ios_setup.md
Last active September 12, 2017 10:44
Setting up jenkins for ios build

Troubleshooting

  • When jenkins build throws following error
     Going to invoke xcodebuild:target: Sampleapp, sdk: DEFAULT, workspace: Sampleapp, clean: YES, archive:NO, symRoot: DEFAULT, buildDir: DEFAULT, developmentTeamID: XXXXXXX
    [Sampleapp] $ /usr/bin/xcodebuild -target Sampleapp -workspace Sampleapp.xcworkspace clean build DEVELOPMENT_TEAM=XXXXXXX
    xcodebuild: error: You cannot specify targets with a workspace.

xcodebuild: error: If you specify a workspace then you must also specify a scheme. Use -list to see the schemes in this workspace.