Skip to content

Instantly share code, notes, and snippets.

@nhphong
nhphong / radio_1853b3_radio_1853b3_20241107_223226.txt
Created November 22, 2024 11:14
radio_1853b3_radio_1853b3_20241107_223226.txt
[00:00] to him or herself. I
[00:02] know these two things, but I'm going to do it any
[00:04] any way. I know this is going
[00:06] but I'm going to do it anyway. Then
[00:08] they have committed a mortal sin.
[00:10] sin. Mortal sin meaning
[00:12] also is they have
[00:14] chosen to separate
[00:16] themselves from God. Under
[00:18] find the word separate. They understand
@nhphong
nhphong / radio_10628b_radio_10628b_20241119_161736.txt
Created November 22, 2024 11:08
radio_10628b_radio_10628b_20241119_161736.txt
[00:00] hiccups and in its businesses that it previously enjoyed. So
[00:05] grave damage is being done to Israeli society by this. Before you even get to the
[00:10] the consequences of the essentially fascist cabinet around Mr. Netanyahu,
[00:15] the effort to destroy judicial independence, uh the effort
[00:20] to conscript the ultra-orthodox, uh when they've previously had the privilege of remaining
[00:25] away from the army, the rising casualty numbers, the failure to address the hostage
[00:30] issue where Mr. Netanyahu has basically applied the Hannibal directive, meaning it's
[00:35] better for anyone taken hostage to be killed than to become the subject of a negotiation.
[00:40] And then you have the economy, uh and uh the write-down of Israeli
[00:45] credit by Moody's and other rating agencies. So, aiming
@nhphong
nhphong / radio_10628b_radio_10628b_20241115_035124.txt
Last active November 22, 2024 11:03
radio_10628b_radio_10628b_20241115_035124.txt
[00:00] and the fact that most people do not know that GDP is not a single indicator, but actually a family of indicator from which you need to choose the adequate one uh for the
[00:10] analysis you want to make. So, when you want to make an analysis comparing countries with very different internal level of prices and structure of the economy, you need to go
[00:20] to GDP corrected for the purchasing power parity. When you take that, you see basically that the Russian GDP is more than three times larger than the nominal GDP
[00:30] that people very frequently use. Secondly, there is no fiscal fragility. It's a fiscally disciplined country with a very, very low level of debt to GDP
[00:40] much, much lower than what is present in Europe nowadays. I believe that the last figure that I found in Fiscal Monitor, which is published by the IMF was 17
[00:50] percent of GDP, which is far, far below the average in Europe, which is around 80% or United States which is now running almost 130% of GDP
[01:00] the overal
@nhphong
nhphong / gitignore-handler.js
Last active July 12, 2024 00:34
Handle .gitignore file
const readGitignoreFile = async (directoryHandle) => {
try {
const fileHandle = await directoryHandle.getFileHandle('.gitignore');
const file = await fileHandle.getFile();
const content = await file.text();
return content.split('\n')
.map(line => line.trim())
.filter(line => line && !line.startsWith('#'));
} catch (error) {
return [];
@nhphong
nhphong / swagger_spec.yaml
Last active May 17, 2024 03:27
Vector DB as a Service API Spec
swagger: '2.0'
info:
title: Vector Stores and Text Management API
version: '1.0.0'
host: 'your-api.com'
schemes:
- https
basePath: /api/v1
produces:
- application/json