Skip to content

Instantly share code, notes, and snippets.

Hunting Knowledge

Mohammad Mirrajabi mirrajabi

Hunting Knowledge
Block or report user

Report or block mirrajabi

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
# Assume we are in your home directory
cd ~/
# Clone the repo from GitLab using the `--mirror` option
$ git clone --mirror
# Change into newly created repo directory
$ cd ~/my-repo.git
# Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks.
mirrajabi / generatepublicresources.gradle
Created Apr 19, 2017 — forked from HannahMitt/generatepublicresources.gradle
This is a gradle task to generate the public.xml file in an Android library project. It assumes all public resources are kept in a res-public/ resource source directory. Providing this as a starting point, but there may be more efficient ways.
View generatepublicresources.gradle
import groovy.xml.MarkupBuilder
// Task to generate our public.xml file
// See
// We assume resources within res-public are public
task generatepublicxml {
def resDir = project.projectDir.absolutePath + "/src/main/res-public"
// Include the desired res types
mirrajabi /
Created Dec 12, 2016 — forked from krzysztof-miemiec/
List parsing done with LoganSquare and Realm database.
* Sample class showing how to use type converter in this gist.
* @author Krzysztof Miemiec
public class Album extends RealmObject {
You can’t perform that action at this time.