Skip to content

Instantly share code, notes, and snippets.

View rakave's full-sized avatar
😎
Back after a LOOOONGGG Hiatus!

Velu Pandian Ravichandran rakave

😎
Back after a LOOOONGGG Hiatus!
  • Microsoft Ventures | simMachines | 24 Crafts | V.P.Promoters
  • Chicago, Illinois
View GitHub Profile
@rakave
rakave / item_animation_fall_down.xml
Created February 10, 2019 19:09 — forked from patrick-elmquist/item_animation_fall_down.xml
Enter animation demo: Fall Down item animation
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="@integer/anim_duration_medium">
<translate
android:fromYDelta="-20%"
android:toYDelta="0"
android:interpolator="@android:anim/decelerate_interpolator"
/>
<alpha
@rakave
rakave / NowArrayAdapter.java
Created February 10, 2019 17:32 — forked from iheanyi/NowArrayAdapter.java
Google Now Cards Layout XML. list_item.xml can be customized to your heart's content . . . Also, you can implement the following with DragSortListView for swiping to delete, reordering, and whatnot.
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
@rakave
rakave / simple-react-js-tutorial.md
Created October 26, 2017 18:12
A Dead-Simple Tutorial on how to use React.js for those who know HTML, CSS, and some Javascript
Tuesday, March 1, 2016

A Dead-Simple Tutorial on how to use React.js for those who know HTML, CSS, and some Javascript

By: Jinesh Shah, Cofounder at The Redge

Preface

If you're reading this, I'm going to assume you are comfortable with HTML, CSS, and maybe some javascript and/or JQuery.

@rakave
rakave / node-and-npm-in-30-seconds.sh
Created September 8, 2017 07:23 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@rakave
rakave / temporary-email-address-domains
Created April 9, 2017 07:45 — forked from adamloving/temporary-email-address-domains
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com
@rakave
rakave / sublime.md
Created August 16, 2016 11:45 — forked from raghubetina/sublime.md
Sublime Setup Guide

One-Time Sublime Configuration

We are going to be writing all of our code using the plain text editor Sublime Text 3. In this guide, you will customize your installation with shortcuts and other things in order to make your life easier.

What follows may seem opaque, but don't worry about it -- we just need to go through this process once, and then we'll be all set for the quarter. You aren't expected to understand exactly how it is all working right now.

Installation

Download Sublime Text 3 (not 2) for your platform of choice [here][1], and install it (locate and double-click the file you just downloaded).

@rakave
rakave / dates.md
Created November 8, 2015 02:24 — forked from raghubetina/dates.md
Dates Cheatsheet

Dates Cheatsheet

In this guide, I'll show you how I prefer to handle dates.

We'll

  1. use a gem called Chronic to intelligently parse a wide variety of user input into valid Dates,
  2. I'll also show you a gem that helps create nice looking datepicker controls,
  3. look at some built-in Ruby/Rails methods that help us format dates and times nicely for our users to look at.
@rakave
rakave / carrierwave.md
Created November 8, 2015 02:23 — forked from raghubetina/carrierwave.md
CarrierWave Cheatsheet

CarrierWave Cheatsheet

The CarrierWave gem provides us with an easy way to allow file uploads through forms.

Installation

In your Gemfile, include

gem 'carrierwave'
@rakave
rakave / activeadmin.md
Created November 8, 2015 02:23 — forked from raghubetina/activeadmin.md
ActiveAdmin Cheatsheet

ActiveAdmin Cheatsheet

The ActiveAdmin gem provides us with a entirely separate administrative sub-site. It's amazingly full-featured out of the box, and also is extremely customizable.

Installation

In your Gemfile, include

gem 'activeadmin', '~&gt; 1.0.0.pre1'
@rakave
rakave / ransack.md
Created November 8, 2015 02:23 — forked from raghubetina/ransack.md
Ransack Cheatsheet

Ransack Cheatsheet

The Ransack gem provides us with a powerful, flexible, easy-to-integrate search/filter form.

Installation

In your Gemfile, include

gem 'ransack'