Skip to content

Instantly share code, notes, and snippets.

View ajduke's full-sized avatar

Abhijeet Sutar ajduke

View GitHub Profile
ajduke / index.html
Created June 7, 2016 14:13 — forked from anonymous/index.html
View index.html
<div class="wrapper">
<div class="details">
<div class="wrap header">
Create new Project
<div class="wrap">
<div class="project-name">
<label for="">Project Name</label>
<input type="text" />
ajduke / index.html
Last active February 12, 2016 17:41 — forked from anonymous/index.html
A simple experiment on new CSS features- JS Bin// source
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
ul {
box-shadow: 1px 1px 3px #555;
margin:50px auto;
ajduke /
Last active August 29, 2015 13:56 — forked from azat-co/

JS FUNdamentals

If it's not fun, it's not JavaScript.


Programming languages like BASIC, Python, C has boring machine-like nature which requires developers to write extra code that's not directly related to the solution itself. Think about line numbers in BASIC or interfaces, classes and patterns in Java.

On the other hand JavaScript inherits the best traits of pure mathematics, LISP, C# which lead to a great deal of expressiveness (and fun!).

ajduke / .mongorc.js
Last active December 19, 2015 04:39 — forked from sawanoboly/.mongorc.js
including the which is current database
View .mongorc.js
prompt = function() {
// set version
version = db.version();
dbName = db.getName()
// case mongos
if (rs.status().info == 'mongos') {
return rs.status().info + ':[' + version + '] > ';
// config or replica
ajduke /
Created December 4, 2012 06:32 — forked from nvie/
Very rough script that cleans up all old branches that are loosely hanging around after a while. Also updates the origin remote.
fix_branch_output () {
# Strips first columns from the output, to remove whitespace and "current
# branch" marker from git-branch's output
cut -c 3-
local_branches () {
git branch | fix_branch_output