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
+ cd /home/plm/service/frontend | |
+ yarn run lint:ci | |
yarn run v1.22.4 | |
$ eslint --cache --ext .js,.jsx . && echo "eslint: no lint errors found" | |
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
# @param {Integer[][]} is_connected | |
# @return {Integer} | |
def find_circle_num(is_connected) | |
visited = Array.new(is_connected.length, 0) | |
count = 0 | |
for i in 0...is_connected.length | |
if visited[i] == 0 && visited.uniq != [1] | |
dfs(i, is_connected, visited, [i]) |
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
[ | |
{ | |
"name": "Context", | |
"value": { | |
"isLoading": false, | |
"isError": false, | |
"template": { | |
"id": 1, | |
"name": "Template 1", | |
"groups": [ |
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
{ | |
"public_identifier": "williamhgates", | |
"profile_pic_url": "https://media-exp1.licdn.com/dms/image/C4D03AQHqRRhVsnaziA/profile-displayphoto-shrink_200_200/0/1626063510328?e=1640217600&v=beta&t=6sSKthJwkNGWUV2-V-8BQzirJFe7wBUCEuq7ZiE447A", | |
"background_cover_image_url": "https://media-exp1.licdn.com/dms/image/C4D16AQHCmaRo1aaK2w/profile-displaybackgroundimage-shrink_200_800/0/1626063499170?e=1640217600&v=beta&t=TAwSSpIkYPG2ybh1caSxUYOHG92j5xPoxSyoWhvEsEQ", | |
"first_name": "Bill", | |
"last_name": "Gates", | |
"full_name": "Bill Gates", | |
"occupation": "Co-chair at Bill & Melinda Gates Foundation", | |
"headline": "Co-chair, Bill & Melinda Gates Foundation", | |
"summary": "Co-chair of the Bill & Melinda Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Voracious reader. Avid traveler. Active blogger.", |
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 os | |
from langchain.embeddings import OpenAIEmbeddings | |
from langchain.vectorstores import Pinecone | |
from langchain.chains import RetrievalQA | |
from langchain.chat_models import ChatOpenAI | |
from langchain.vectorstores import Pinecone | |
from langchain.document_loaders import TextLoader | |
from langchain.text_splitter import RecursiveCharacterTextSplitter | |
import pinecone | |
from langchain.chains.summarize import load_summarize_chain |
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
var destinationGoogleSheetURL = 'https://docs.google.com/spreadsheets/d/1Y2-9AhJZY2hgHIdRcxFajOR-KA-0nGzXeQKJMkXTfEk/edit#gid=0'; | |
var pageLimit = document.querySelector('#m_lblPagingSummary > b:nth-child(3)').innerText; | |
pageLimit = parseInt(pageLimit); | |
for(var i = 1; i <= pageLimit; i++) { | |
setTimeout(function() { | |
var listingAddress = document.querySelectorAll("td.d128m16 .formula.field.d128m15")[0].innerText ?? ''; | |
var listingLP = document.querySelector('tr.d128m13 td.d128m11').innerText ?? ''; | |
var listingOLP = document.querySelectorAll('td.d128m11')[2].innerText ?? ''; |
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
var destinationGoogleSheetURL = 'https://docs.google.com/spreadsheets/d/1Y2-9AhJZY2hgHIdRcxFajOR-KA-0nGzXeQKJMkXTfEk/edit#gid=0'; | |
var pageLimit = document.querySelector('#m_lblPagingSummary > b:nth-child(3)').innerText; | |
pageLimit = parseInt(pageLimit); | |
for(var i = 1; i <= pageLimit; i++) { | |
setTimeout(function() { | |
var listingAddress = document.querySelector(".d-mega.d-fontSize--larger.d-marginRight--20").innerText ?? ''; | |
var listingLP = document.querySelector('.d-mega.d-fontWeight--bold.d-fontSize--larger.d-marginLeft--20').innerText ?? ''; | |
var listingAgentName = document.querySelector('td.d94m49').innerText ?? ''; |
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
var destinationGoogleSheetURL = 'https://docs.google.com/spreadsheets/d/1NCeCkHuALcyV_yKvW9KqCJUA3AIVanEr1MzjY0HXVoY/edit#gid=0'; | |
var pageLimit = document.querySelector('#m_lblPagingSummary > b:nth-child(3)').innerText; | |
pageLimit = parseInt(pageLimit); | |
for (var i = 1; i <= pageLimit; i++) { | |
setTimeout(function () { | |
var listingAddress = document.querySelectorAll("td.d128m16 .formula.field.d128m15")[0].innerText || 'unknown'; | |
var listingLP = document.querySelector('tr.d128m13 td.d128m11').innerText || 'unknown'; |
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
var destinationGoogleSheetURL = 'https://docs.google.com/spreadsheets/d/1Y2-9AhJZY2hgHIdRcxFajOR-KA-0nGzXeQKJMkXTfEk/edit#gid=0'; | |
var pageLimit = document.querySelector('#m_lblPagingSummary > b:nth-child(3)').innerText; | |
pageLimit = parseInt(pageLimit); | |
for (var i = 1; i <= pageLimit; i++) { | |
setTimeout(function () { | |
var listingAddress = document.querySelectorAll("td.d128m16 .formula.field.d128m15")[0].innerText || 'unknown'; | |
var listingLP = document.querySelector('tr.d128m13 td.d128m11').innerText || 'unknown'; | |
var listingOLP = document.querySelectorAll('td.d128m11')[2].innerText || 'unknown'; |
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
var destinationGoogleSheetURL = 'https://docs.google.com/spreadsheets/d/1Y2-9AhJZY2hgHIdRcxFajOR-KA-0nGzXeQKJMkXTfEk/edit#gid=0'; | |
var pageLimit = document.querySelector('#m_lblPagingSummary > b:nth-child(3)').innerText; | |
pageLimit = parseInt(pageLimit); | |
for (var i = 1; i <= pageLimit; i++) { | |
setTimeout(function () { | |
var listingAddress = document.querySelector(".d-mega.d-fontSize--larger.d-marginRight--20").innerText || 'unknown'; | |
var listingLP = document.querySelector('.d-mega.d-fontWeight--bold.d-fontSize--larger.d-marginLeft--20').innerText || 'unknown'; | |
var listingAgentName = document.querySelector('td.d94m49').innerText || 'unknown'; |