Skip to content

Instantly share code, notes, and snippets.

View Pranit-Harekar's full-sized avatar
🏠
Working from home

Pranit Harekar Pranit-Harekar

🏠
Working from home
View GitHub Profile
https://pr-23410-dab5db5ea7b8.envs.hrtldev.us/api/auth/heartland?origin=%2F%23pos
https://secureqa.globalpay.com/cecb9c94-8531-464a-b796-3d5e1e7aec96/B2C_1A_heartland-retail_SusiMfa/oauth2/v2.0/authorize?client_id=1f61fcf4-905b-4987-ab83-6388f00c57d8&code_challenge=gGy2mxreeiUKL57Eny9RR3MHA6SYZ-MMYgg_2YAcsCw&code_challenge_method=S256&mfa_force=false&redirect_uri=https%3A%2F%2Fspringbot.srdev.us%2Fauth%2Ftemp_env%2Fazure&response_type=code&scope=openid+offline_access&state=eyJzdWJkb21haW4iOiJ0MSIsIm9yaWdpbiI6Ii8jcG9zIiwiaG9zdCI6InByLTIzNDEwLWRhYjVkYjVlYTdiOC5lbnZzLmhydGxkZXYudXMifQ
https://secureqa.globalpay.com/cecb9c94-8531-464a-b796-3d5e1e7aec96/B2C_1A_heartland-retail_SusiMfa/api/CombinedSigninAndSignup/confirmed?rememberMe=false&csrf_token=VCtYSzVSUklxNjRrT0NUaHJpL1FhSFFZdmRKcHBVRHhWNWhFYUkrK29kZHdURXpvNFVMNnBHOGdxVGZlL29TYnIwelN5aGx0REFzVm1EMUpBUGlHbnc9PTsyMDI0LTA2LTE4VDIxOjIyOjA5LjA3MDE4MjJaOytiemNIeXdUYkNiYUhnc0xSZlAxM2c9PTt7Ik9yY2hlc3RyYXRpb25TdGVwIjoyfQ==&tx=StateProperties=eyJUSUQiOiI5NzM5YzFiMi1kZ
@Pranit-Harekar
Pranit-Harekar / Dockerfile
Created October 24, 2023 07:33
Zscaler + Docker Issue
FROM node:16-buster-slim
RUN apt-get -y update && \
apt-get -y install \
bash \
curl \
libharfbuzz-dev \
libharfbuzz-bin \
libnss3 \
libfreetype6 \
@Pranit-Harekar
Pranit-Harekar / MainApplication.kt
Last active November 18, 2022 23:51
Unable to pair DS2278 manually via latest Android SDK v2.6.10.0
class MainApplication : Application() {
override fun onCreate() {
// Initialize zebra scanner
val sdkHandler = SDKHandler(this)
ZebraScanner(sdkHandler)
}
// rest of the code ..
}
using System;
using System.Threading.Tasks;
using System.Text;
namespace datacap_demo
{
class Program
{
static void Main(string[] args)
{
import Foundation
import BrightFutures
import Result
import CocoaAsyncSocket
// "CocoaAsyncSocket" is a socket library
// Ref: https://github.com/robbiehanson/CocoaAsyncSocket
class DCDirectTerminalDetector: NSObject, GCDAsyncUdpSocketDelegate {

Keybase proof

I hereby claim:

  • I am pranit-harekar on github.
  • I am pranitharekar (https://keybase.io/pranitharekar) on keybase.
  • I have a public key ASDVEOvpsiqmOejK_nVCNCXEW2xV6KovyOKdiQwVo3FkqAo

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
er.AppArrayAdapter.getView(int, android.view.View, android.view.ViewGroup) due to JIT inline cache
2020-04-29 17:59:40.572 2256-2870/? I/RequestAddCookies: Cookie store not available in HTTP context
2020-04-29 17:59:40.575 2256-2870/? D/AcceptLanguage: value=en-US
2020-04-29 17:59:40.579 1892-2248/? I/CloverServicesProvider: +call method: getApiVersion, arg: null
2020-04-29 17:59:40.589 2256-2870/? I/DeviceHttpClient: CloverMultidexApplication >> GET /cos/v1/___ping?checkPayHealth=true HTTP/1.1
2020-04-29 17:59:40.603 1429-1429/? I/zygote64: Deoptimizing void com.android.systemui.statusbar.ExpandableView.updateClipping() due to JIT inline cache
2020-04-29 17:59:40.705 2256-2870/? I/ResponseProcessCookies: Cookie store not available in HTTP context
2020-04-29 17:59:40.705 2256-2870/? I/DeviceHttpClient: CloverMultidexApplication << HTTP/1.1 200 OK
@Pranit-Harekar
Pranit-Harekar / script.rb
Last active March 16, 2020 12:52
Import fork branches to main repo
#!/usr/bin/env ruby
#################################################################################
# MUST READ: This script imports your fork's branches to main springboardretail
# repository. Please make sure you run this script in a temporary directory
# outside of your local clone directory. In this script, `origin` remote
# points to your fork while `upstream` points to main the repository. Please
# enter your name & fork_url below to get started.
#################################################################################
@Pranit-Harekar
Pranit-Harekar / stacktrace.txt
Created September 26, 2019 16:28
Crash in Star iOS SDK
# Platform: ios
# OS Version: 12.3.1 (16F203)
# Device: iPad Pro (9.7 inch)
# RAM Free: 1.2%
# Disk Free: 91.6%
# Star iOS SDK v5.10.1
[Crashed on line 0 i.e. TCPgetSocket + 1567 (TCPPort.m:1567)]
#0. Crashed: com.apple.main-thread
private let datadogQueue: DispatchQueue = DispatchQueue(label: "foo.datadog")
class Logger {
fileprivate var buffer = [NSDictionary]()
fileprivate var backgroundTaskIdentifier: UIBackgroundTaskIdentifier = UIBackgroundTaskIdentifier.invalid
fileprivate var observer: NSObjectProtocol?
// ...
init() {