Skip to content

Instantly share code, notes, and snippets.

View boseji's full-sized avatar
💭
Accelerating dreams into infinity.

Abhijit Bose boseji

💭
Accelerating dreams into infinity.
View GitHub Profile
#!/bin/bash
# Backup the Network Config
cp /etc/network/interfaces /etc/network/interfaces.bak
cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.bak
# GUI-related packages
pkgs="
xserver-xorg-video-fbdev
xserver-xorg xinit
@boseji
boseji / wdt_sleep.ino
Created December 16, 2016 13:37
Arduino Pro Mini Low power Sleep Example
/**
* Arduino Pro Mini Low power Sleep Example
*
* @license BSD Open Source License
* Copyright (c) 2004-2021 Abhijit Bose < salearj [at] hotmail [dot] com >
* If you require a license, see
* http://www.opensource.org/licenses/bsd-license.php
*
* @note
* This example show how to properly enter sleep mode and wake up
@boseji
boseji / LinkIt Smart 7688 Wi-Fi multi-role Configuration Update Readme.md
Last active May 18, 2017 14:40
LinkIt Smart 7688 Wi-Fi multi-role Configuration Update

Steps for Configuring the Multimode WiFi on LinkIt Smart 7688

  1. Log Into the LinkIt Smart 7688 One can connect to the LinkIt Smart via AP interface or via USB to Serial. See the user manual

  2. Copy the file ralink.sh to /lib/netifd/wireless/ralink.sh on the LinkIt Smart 7688 One can copy the file via SCP from the host machine. Or connecting a usb flash drive to the host port.

  3. Give the Command to make this file executiable:

@boseji
boseji / Project_WiFi_Display.ino
Created July 17, 2016 15:57
ESP8266 Based WiFi display Project
/**
* Project WiFi Display
*
* This project is intends to enable WiFi Connectivity for the LED Panel
* In order to do, a WiFi Accesspoint configuration is used.
* The WiFi Access point serves a Dynamic Page where the text to
* be sent can be written and the same would passed on through
* Serial Port on ESP8266.
* This program was tested on a NodeMCU V1 with ESP-12E module.
* There are two serial ports being used the `Serial` which is
@boseji
boseji / esp8266-devkit-build-Info.txt
Created May 14, 2016 07:19
Instructions for compiling the https://github.com/CHERTS/esp8266-devkit ESP8266 Windows Dev Kit
Here are the instructions:
1. Install the MinGW with MSYS and MSyS MinGW Dev system checked
2. Download the Repository from
https://github.com/CHERTS/esp8266-devkit
3. Copy the Downloaded Repository Folder to Root "C:" making it =:
C:\esp8266-devkit
4. Open Administrator command prompt ("Type cmd in search bar, then rightclick on the icon and Run as Administrator")
5. Now cd C:\esp8266-devkit\Espressif
6. Run Command "install-mingw-package.bat" - press enter to begin
7. Once the package installation is complete then close the Command window
@boseji
boseji / Makefile
Last active May 13, 2016 04:20 — forked from fpoussin/Makefile
ESP8266 windows build makefile for basic Firmware Building and programming
# tnx to mamalala
# Changelog
# Changed the variables to include the header file directory
# Added global var for the XTENSA tool root
#
# Output directors to store intermediate compiled files
# relative to the project directory
BUILD_BASE = build
FW_BASE = firmware
@boseji
boseji / build.sh
Last active May 13, 2016 04:06 — forked from fpoussin/build.sh
Build script for the Xtensa toolchain. (Mingw/linux) for ESP8266 Windows Compiler
#!/bin/bash
# Author: Fabien Poussin
# Last edit: 20/11/2014
#
# You will need the following mingw32/64 or equivalent linux packages to build it:
# msys gcc msys-coreutils msys-wget msys-autoconf msys-automake msys-mktemp
#
# Use mingw-get to install these.
# run this script from msys's or any unix console.
@boseji
boseji / keilclean.bat
Created November 12, 2015 14:26
Keil ARM Project Cleaning File to reduce size of project by clearing of the Generated files after Compilation. Also works for nRF51 and STM32 Cube MX generated projects
del /F /Q *.uvguix.* *.lst
del /F /Q JLinkLog.txt
del /F /Q JLinkSettings.ini
rmdir /S /Q RTE
FOR /f "tokens=*" %%a in ('dir *Configur* /A:D /B /S') DO rmdir /S /Q "%%a"
rmdir /S /Q _build
@boseji
boseji / register.py
Last active August 29, 2015 14:13
Windows Python Path Registration Script
#
# script to register Python 2.0 or later for use with win32all
# and other extensions that require Python registry settings
#
# written by Joakim Low for Secret Labs AB / PythonWare
#
# source:
# http://www.pythonware.com/products/works/articles/regpy20.htm
#
# Websource:
@boseji
boseji / py-commandline-executable-program.py
Last active August 29, 2015 14:13
Python command line executable Example
# This is the example program to be used
# Rename the file to `program.py'
print("Aum")