Skip to content

Instantly share code, notes, and snippets.

View iayanpahwa's full-sized avatar
One more coffee please

Ayan Pahwa iayanpahwa

One more coffee please
View GitHub Profile
@iayanpahwa
iayanpahwa / OpenSK-ios.log.txt
Created September 28, 2023 15:20
OpenSK-ios.log
Device : Apple iPhone
ios Version : 17.0.1
```
> JLinkRTTClient
###RTT Client: ************************************************************
###RTT Client: * SEGGER Microcontroller GmbH *
###RTT Client: * Solutions for real time microcontroller applications *
###RTT Client: ************************************************************
###RTT Client: * *
@iayanpahwa
iayanpahwa / gist:efc6685d21650bd1920223fdb063a272
Created November 17, 2021 10:21
home server : docker-compose.yml
version: '3.6'
services:
influxdb:
container_name: influxdb
image: "influxdb:latest"
restart: unless-stopped
ports:
- 8086:8086
- 8083:8083
@iayanpahwa
iayanpahwa / IoT at Mentor
Last active February 17, 2020 17:52
Getting up and running on Arduino for IoT using ESPxx
Step 1 : Install latest Arduino IDE
Go to https://www.arduino.cc/en/Main/Software and install latest arduino IDE for your OS
Step 2 : Install USB to TTL Drivers
NodeMCU bords which we will be using in this workshop comes with SiliconLabs CP2102 USB to TTL convertor.
While most OS these days support this chip out the box, if not !! install the drivers from here:
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
Step 3: Install ESP core for Arduino IDE
This step will install the board support package for ESP8266 boards as well as compiler and flashing tool
sudo pip install paho-mqtt
sudo apt-get update
########### PYTHON 3 #############
from gpiozero import LED
from time import sleep
@iayanpahwa
iayanpahwa / Yocto.md
Last active July 1, 2018 08:20
Yocto

Install dependencies:

UBUNTU: sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
build-essential chrpath socat libsdl1.2-dev xterm

FEDORA: sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath
ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue socat \

@iayanpahwa
iayanpahwa / RaspberryPi_Jam_Getting_Started_Guide(Headless).md
Last active March 2, 2018 19:03
RaspberryPi Jam- Getting Started Guide(Headless)

Download latest raspbian operating system from RaspberryPi foundation Downloads page, preferably Lite Image i.e w/o Desktop Environment, since we would be using our Pi Headless '''wget https://downloads.raspberrypi.org/raspbian_lite_latest'''

Unzip the downloaded file to obtain image/iso file using following command: '''unzip 2017-06-21-raspbian-jessie-lite.zip'''

Next step is to flash the image packaged with Root file system(rootfs), Kernel and DTB to SD card. This can be done in two ways:

  1. People who prefer GUI Download etcher from https://etcher.io/ which is a cross platform tool to flash images to media storage devices.

Keybase proof

I hereby claim:

  • I am iayanpahwa on github.
  • I am iayanpahwa (https://keybase.io/iayanpahwa) on keybase.
  • I have a public key ASCB3Iy4X5fAhkJi6Ak07QjDi8kATmX8wiMwdOwYToJdaQo

To claim this, I am signing this object: