Skip to content

Instantly share code, notes, and snippets.

View satyaki1's full-sized avatar
:bowtie:

Satyaki Chatterjee satyaki1

:bowtie:
View GitHub Profile
@satyaki1
satyaki1 / Setting up Karma and Jasmine
Last active May 17, 2017 06:04
Karma Jasmine Setup Steps For A Simple Javascript Application
Steps to follow to set up Karma and Jasmine unit test case framworks in your project -
#Pre-requisites
1. NPM
2. NodeJS
#Steps
Following commands to run/ steps to follow from your project root directory -
* Create a package.json file in your project directory by running `npm init` command from your root direcotory
* After setting up the initial package.json file , run this command to install Karma runner - `npm install karma --save -dev`
@lopspower
lopspower / README.md
Last active May 6, 2026 09:03
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@kottenator
kottenator / simple-pagination.js
Created July 13, 2015 20:44
Simple pagination algorithm
// Implementation in ES6
function pagination(c, m) {
var current = c,
last = m,
delta = 2,
left = current - delta,
right = current + delta + 1,
range = [],
rangeWithDots = [],
l;
@ericelliott
ericelliott / essential-javascript-links.md
Last active April 30, 2026 08:09
Essential JavaScript Links
@rxaviers
rxaviers / gist:7360908
Last active May 6, 2026 04:14
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: