Skip to content

Instantly share code, notes, and snippets.

View itsbalamurali's full-sized avatar
🎯
Focusing

Balamurali Pandranki itsbalamurali

🎯
Focusing
View GitHub Profile
@itsbalamurali
itsbalamurali / EnrollCert.java
Created November 8, 2022 11:04 — forked from kczechbec/EnrollCert.java
Enrollment example using TPP client library
package com.example;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@itsbalamurali
itsbalamurali / aa.json
Created September 25, 2019 11:00
RBI AA Swagger
{
"swagger": "2.0",
"info": {
"title": "Account Aggregator API",
"x-custom-tags": {
"x-changelog": "<p>\n1. Updated /FI/Notification to support Partial Fetch Usecase<br>\n2. New Enums Added for FIStatus - READY / DENIED / PENDING / DELIVERED / TIMEOUT<br>\n3. Updated /FI/Fetch to support Query Params<br>\ni) /FI/Fetch/{SessionID} - All accounts & FIP in the session<br>\nii) /FI/Fetch/{SessionID}?fipid=fip1 - All Accounts with the FIP<br>\niii) /FI/Fetch/{SessionID}?fipid=fip1&linkRefNumber=123456985321 - Particular Account<br>\niv) /FI/Fetch/{SessionID}?fipid=fip1&linkRefNumber=123456985321&linkRefNumber=1236548972 - Multiple Accounts Same FIP<br>\nNote's: <br>\ni) fipid in Query Params is limited to only 1<br>\nii) All variations will give response containing accounts whose data has been delivered or not received. Such accounts would have encryptedFI and KeyMaterials empty<br>\n</p>",
"x-api-name": "Account Aggregator (AA) API"
},
"description": "# Summary\n The Account Aggregator (AA) serv
@itsbalamurali
itsbalamurali / Android.mk
Created May 1, 2019 16:21 — forked from kanru/Android.mk
Android GPS using libhardware
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
gps_test.cpp
LOCAL_SHARED_LIBRARIES := \
libcutils libhardware
LOCAL_MODULE:= test-gps
@itsbalamurali
itsbalamurali / README.md
Created January 26, 2019 18:29
SCRIPT-8
build --action_env PYTHON_BIN_PATH="/usr/local/opt/python@2/bin/python2.7"
# build --action_env PYTHON_LIB_PATH="/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages"
build --python_path="/usr/local/opt/python@2/bin/python2.7"
build:xla --define with_xla_support=true
build --action_env TF_NEED_OPENCL_SYCL="0"
build --action_env TF_NEED_ROCM="0"
build --action_env TF_NEED_CUDA="0"
build --action_env TF_DOWNLOAD_CLANG="0"
build:opt --copt=-march=native
build:opt --copt=-Wno-sign-compare
@itsbalamurali
itsbalamurali / auto_update.md
Created June 13, 2018 19:29 — forked from lifuzu/auto_update.md
Android auto update apk implementation
public class UpdateApp extends AsyncTask<String,Void,Void>{
private Context context;
public void setContext(Context contextf){
    context = contextf;
}

@Override
protected Void doInBackground(String... arg0) {
      try {
@itsbalamurali
itsbalamurali / client.go
Created May 24, 2018 18:13 — forked from spikebike/client.go
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)
@itsbalamurali
itsbalamurali / simple-gpg-enc.go
Created January 29, 2018 02:38 — forked from stuart-warren/simple-gpg-enc.go
golang gpg/openpgp encryption/decryption example
package main
import (
"bytes"
"code.google.com/p/go.crypto/openpgp"
"encoding/base64"
"io/ioutil"
"log"
"os"
)
@itsbalamurali
itsbalamurali / db_2_structs.go
Created January 6, 2018 10:18
Reverse your MySQL Schema to Golang Structs
package main
import (
"fmt"
"log"
"os"
"strconv"
"github.com/Shelnutt2/db2struct"
"github.com/jinzhu/gorm"
@itsbalamurali
itsbalamurali / How to use:
Created December 22, 2017 01:40 — forked from flovilmart/How to use:
GraphQL Parse Schema
mutation {
NewClass {
create(foo: "hello", bar: false, increment: 1) {
objectId, foo, bar, increment
}
}
}
mutation {
create(className: "NewClass", params: {foo: "Bar", bar: true, increment: 10}) {