Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

Sahil Dave sahildave

💭
I may be slow to respond.
View GitHub Profile
@sahildave
sahildave / circle.yml
Created Sep 23, 2016
updated circleCI file with android-24
View circle.yml
# Forked from: https://gist.github.com/donnfelker/8181c85494cfd6f5b5a874dd126c985a
#
# Build configuration for Circle CI
general:
artifacts:
- /home/ubuntu/gradle-flavored-library-example/app/build/outputs/apk/
machine:
environment:
@sahildave
sahildave / installedpackages
Created Apr 4, 2015
List all installed packages in ubuntu
View installedpackages
#! /bin/sh
TEMPFILE=`tempfile`
cat /var/log/installer/initial-status.gz | gzip -d |grep '^Package:' | awk '{ print $2}' > $TEMPFILE
aptitude search -F %p '~i!~M' | awk '{ print $1}' | grep -v -F -f $TEMPFILE
rm $TEMPFILE
# Run the following to get a list of all the packages
# chmod +x installedpackages.sh
# ./installedpackages.sh > packages
View colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="red_50">#FFEBEE</color>
<color name="red_100">#FFCDD2</color>
<color name="red_200">#EF9A9A</color>
<color name="red_300">#E57373</color>
<color name="red_400">#EF5350</color>
<color name="red_500">#F44336</color>
<color name="red_600">#E53935</color>
You can’t perform that action at this time.