Skip to content

Instantly share code, notes, and snippets.

What's happening?

Dmitrii Kozhevin DimaKoz

What's happening?
Block or report user

Report or block DimaKoz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
DimaKoz / goQueryTest.go
Created Dec 16, 2019 — forked from salmoni/goQueryTest.go
Parsing HTML in Go/Golang using goQuery to extract data from only one of multiple tables. Demonstrates nested Find statements.
View goQueryTest.go
package main
import (
private float calculateArcSize(float animationProgress) {
final double adjustedProgress = Math.sin(animationProgress * Math.PI);
// ARC_MAX_DEGREES is the maximum size the arc will have in degrees.
// ARC_MAX_DEGREES = 180 means that at it's largest it will cover
// half the circle.
return (float) adjustedProgress * -ARC_MAX_DEGREES;
private float calculateArcStart(float animationProgress) {
final float deceleratedProgress = mDecelerateInterpolator.getInterpolation(animationProgress);
DimaKoz /
Last active Jan 2, 2020
The Script to Automate Cross-Compilation for Golang(OSX)
#Before we can use the script, we have to make it executable with the chmod command:
#chmod +x ./
#then we can use it ./ yourpackage
#!/usr/bin/env bash
if [[ -z "$package" ]]; then
echo "usage: $0 <package-name>"
exit 1
DimaKoz /
Created Jun 22, 2018 — forked from arturokunder/
Verify APK signature

Do I have the correct certificate to sign my APK?

Use keytool Keytool is part of Java, so make sure your PATH has Java installation dir in it.

Get APK Certificate Signature

First, unzip the APK and extract the file /META-INF/ANDROID_.RSA (this file may also be CERT.RSA or something.RSA, but there should only be one .RSA file).

Then, run:

DimaKoz /
Created Mar 27, 2016 — forked from blackcj/
Design support library with CoordinatorLayout, SwipeRefreshLayout and RecyclerView.
import android.os.Bundle;
import android.util.Log;
import com.blackcj.designsupportexample.adapters.RecyclerViewAdapter;
You can’t perform that action at this time.