Skip to content

Instantly share code, notes, and snippets.

@ghosh
ghosh / .vimrc
Created October 14, 2024 08:08
Vimrc for Raspberry
" ---------------------------------------------
" Appearance Settings
" ---------------------------------------------
" Don't check compatibility
set nocompatible
" Enable syntax highlighting
syntax on
@ghosh
ghosh / .bash_aliases
Last active October 30, 2024 09:16
Default bash aliases for Raspberry Pi
alias c="clear"
alias ~="cd ~"
alias ..="cd .."
alias ls="ls -a"
alias bashreload="source $HOME/.bashrc"
node_modules/
.DS_Store
@ghosh
ghosh / micromodal.css
Last active November 1, 2024 17:55
Demo modal styles for micromodal.js and corresponding expected html. If using this, set the `awaitCloseAnimation` in config to true
/**************************\
Basic Modal Styles
\**************************/
.modal {
font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}
.modal__overlay {
position: fixed;
@ghosh
ghosh / SassMeister-input.scss
Created October 3, 2015 13:59
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$breakpoints: (
small : 570px,
medium: 800px,
large : 1030px
);
@ghosh
ghosh / README.md
Last active July 30, 2022 18:49 — forked from addyosmani/README.md

CSS Layout Debbuger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@ghosh
ghosh / fonts
Last active November 21, 2021 05:43
Easy font face declarations using Sass lists, mixins and loops!
/**
* The path to the fonts folder, relative to the
* compiled stylesheet
*
* @type String
*/
$font-path: "../fonts/" !default;
/**
@ghosh
ghosh / SassMeister-input.scss
Created March 9, 2014 21:06
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
// Prefixing mixin
// ----------
// @param [map] $map: property/value pairs to be prefixed
// @param [list] $vendors: vendor prefixes to use
// ----------