Skip to content

Instantly share code, notes, and snippets.

@asilichenko
asilichenko / gist:56346131a1e977112c406aafda95f513
Last active August 3, 2023 05:30 — forked from sunmeat/gist:e579076368145450d8e0d2a269428541
nice example for google street view android
activity_maps.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<fragment
@asilichenko
asilichenko / ExampleUnitTest.java
Last active September 9, 2023 11:58
JUnit5 Jupiter unit and parametrized tests example
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.stream.Stream;
/**
@asilichenko
asilichenko / lookup_generator.py
Last active July 24, 2024 20:06
Li-Ion Open Circuit Voltage (OCV) by Depth of Discharge (DOD) lookup table generator
# MIT License
#
# Copyright (c) 2024 Oleksii Sylichenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@asilichenko
asilichenko / running-python-code-on-gpu-using-cuda-technology.ipynb
Last active October 5, 2024 19:35
Running Python Code on GPU using CUDA Technology
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.