Skip to content

Instantly share code, notes, and snippets.

View ajaypatelaj's full-sized avatar
🎯
Focusing

Ajay Patel ajaypatelaj

🎯
Focusing
View GitHub Profile
@ajaypatelaj
ajaypatelaj / Bootstrap-Material-Design---Buttons.markdown
Created November 27, 2014 19:03
Bootstrap Material Design - Buttons
@ajaypatelaj
ajaypatelaj / Responsive-Flat-UI-Kit.markdown
Created July 19, 2014 06:07
A Pen by Matt Litherland.

Responsive Flat UI Kit

A custom UI set built to work with and sit next to Bootstrap 3. Custom select boxes by @catalinred. 3D Scroll effects inspired by @chriscoyier's slide in when scroll down pen. The kit is also responsive!

Try clicking & hovering everything.

Feel free to fork, heart and share!

@ajaypatelaj
ajaypatelaj / WP Twitter Trends Widget
Created July 25, 2012 06:52
WP Twitter Trends Widget
@ajaypatelaj
ajaypatelaj / redirectonrole
Created February 8, 2012 05:45 — forked from viruthagiri/gist:1761124
wordpress redirect on login based on roles
function fs_login($user, $pass) {
$uname = $user;
$pass1 = $pass;
$credentials = array(
'user_login' => $user,
'user_password' => $pass,
'remember' => true
);
$user = wp_signon($credentials, false);
if( $user->ID ){