Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
| from langchain.llms import OpenAI | |
| from langchain.prompts import PromptTemplate | |
| from langchain.chains import LLMChain | |
| from langchain.chains import SequentialChain | |
| from secret_key import openapi_key | |
| import os | |
| os.environ['OPENAI_API_KEY'] = openapi_key | |
| llm = OpenAI(temperature=0.7) |
| { | |
| "_id": { | |
| "$oid": "66fe9b3ebf4d1700076fb639" | |
| }, | |
| "version": "v3", | |
| "description": "", | |
| "stepsVersion": 3, | |
| "type": "clip", | |
| "title": "SubRule - Rule V2", | |
| "categoryId": { |
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
| { | |
| // Tight coupling from A to B => A needs B to be defined, callable and adhere to an interface | |
| // No coupling from B to A => B does not need A in any way (pure fn) | |
| function a() { | |
| b() | |
| } | |
| function b() {} | |
| } | |
| { |
| 1. NextGreaterElement | |
| import java.util.*; | |
| import java.io.*; | |
| public class Main { | |
| private static PrintStream ps = System.out; | |
| private static int[] nextGreaterElement(int[] nums) { |
| // unique paths unique paths 2 climbing stairs Minimum Path Sum decode ways | |
| 1. Two Sum | |
| if (map[diff]) return [+map[diff], +i] | |
| else map[nums[i]] = i | |
| 2. Add Two Numbers | |
| let result = curr |
| // // graphs | |
| // // bfs dfs allPathsDfs tsp tspHelper primeFactors graphColoring | |
| // https://www.techiedelight.com/replace-each-element-corresponding-rank-array | |
| // var LinketList = function (data, next) { | |
| // (this.data = typeof data !== undefined ? data : null), | |
| // (this.next = next ?? null); | |
| // }; | |
| // function reverse(list) { | |
| // let curr = list; |
| // Q1 | |
| // Russian Doll Envelope | |
| function maxEnvelopes(envelopes){ | |
| var n = envelopes.length; | |
| if (n == 0) | |
| return n; | |
| envelopes.sort(); | |
| var dp = Array(n).fill(1); | |
| for (var i = 1; i < n; ++i) { | |
| for (var j = 0; j < i; ++j) { |
| #!/bin/bash | |
| echo 'Installing tomcat lib' | |
| sudo apt update | |
| sudo apt install default-jre | |
| java --version | |
| cd /opt | |
| wget https://mirrors.estointernet.in/apache/tomcat/tomcat-8/v8.5.64/bin/apache-tomcat-8.5.64.tar.gz | |
| tar -zvxf apache-tomcat-8.5.64.tar.gz | |
| cd apache-tomcat-8.5.64/ |
| #!/bin/bash | |
| echo 'Installing tomcat lib' | |
| sudo apt update | |
| sudo apt install default-jre | |
| java --version | |
| cd /opt | |
| wget https://mirrors.estointernet.in/apache/tomcat/tomcat-8/v8.5.61/bin/apache-tomcat-8.5.61.tar.gz | |
| tar -zvxf apache-tomcat-8.5.61.tar.gz | |
| cd apache-tomcat-8.5.61/ |