Skip to content

Instantly share code, notes, and snippets.

View jitendravyas's full-sized avatar

Jitendra Vyas jitendravyas

View GitHub Profile
@jitendravyas
jitendravyas / SassMeister-input.scss
Created February 15, 2013 12:14
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.7
//How can I get hover position without calculating it manually?
//My aim was to create a mixin to save time by not repeating the code for hover
//and value of hover
@mixin spriting-position($offset-x, $offset-y) {
background-position:$offset-x $offset-y;
&:hover{
@jitendravyas
jitendravyas / SassMeister-input.scss
Created June 7, 2013 12:50
Generated by SassMeister.com, the Sass playground.
// ---
// Compass (v0.13.alpha.4)
// Sass (v3.2.9)
// ---
.with-compass {
@include background(image-url("foo.png"),
linear-gradient(top left, #333, #0c0));
}
@jitendravyas
jitendravyas / hosts
Created July 15, 2013 16:25
This is a default HOSTS file used by Windows.
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
@jitendravyas
jitendravyas / httpd-vhosts.conf
Last active June 11, 2020 17:24
WAMP Apache 2.4.4 httpd-vhosts.conf
# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
@jitendravyas
jitendravyas / httpd.conf
Created July 15, 2013 19:43
Wamp Apache 2.4.4 httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
@jitendravyas
jitendravyas / SassMeister-input.scss
Created July 26, 2013 08:07
Generated by SassMeister.com, the Sass playground.
// ---
// Compass (v0.13.alpha.4)
// Sass (v3.2.9)
// ---
$smartphone: 38em;
$fablet: 59em;
@mixin respond-to($media) {
@jitendravyas
jitendravyas / SassMeister-input.scss
Created September 9, 2013 11:03
Generated by SassMeister.com.
// ----
// Sass (v3.2.10)
// Compass (v0.13.alpha.4)
// ----
// Vars - note the quotes around comma separated selectors
$a-tags: 'a:link, a:visited';
$a-tags-hover: 'a:active, a:hover, a:focus';
// Usage
{
"use_simple_full_screen": false,
// calculates indentation automatically when pressing enter
"auto_indent": true,
// sets the colors used within the text area (default)
// see https://github.com/olivierlacan/monokaim to download
// the customized Monokai I use.
"color_scheme": "Packages/Color Scheme - Default/Monokaim.tmTheme",
@jitendravyas
jitendravyas / SassMeister-input-HTML.html
Created January 4, 2014 03:56
Generated by SassMeister.com.
<div class="container">
<h1>The 10 column complex nested grid AG test</h1>
<div class="ag ag1">
<h2>AG 1</h2>
</div>
<!-- /ag1 -->
<!-- ag3 to ag7 are nested within ag2.-->
<div class="ag ag2">
@jitendravyas
jitendravyas / SassMeister-input-HTML.html
Created January 20, 2014 10:40
Generated by SassMeister.com.
<div class="container">
<h1>The 10 column complex nested grid AG test</h1>
<div class="ag ag1">
<h2>AG 1</h2>
</div>
<!-- /ag1 -->
<!-- ag3 to ag7 are nested within ag2.-->
<div class="ag ag2">