Skip to content

Instantly share code, notes, and snippets.


Emin Yahyayev ewintory

View GitHub Profile
View Музыка.md
snekse / Hibernate + Spring ignoring @Column
Last active Aug 9, 2020
Hibernate + Spring Boot ignoring @column(name="camelCase")
View Hibernate + Spring ignoring @Column
chrisbanes / KotterKnife.kt
Last active Nov 8, 2020
LifecycleAware KotterKnife
View KotterKnife.kt
package kotterknife
import android.arch.lifecycle.Lifecycle
import android.arch.lifecycle.LifecycleObserver
import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.OnLifecycleEvent
demidovakatya /
Created Apr 10, 2017
Рекомендации от преподавателей специализации «Машинное обучение и анализ данных»

Рекомендации от преподавателей специализации

Мы составили для вас список наших любимых учебников по темам, рассматривавшимся в этом курсе, с короткими комментариями.

(Лучше всего изучать прямо в такой последовательности)

  • Hastie, Tibshirani, Friedman. The elements of statistical learning — классический способ начать знакомиться с машинным обучением, если вас не пугает математика;
  • Bishop. Pattern recognition and machine learning — (чрезмерно) подробный справочник методов, дающий возможность познакомиться, например, с десятью версиями метода главных компонент;
  • Murphy. Machine learning a probabilistic perspective — очень объемная и содержательная книга из MIT (~1000 страниц), освещена большая часть мейнстримовых методов машинного обучения.
* Copyright 2017 Google Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
vgaidarji / AndroidStudio as git difftool, mergetool
Last active Mar 13, 2020
Use AndroidStudio as git difftool/mergetool on MacOS (place this inside your ~/.gitconfig).
View AndroidStudio as git difftool, mergetool
tool = studio
[mergetool "studio"]
prompt = false
cmd = /Applications/Android\\ merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED")
trustExitCode = true
tool = studio
[difftool "studio"]
prompt = false
kevin-smets /
Last active Nov 26, 2020
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry


Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!


kaushikgopal /
Created Jul 4, 2016 — forked from gsoltis/
RxJava Bindings for Firebase
package com.firebase.client;
import com.firebase.client.core.Constants;
import rx.Observable;
import rx.Subscriber;
import rx.functions.Action0;
import rx.functions.Func1;
import rx.subscriptions.Subscriptions;
public class RxFirebase {
mformetal /
Last active Apr 7, 2017
A simple way to add a predraw listener to a view
public abstract class PreDrawer<T extends View> {
// Private constructor prevent instantiation by the caller. Use addPredrawer() method instead.
private PreDrawer(final T view) {
// Adds the observer to the given view, then calls notifyPredraw() when clean up has been done ready
final ViewTreeObserver viewTreeObserver = view.getViewTreeObserver();
viewTreeObserver.addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
public boolean onPreDraw() {
tonyshkurenko / Dagger 2, quick start
Last active Jun 18, 2018
Everything I found about Dagger 2
View Dagger 2, quick start
Dagger step 1: Add android-apt, dagger 2, dagger2-compiler, and javax annotation to the build.gradle files.
Note that they're not all "compile" dependencies.
Step 2: Add our module. Our ApplicationModule will be able to inject the ApplicationContext to classes that need it.
Step 3: Add our Component.Dagger 2 generates code for each Component you create,
using the file name Dagger(NameOfComponent).
Example: DaggerApplicationComponent.
Components can have multiple modules, in our case we have one.
You can’t perform that action at this time.