Skip to content

Instantly share code, notes, and snippets.

🎮
...

Nitin Jadhav nitinja

🎮
...
Block or report user

Report or block nitinja

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
@nitinja
nitinja / stylish-checkboxes-radios.html
Created May 25, 2017
CSS only styles for checkboxes and radios
View stylish-checkboxes-radios.html
<!DOCTYPE html>
<html lang="en" >
<head >
<meta charset="UTF-8" >
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous" >
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" >
<style >
@nitinja
nitinja / deploy.sh
Created Feb 19, 2017
script to bundle & deploy Javascript apps to remote server using npm
View deploy.sh
#!/bin/bash
#Get app version
APP_VERSION=$(node -pe "require('./package.json').version")
#create a name for your bundle
ARCHIVE_NAME='app-name-'$APP_VERSION'.tar.gz'
#create an archive
tar -czvf $ARCHIVE_NAME -C ./dist .
@nitinja
nitinja / Package.json & Basic Config files for jshint + Other tools
Last active Dec 6, 2015
Package.json & Basic Config files for jshint + Other tools. Will be improved over time.
View Package.json & Basic Config files for jshint + Other tools
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
View basic jQuery plugin.js
/**
* Minimum set up for a revealing module pattern jQuery plugin
*
* This is a bare plugin that uses the revealing module pattern to attach
* public and private vars and methods to a jQuery selector.
*
* Example:
*
* $('#menu').collapsible().init();
* $('#menu').collapsible().open();
You can’t perform that action at this time.