Skip to content

Instantly share code, notes, and snippets.


Ajinkya Borade steelx

View GitHub Profile
steelx / esp32_ota_stm32.ino
Created Nov 6, 2020 — forked from rounakdatta/esp32_ota_stm32.ino
Flash STM32 firmware from ESP32
View esp32_ota_stm32.ino
#include <SPIFFS.h>
* Copyright (C) 2017 CS.NOL
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* and You have to keep below webserver code
steelx / api-deploy.yml
Created Sep 25, 2020
Rust :: Build and Deploy to GCP
View api-deploy.yml
name: Build and Deploy to Google
# Environment variables available to all jobs and steps in this workflow
GITHUB_SHA: ${{ github.sha }}
RUN_REGION: asia-southeast1

Keybase proof

I hereby claim:

  • I am steelx on github.
  • I am ajinkyax ( on keybase.
  • I have a public key ASBcCAmHxUEdhdbob_x7y20mMu6wkd8AphMHNXhVCQzXQwo

To claim this, I am signing this object:

steelx /
Created Aug 26, 2020 — forked from staltz/
The introduction to Reactive Programming you've been missing
steelx / backup bash filez
Last active Aug 17, 2020 — forked from azappa/backup bash filez
Ubuntu fix dual monitor reboot
View backup bash filez
# -------------------------------------------------
# Get monitors configuration from monitor.xml and apply it for current user session.
# In case of multiple definitions in monitor.xml only first one is used.
# See
# for instructions
# Revision history :
# 19/04/2014, V1.0 - Creation by N. Bernaerts
steelx / server.js
Created Jul 28, 2020
Node js AUTH middleware
View server.js
const express = require('express');
const cors = require('cors')({origin: true});
const cookieParser = require('cookie-parser')();
// API
const app = express();
// Express middleware that validates Firebase ID Tokens passed in the Authorization HTTP header.
steelx / go.mod
Created Jun 17, 2020
GoLang RPG game modules
View go.mod
go 1.13
require (
// v0.3.2 v0.0.7 // indirect v1.0.2 v0.8.1-0.20190416082708-9aca3bfe7af3 v1.1.0
steelx / rxjs-behaviour-subject-store.ts
Last active Dec 25, 2019
Angular rxjs-behaviour-subject-store (redux alike store with Rxjs)
View rxjs-behaviour-subject-store.ts
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { Observable } from 'rxjs/Observable';
export class Store<T> {
private _state$: BehaviorSubject<T>;
protected constructor(initialState: T) {
this._state$ = new BehaviorSubject(initialState);
steelx / main.go
Created Nov 8, 2019
Sum of Squares
View main.go
package main
import (
steelx / bounds.go
Created Dec 25, 2019
Go inheritance with Interface (Entity) + pixelgl
View bounds.go
package main
// Bounds - A bounding (rectangle) box with a x,y origin and width and height
type Bounds struct {
X float64
Y float64
Width float64
Height float64
entity Entity