Skip to content

Instantly share code, notes, and snippets.

View iSergius's full-sized avatar

Sergey iSergius

  • Russian Fediration
View GitHub Profile
iSergius /
Created December 4, 2019 23:25 — forked from phith0n/
Install Chrome headless on Ubuntu
export CHROME_BIN=/usr/bin/google-chrome
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sudo apt-get update
sudo apt-get install -y libappindicator1 fonts-liberation libasound2 libgconf-2-4 libnspr4 libxss1 libnss3 xdg-utils
sudo dpkg -i google-chrome*.deb
iSergius / .gitconfig
Created July 17, 2018 14:52 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
name = Pavan Kumar Sunkara
email =
username = pksunkara
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
smtpencryption = tls
iSergius /
Created December 25, 2017 02:02 — forked from nightscape/
Simple RxJava-based adapter for an Android RecyclerView
public class ReactiveTextViewHolder<T> extends ReactiveViewHolder<T> {
private TextView label;
private T currentItem;
public ReactiveTextViewHolder(View itemView) {
label = (TextView) itemView.findViewById(;