Skip to content

Instantly share code, notes, and snippets.

View Uzmani's full-sized avatar

Usman Chaudhary Uzmani

  • San Francisco, CA
View GitHub Profile
@Uzmani
Uzmani / Credo email voting panel HTML
Created June 13, 2018 17:20
This contains the voting panel snippet with Selligent dynamic tags
<tr>
<td align="center" valign="top"><table align="center" width="600" border="0" cellspacing="0" cellpadding="0" class="em_main_table" style="width:600px;">
<tr>
<td align="center" valign="top"><table width="600" border="0" cellspacing="0" cellpadding="0" align="center" class="em_wrapper" style="width:600px;">
<tbody>
<tr>
<td align="center" valign="top"><table width="312" border="0" cellspacing="0" cellpadding="0" align="left" style="width:312px; background-color:#efefef;" bgcolor="#efefef" class="em_wrapper">
<tr>
<td class="em_side" width="29" style="width:29px; font-size:0px; line-height:0px;">&nbsp;</td>
<td class="em_hauto" align="center" valign="top" height="468" style="height:468px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
@Uzmani
Uzmani / credo_email_webfont_import.css
Last active March 22, 2018 21:14
Credo webfont css import
@font-face {
font-family: "FoundersGrotesk";
src: url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.eot");
src: url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.eot?#iefix") format("embedded-opentype"),
url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.woff2") format("woff2"),
url("https://cdn.wearelift.net/credomobile.com/fonts/FoundersGroteskWeb-Light.woff") format("woff");
font-style: normal;
font-weight: 300;
}
@Uzmani
Uzmani / .bash_profile
Created August 22, 2017 23:16
Terminal profile
export PATH=/usr/local/bin:$PATH
export PATH="$HOME/.node/bin:$PATH"
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.5/bin
# echo is like puts for bash (bash is the program running in your terminal)
echo "Loading ~/.bash_profile a shell script that runs in every new terminal you open"
@Uzmani
Uzmani / carousel.js
Created September 5, 2013 21:01 — forked from ksolo/carousel.js
Image Carousel

Instructions:

  1. Download this application skeleton.
  2. Convert the app to use AJAX.
  3. Add any files you changed to your gist and submit your code.
/* Here is your chance to take over Socrates!
Spend 10 minutes on each of the following hacks to the Socrates website.
Enter them in the console to make sure it works and then save
your results here.
Choose a new pair for each. Add your names to the section you complete.
*/
@Uzmani
Uzmani / form-validator.js
Created August 16, 2013 04:37 — forked from ksolo/form-validator.js
Form Validation
// shorthand for $(document).ready();
$(function(){
//Your code...
});
@Uzmani
Uzmani / form-validator.js
Last active December 21, 2015 03:59 — forked from ksolo/form-validator.js
Form Validation
// shorthand for $(document).ready();
$(function(){
$('button').on('click', function(event) {
event.preventDefault();
$('#errors li').remove();
var email = $('input[name="email"]').val();
var password = $('input[name="password"]').val();
@Uzmani
Uzmani / index.html
Last active December 21, 2015 01:28 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>