Skip to content

Instantly share code, notes, and snippets.

View IgorGanapolsky's full-sized avatar
💭
Mastering Python and AI

Igor Ganapolsky IgorGanapolsky

💭
Mastering Python and AI
View GitHub Profile
### Keybase proof
I hereby claim:
* I am IgorGanapolsky on github.
* I am igorganapolsky (https://keybase.io/igorganapolsky) on keybase.
* I have a public key whose fingerprint is C1AA 7B30 7B34 1C54 644C FF43 A19B D0AE 4ED7 621A
To claim this, I am signing this object:
@IgorGanapolsky
IgorGanapolsky / CustomLinearLayoutManager.java
Last active August 3, 2016 13:25
An Android LinearLayoutManager which measures its views for proper nested RecyclerView rendering.
package com.eazyigz.ui;
import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import timber.log.Timber;
@IgorGanapolsky
IgorGanapolsky / coroutines.kt
Created September 25, 2018 15:54
Coroutines are cheaper than threads!
import kotlinx.coroutines.experimental.CoroutineName
import kotlinx.coroutines.experimental.async
import kotlinx.coroutines.experimental.delay
import java.text.SimpleDateFormat
import java.util.*
/**
* Coroutines are cheaper than threads!
@IgorGanapolsky
IgorGanapolsky / main.py
Created April 18, 2022 22:16
Python3 - deobfuscate base64 strings
import base64
import urllib.parse
def print_hi(input_str):
# Strings to deobfuscate
str_ = input_str
for row in str_.split('\n'):
if not row: continue