Skip to content

Instantly share code, notes, and snippets.

View bvipul's full-sized avatar
🎯
Focusing

Vipul Basapati bvipul

🎯
Focusing
  • GlobalSignIn Pvt. Ltd.
  • Ahmedabad, India
  • X @bvipul9523
View GitHub Profile
@kiliman
kiliman / style.css
Last active January 16, 2021 14:38
Cobalt2 theme on GitHub
.highlight pre, .blob-wrapper, .blob-expanded .blob-code, .blob-expanded .blob-num { background-color: #193549 !important; color: #e1efff !important; }
.blob-code-inner, .blob-num, .highlight pre, .blob-wrapper { font-family: "Operator Mono SSm Lig" !important; color: #ffee80 !important; font-size:16px; line-height: 135% !important;}
.blob-num, .blob-expanded .blob-num {color: #aaa !important; }
.blob-code-hunk, .blob-num-hunk, .blob-num-expandable, .blob-code-expandable { background-color: #1E88E5; }
.blob-code-addition, .blob-num-addition { background-color: #005500; }
.blob-code-deletion, .blob-num-deletion { background-color: #550000; }
.pl-c, .pl-e { font-style: italic; }
.pl-k { color: #ff9d00; }
.pl-pds { color: #e1efff; }
.pl-pse { color: #e1efff; }
@levlaz
levlaz / font-awesome-and-laravel.md
Last active October 9, 2023 11:47
How To Use Font Awesome With Laravel

For some reason there is a whole thread on this seemingly simple tasks. In a bootstrapped Laravel 5.4 instance the following worked for me.

Install Font Awesome with NPM

npm install font-awesome

Import font-awesome in your app.scss file

@hofmannsven
hofmannsven / README.md
Last active April 19, 2024 13:17
Git CLI Cheatsheet
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

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
@mathewbyrne
mathewbyrne / slugify.js
Created October 12, 2011 04:34
Javascript Slugify
function slugify(text)
{
return text.toString().toLowerCase()
.replace(/\s+/g, '-') // Replace spaces with -
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
.replace(/\-\-+/g, '-') // Replace multiple - with single -
.replace(/^-+/, '') // Trim - from start of text
.replace(/-+$/, ''); // Trim - from end of text
}