Skip to content

Instantly share code, notes, and snippets.

View abhisekp's full-sized avatar
🏠
Working from home

Abhisek Pattnaik abhisekp

🏠
Working from home
View GitHub Profile
@abhisekp
abhisekp / SITEPOINT_GEN_URL.js
Last active October 22, 2015 13:46
Sitepoint Courses - URL Generator
function URL(url, title) {
this.url = url;
this.title = title || url;
}
var contents = $('.Contents');
// console.log(contents);
var contentRow = contents.children('.Contents_row');
var urls = [];
@abhisekp
abhisekp / Online-IDEs.md
Last active November 6, 2015 21:10
Difference between online IDEs

CodePen

Cons

  • Doesn't support runtime linting
  • Doesn't support Code Completion
  • Doesn't have console pane
  • Doesn't have a Run button
  • Code writing space is limited
@abhisekp
abhisekp / #Libs.html
Last active November 12, 2015 03:52
Template
<!-- Log4Javascript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/log4javascript/1.4.9/log4javascript.min.js" integrity="sha384-HyxhT0r2zuZboqC5s+0xNbD90XZ+XLIDybjcPIl47OZ9BH1dHy8fOuH+k/erMIS8" crossorigin="anonymous"></script>
<!-- Handlebars -->
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.4/handlebars.min.js" integrity="sha384-agpJgIHg3ozTgYSL5dwjjy7wWwXmA3ATN5ZxbaTHhZot9b9ns39WXNLAII6twYVA" crossorigin="anonymous"></script>
<!-- jQuery -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js" integrity="sha384-8gBf6Y4YYq7Jx97PIqmTwLPin4hxIzQw5aDmUg/DDhul9fFpbbLcLh3nTIIDJKhx" crossorigin="anonymous"></script>
<!-- Boostrap CSS -->
@abhisekp
abhisekp / dabblet.css
Created February 16, 2016 18:50
Glass Effect Demo
/**
* Glass Effect Demo
*/
* { box-sizing: border-box;}html,body { min-height: 100%; display: flex; flex-direction: column; /*align-content: center;*/ justify-content: center;}body { background: #333; background: url('//crossorigin.me/http://s20.postimg.org/ok95x8kq5/stone_art_min_jpg_rnd_0_201922501437366.jpg') no-repeat 100% 100%/cover; font-family: 'georgia';}.glass { background: rgba(0, 250, 154, .5); cursor: pointer; margin: 0 auto; width: 200px; height: 200px; /*border-radius: 1em;*/ border: 1em solid hsla(0, 0%, 100%, .5); background-clip: padding-box; padding: 1em;}.glass:hover { border-radius: 3em 0; transition: border-radius 1s ease-in-out; background-clip: content-box; /*background: transparent;*/}.glass > div { background-color: hsla(0, 0%, 100%, 1); border: 1em solid hsla(0, 0%, 100%, .5); background-clip: content-box; width: 100%; height: 100%; transition: inherit; opacity: 0.7; padding: .5em; display: flex; align-items: center; justify-content: center; font-
@abhisekp
abhisekp / gbot-min.js
Last active February 17, 2016 02:58
GitterBot
console.clear();
/* GLOBALS */
const GitterBot = {
config: {
roomId: '546fd572db8155e6700d6eaf', // FreeCodeCamp/FreeCodeCamp // <-- insert the room id
token: '', // <-- insert your user token (Get it from https://developer.gitter.im/apps)
}
};
@abhisekp
abhisekp / keybase.md
Created April 13, 2016 16:15
Keybase

Keybase proof

I hereby claim:

  • I am abhisekp on github.
  • I am abhisekp (https://keybase.io/abhisekp) on keybase.
  • I have a public key ASCr-3B6lBNvBgd5P-zdr_jCBmSLe31ED4jS2nRMCVORwwo

To claim this, I am signing this object:

@abhisekp
abhisekp / introrx.md
Created May 23, 2016 21:00 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
body {
background: #BFCFFE;
}
#cloud {
width: 360px; height: 120px;
background: -webkit-linear-gradient(top, #f2f9fe 10%, #d6f0fd 100%);
-webkit-border-radius: 100px;
position: relative;
margin: 200px auto 70px;
}
@abhisekp
abhisekp / # FCC One Liner Solutions.md
Last active November 23, 2016 07:51
One Liner Solutions to FreeCodeCamp Challenges - http://j.mp/abhisekpFCCSolnsOneLiners