Skip to content

Instantly share code, notes, and snippets.

Working from home

Santosh Santoshah

Working from home
Block or report user

Report or block Santoshah

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
Santoshah / filter-by-iteratee.js
Created May 14, 2018 — forked from nickells/filter-by-iteratee.js
Transpiled FilterByIteratee
View filter-by-iteratee.js
"use strict";
// Function definition
var filterByIteratee = function filterByIteratee(array, iteratee) {
// Empty object to store attributes as we encounter them
var previousAttributeNames = {};
return array.filter(function (item) {
// Get the right value
Santoshah / contents.erb
Created Jun 9, 2016 — forked from rds/contents.erb
Add more customisation options to Compass' sprite importer
View contents.erb
@import "compass/utilities/sprites/base";
@mixin sprites($map, $sprite-names, $base-class: false, $dimensions: false, $prefix: sprite-map-name($map), $offset-x: 0, $offset-y: 0) {
@each $sprite-name in $sprite-names {
@if sprite_does_not_have_parent($map, $sprite-name) {
$full-sprite-name: "#{$prefix}#{$sprite-name}";
.#{$full-sprite-name} {
@if $base-class { @extend #{$base-class}; }
@include sprite($map, $sprite-name, $dimensions, $offset-x, $offset-y);
Santoshah / index.html
Created Apr 19, 2013
html: front page
View index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/screen.css" type="text/css" rel="stylesheet" />
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/myjs.js"></script>
You can’t perform that action at this time.