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!
\
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* (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 */ | |
} | |