Skip to content

Instantly share code, notes, and snippets.

View sank20's full-sized avatar
:octocat:

Sanket sank20

:octocat:
View GitHub Profile
@jasonkhanlar
jasonkhanlar / fontawesome.sty
Last active March 18, 2024 06:42 — forked from sway/fontawesome.sty
FontAwesome mapping for XeLaTeX
% FontAwesome (http://fortawesome.github.com/Font-Awesome/) bindings for (Xe)LaTeX
% Author: Honza Ustohal <honza@egoistic.biz>
% Updated to match FontAwesome v4.5.0 by Jason Khanlar <jason.khanlar@gmail.com>
%
% Translation of FontAwesome's private range characters into XeTeX symbols. All icons are camel-cased and prefixed with 'fa', i.e. what was .icon-align-center the CSS version of FontAwesome becomes \faAlignCenter
% This might be reworked into a full blown package in the near future
%
% Prerequisite:
% XeLaTeX, FontAwesome installed as a system font accessible by XeLaTeX
%
@staltz
staltz / introrx.md
Last active July 8, 2024 15:46
The introduction to Reactive Programming you've been missing
@Psest328
Psest328 / ExpListViewWithCheckBox.java
Last active April 14, 2023 15:15
ExpandableListView adapter with Checkboxes - BaseExpandableListAdapter that accurately tracks child checkbox states (no random checks/unchecks). This is setup for checkboxes but can be used for anything that uses true/false values
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.annotation.SuppressLint;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;