NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
option request, pre flight | |
time-to-live | |
cross origin | |
get pr post kia | |
changing get to post | |
chrome vs postman | |
types of storage | |
jar war | |
tomcat , wildfly | |
authorization vs authentication |
version: "3" | |
services: | |
elasticsearch: # Elasticsearch Instance | |
container_name: gs-search | |
image: elasticsearch:7.9.1 | |
volumes: # Persist ES data in seperate "esdata" volume | |
- esdata:/usr/share/elasticsearch/data | |
environment: | |
- bootstrap.memory_lock=true |
chardet>=3.0.4 | |
click>=6.7 | |
numpy | |
opencv-python-headless | |
openpyxl==2.5.8 | |
pandas | |
pdfminer.six>=20200726 | |
PyPDF2>=1.26.0 | |
tabulate>=0.8.9 | |
matplotlib>=2.2.3 |
stages: # List of stages for jobs, and their order of execution | |
- build | |
build-job: # This job runs in the build stage, which runs first. | |
stage: build | |
script: | |
- echo "Compiling the code..." | |
- echo "Compile complete." | |
- ls | |
- cp ./README.md ../ |
<div class="flex flex-col"> | |
<div class="bg-blue-500"> | |
<div class="pt-2 pb-2"> | |
<div class="flex flex-row justify-center space-x-5 w-10/12 mx-auto"> | |
<div class="flex flex-col"> | |
<div class="flex flex-col"> | |
<img class="w-24" src="https://static-assets-web.flixcart.com/www/linchpin/fk-cp-zion/img/flipkart-plus_8d85f4.png" /> | |
<div class="flex flex-row"> | |
<p class="font-semibold italic text-white text-xs">Explore</p> | |
<p class="font-bold italic text-yellow-400 text-xs mx-1.5">Plus</p> |
<div class="flex flex-row"> | |
<div class="bg-light-blue-900 h-screen flex flex-col justify-between"> | |
<div class="border-b border-gray-400"> | |
<div class="flex flex-row space-x-3 m-4 pr-14"> | |
<img class="w-7" src="https://dashboard.render.com/static/media/logo-redesign-02-icon.42687791.svg" /> | |
<p class="text-white text-3xl font-norma">render</p> | |
</div> | |
</div> | |
<div class="flex flex-col space-y-3 ml-4 flex-auto mt-8"> |
def dict_to_item(raw): | |
if type(raw) is dict: | |
resp = {} | |
for k,v in raw.iteritems(): | |
if type(v) is str: | |
resp[k] = { | |
'S': v | |
} | |
elif type(v) is int: | |
resp[k] = { |
def dict_to_item(raw): | |
if type(raw) is dict: | |
resp = {} | |
for k,v in raw.iteritems(): | |
if type(v) is str: | |
resp[k] = { | |
'S': v | |
} | |
elif type(v) is int: | |
resp[k] = { |
.Dropzone { | |
height: 200px; | |
width: 200px; | |
background-color: #fff; | |
border: 2px dashed rgb(187, 186, 186); | |
border-radius: 50%; | |
display: flex; | |
align-items: center; | |
justify-content: center; |
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].