sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
{ | |
"extends": "./tsconfig.app.json", | |
"exclude": [], | |
"compilerOptions": { | |
"composite": true, | |
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo", | |
"lib": [], | |
"types": ["node", "jsdom", "vitest/globals"] | |
} | |
} |
import requests_with_caching | |
import json | |
def get_movies_from_tastedive(title): | |
url = 'https://tastedive.com/api/similar' | |
param = {} | |
param['q']= title | |
param['type']= 'movies' | |
param['limit']= 5 | |
// | |
// Basic instrumentation profiler by Cherno | |
// Usage: include this header file somewhere in your code (eg. precompiled header), and then use like: | |
// | |
// Instrumentor::Get().BeginSession("Session Name"); // Begin session | |
// { | |
// InstrumentationTimer timer("Profiled Scope Name"); // Place code like this in scopes you'd like to include in profiling | |
// // Code | |
// } |
fname = raw_input("Enter file name: ") | |
fh = open(fname) | |
lst = list() # list for the desired output | |
for line in fh: # to read every line of file romeo.txt | |
word= line.rstrip().split() # to eliminate the unwanted blanks and turn the line into a list of words | |
for element in word: # check every element in word | |
if element in lst: # if element is repeated | |
continue # do nothing | |
else : # else if element is not in the list | |
lst.append(element) # append |