Skip to content

Instantly share code, notes, and snippets.

View ganapativs's full-sized avatar
🎯
Focusing

Ganapati V S ganapativs

🎯
Focusing
View GitHub Profile
@ganapativs
ganapativs / CSS3-Pseudo-Sound-Bars-Two-Sides.markdown
Created December 20, 2014 19:26
CSS3 Pseudo Sound Bars Two Sides
@ganapativs
ganapativs / CSS-3D-Profile-Pic-Hover.markdown
Created December 20, 2014 19:29
CSS 3D Profile Pic Hover

CSS 3D Profile Pic Hover

CSS 3D animation used in image hover effect. This effect is smooth with Welcome message on hover.

A Pen by Ganapati V S on CodePen.

License.

@ganapativs
ganapativs / Tiny-Time-Loader.markdown
Created December 20, 2014 19:59
Tiny Time Loader
@ganapativs
ganapativs / designer.html
Last active August 29, 2015 14:13
designer
<link rel="import" href="../yt-video/yt-search-video.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<link rel="import" href="../paper-input/paper-input.html">
<polymer-element name="my-element">
<template>
<style>
@ganapativs
ganapativs / Angular Watchers Counter
Last active August 29, 2015 14:27
Angular Watchers Counter
(function () {
var root = angular.element(document.getElementsByTagName('body'));
var watchers = [];
var f = function (element) {
angular.forEach(['$scope', '$isolateScope'], function (scopeProperty) {
if (element.data() && element.data().hasOwnProperty(scopeProperty)) {
angular.forEach(element.data()[scopeProperty].$$watchers, function (watcher) {
watchers.push(watcher);
@ganapativs
ganapativs / LazyLoad.js
Created January 12, 2016 08:59 — forked from yocontra/LazyLoad.js
lazy loading react components, useful for video/audio/etc
var React = require('react');
var events = require('add-event-listener');
var isVisible = require('../isVisible');
var LazyLoad = React.createClass({
displayName: 'LazyLoad',
propTypes: {
distance: React.PropTypes.number,
component: React.PropTypes.node.isRequired,
children: React.PropTypes.node.isRequired
@ganapativs
ganapativs / Egghead downloading.txt
Last active June 20, 2016 14:35
Egghead lessons downloading
* Download and install react developers tool from here - https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en
* Open egghead lesson's page you want to download, and open console.
* Go to react(Added by react developer tools) tab in console and inspect and search by Component Name <NextUpLessonList> and select.
* Now go to console tab and run: $r.state.list.lessons.map(function(e){console.log(e.lesson_http_url)}) to get lessons list.
* Copy list and convert it to a JS array, like
["https://egghead.io/lessons/tools-intro-to-the-production-webpack-course",
"https://egghead.io/lessons/tools-validate-your-webpack-config-with-webpack-validator",
"https://egghead.io/lessons/tools-tree-shaking-with-webpack-2",
"https://egghead.io/lessons/tools-polyfill-promises-for-webpack-2",
"https://egghead.io/lessons/tools-maintain-sane-file-sizes-with-webpack-code-splitting",
@ganapativs
ganapativs / svgo.json
Created September 3, 2016 09:52 — forked from bendc/svgo.json
Sketch's SVGO Compressor settings
{
"comment": "This is the settings file for the SVGO Compressor Plugin. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>",
"pretty": false,
"indent": 2,
"plugins": [
{
"name": "cleanupAttrs"
},
{
"name": "cleanupEnableBackground"