Skip to content

Instantly share code, notes, and snippets.

View focks's full-sized avatar
🎯
Focusing

Chandan Kumar Singha focks

🎯
Focusing
View GitHub Profile
curl --location 'https://api.transfi.com/v2/orders/deposit' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data-raw '{
"paymentType": "local_wallet",
"paymentCode": "momo",
"purposeCode": "fee_payments",
"type": "individual",
"firstName": "Thanh",
"lastName": "Lam",
@focks
focks / concurrent.go
Created July 25, 2022 06:01
concurrent network calls with cancellation
package main
import (
"context"
"fmt"
"math/rand"
"sync"
"time"
)
package main
import (
"bytes"
"encoding/json"
"fmt"
)
type Language int
// https://play.golang.org/p/mLpOxS-5Fy
// thanks to the author
package main
import (
"bytes"
"crypto/rsa"
"crypto/x509"
"encoding/base64"
"encoding/json"

Data Science Inernship At Litifer Technologies

We are looking for people who are enthusiastic about building things from scratch and has enourmous passion for writing quality code.

Responsibilities:

  • Research, analyze and implementation of ITS(intelligent tutoring systems)
  • Craft clean, manageable code and maintain proper documentation
  • Continuously discover, evaluate, and implement new technologies and frameworks in order to make applications efficient little by little

Requirements:

Unity Tasks

How to submit:

  • Please upload your code into github
  • build an apk
  • share your github link and the apk as an attachment via email at chandan@litifer.com

Task Description

Develop a simple android application using UNITY which has following capabilities.

@focks
focks / python_decorator_guide.md
Created November 22, 2019 07:15 — forked from Zearin/python_decorator_guide.md
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].

@focks
focks / review.ipynb
Created October 14, 2019 06:39
review
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@focks
focks / faster.cc
Last active May 5, 2019 13:55
questionnaire
// which of the following snippet is faster and why?
// choice - I
void printRowWise(int[][] arr, int row, int col) {
for(int i=0;i<row;i++){
for(int j=0;j<col;j++) {
cout<<arr[i][j]<<" ";
}
cout<<endl;
}
@focks
focks / k8s-svc-annotations.md
Created February 6, 2019 19:33 — forked from mgoodness/k8s-svc-annotations.md
AWS ELB-related annotations for Kubernetes Services (as of v1.12.0)
  • service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval (in minutes)
  • service.beta.kubernetes.io/aws-load-balancer-access-log-enabled (true|false)
  • service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name
  • service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix
  • service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags (comma-separated list of key=value)
  • service.beta.kubernetes.io/aws-load-balancer-backend-protocol (http|https|ssl|tcp)
  • service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled (true|false)