Skip to content

Instantly share code, notes, and snippets.

@dipenparmar12
dipenparmar12 / README.md
Created May 7, 2018 11:55 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@dipenparmar12
dipenparmar12 / SCSS.md
Created July 10, 2018 07:05 — forked from jareware/SCSS.md
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at jrw.fi

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso

@dipenparmar12
dipenparmar12 / webdev_online_resources.md
Created July 21, 2018 12:49 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@dipenparmar12
dipenparmar12 / gulpfile.js
Last active April 18, 2019 09:29
Gulp 4 Script ( Automate and enhance your workflow with Gulp version 4 )
// npm i --save-dev gulp -g
// npm i --save-dev gulp-sass
// npm i --save-dev gulp-postcss autoprefixer cssnano gulp-sourcemaps
// npm i --save-dev browser-sync
// npm i --save-dev gulp-htmlmin
// npm i --save-dev gulp-imagemin
// npm i --save-dev gulp-dest-clean
// npm i --save-dev gulp-pug
// ---OR---
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Opinion Lexicon: Positive
;
; This file contains a list of POSITIVE opinion words (or sentiment words).
;
; This file and the papers can all be downloaded from
; http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html
;
; If you use this list, please cite one of the following two papers:
@dipenparmar12
dipenparmar12 / gist:7d7a4f51873a8634bd7fbaed92d462aa
Created March 4, 2020 18:47 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@dipenparmar12
dipenparmar12 / firefox_password_export_guide.md
Last active April 18, 2020 09:13
How to print out my passwords in Firefox?

There is no built-in feature for this. You can use a short script in Firefox's Browser Console tool to generate/export a list.

Preparation: Enable Advanced Features of the Browser Console

This needs to be done once:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste DEVT and pause while the list is filtered

@dipenparmar12
dipenparmar12 / mailhog-install.md
Created July 24, 2020 14:26 — forked from viktorpetryk/mailhog-install.md
MailHog installation on Ubuntu

Install & Configure MailHog

  1. Download and make it executable
wget https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64
sudo cp MailHog_linux_amd64 /usr/local/bin/mailhog
sudo chmod +x /usr/local/bin/mailhog
  1. Make MailHog as a service

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream