Skip to content

Instantly share code, notes, and snippets.

View saravanasksk's full-sized avatar
🎯
Focusing

SARAVANAKUMAR SK saravanasksk

🎯
Focusing
View GitHub Profile
@saravanasksk
saravanasksk / shopify-auto-currencies-switcher.js
Created January 21, 2020 07:34 — forked from chrisgrabinski/shopify-auto-currencies-switcher.js
(Shopify) Automatically change a shop's currency based on the customer's geolocation
// Dependencies
// - https://github.com/carolineschnapp/currencies
// Don't change currency if Cookie has been already set
if (Currency.cookie.read() == null) {
jQuery.ajax( {
url: '//freegeoip.net/json/',
type: 'GET',
dataType: 'jsonp',
@saravanasksk
saravanasksk / index.html
Created December 26, 2019 04:43
Split Page
<body class="released" style="height: 667px;">
<div class="section-intro" style="height: 667px;">
<div class="wrap">
<svg id="wiper">
<defs>
<linearGradient id="grad" x1="0" x2="0" y1="0" y2="100%">
<stop offset="0%" stop-color="#ff5e3a" stop-opacity="1"></stop>
<stop offset="50%" stop-color="#ff5e3a" stop-opacity="1"></stop>
<stop offset="62.54%" stop-color="#ff2a68" stop-opacity="1"></stop>
</linearGradient>

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database