What do you want to save?
Add Code snippet
New code examples in category TypeScript
-
Awgiedawgie 2022-03-19 16:25:16
typescript pick
interface Tarea { titulo: string; descripcion: string; completado: boolean; } type TareaReducido = Pick<Tarea, "titulo" | "descripcion">; const tarea: TareaReducido = { titulo: "Limpiar Recamara", descripcio... Add solution -
A-312 2022-03-17 18:45:05
write a bash script that accepts a text file as argument and calculates number of occurrences of each words in it and return them as key value pairs
file=/home/stefan/ooxml1.txt for word in $(sed 's/[^A-Za-z]/ /g' $file | tr " " "\n" | sort -u) do echo -n "$word " grep -c $word $file done | sort -k2 -n Add solution -
Phoenix Logan 2022-03-17 09:20:17
google sheets if
# Basic syntax: =IF(condition, outcome_if_true, outcome_if_false) # Note, the default setup for IF in Google Sheets is an IF ELSE # Example usage: =IF(A1 = "this text", "Houston, we have a match", 0) # This returns "Houston, we ... Add solution -
Awgiedawgie 2022-03-17 05:05:02
how to install typescript
npm install -g typescript Add solution