Skip to content

Instantly share code, notes, and snippets.

View gauravsoti1's full-sized avatar
💪
Love to build things. Let's colab?

Gaurav Sobti gauravsoti1

💪
Love to build things. Let's colab?
View GitHub Profile
@gauravsoti1
gauravsoti1 / IconDropdown.js
Last active December 4, 2019 11:01
React Material UI modular dropdown component. This doesn't add overflow and padding style to the body when it opens.
import React, { useState } from "react";
import styled from "styled-components";
import {
MenuItem,
MenuList,
ClickAwayListener,
Paper,
Popper
} from "@material-ui/core";
import ArrowDropDownOutlinedIcon from "@material-ui/icons/ArrowDropDownOutlined";
@gauravsoti1
gauravsoti1 / 213412242421_create_shopify_orders.rb
Last active January 21, 2018 19:59
all about creating and cancelling shopify orders on delhivery
#Making a table shopify_orders to store some data which helps us keep the shopify and delhivery data in sync
class CreateShopifyOrders < ActiveRecord::Migration
def change
create_table :shopify_orders do |t|
t.string :order_id
t.string :order_name
t.string :sub_order_id
t.string :fulfillment_id
t.string :godam_status
t.string :tracking_number
@Mikodes
Mikodes / gist:be9b9ce42e46c3d4ccb6
Created November 26, 2014 10:30
All Media queries for resolutions
/* (320x480) iPhone (Original, 3G, 3GS) */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
/* insert styles here */
}
/* (320x480) Smartphone, Portrait */
@media only screen and (device-width: 320px) and (orientation: portrait) {
/* insert styles here */
}
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active June 28, 2024 10:38
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\