$ npm install
$ npx ts-node cmudict.ts hello world
hh-ah0-l-ow1 w-er1-l-d
This file contains hidden or 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
foo |
This file contains hidden or 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
{ | |
"metadata": { | |
"language": "Julia", | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or 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
#!/bin/bash | |
# A short, straightforward bash script to run a solidity contract. | |
# | |
# Prerequisites (Mac with homebrew) | |
# | |
# * brew tap ethereum/ethereum | |
# * brew install ethereum | |
# * brew install solidity | |
# |
This file contains hidden or 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 dotenv from "dotenv"; | |
import {Configuration, OpenAIApi} from "openai"; | |
dotenv.config(); | |
const prompt = process.argv.slice(2).join(" "); | |
const configuration = new Configuration({ | |
organization: process.env.OPENAI_ORG_ID, | |
apiKey: process.env.OPENAI_API_KEY, |
This file contains hidden or 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
[dependencies] | |
active-win-pos-rs = "0.8.3" | |
dioxus = "0.4.3" | |
dioxus-desktop = "0.4.3" | |
dioxus-html = { version = "0.4.3", features = ["serialize", "native-bind"] } | |
wry = { version = "0.28.0", default-features = false, features = ["protocol", "file-drop"] } |
Vegas Brian's Pick Boost (Spread)
---------------------------------------------------------------------------------------------
West Virginia (W) -1.5 over Columbia West Virginia 8.4 (-14.0)
Indiana (W) -1.5 over Utah Utah 3.9 ( -4.5)
Marquette (W) -4.5 over Iowa St Iowa St 3.7 (-12.0)
Richmond (W) -1.5 over Georgia Tech Georgia Tech 3.5 ( -3.5)
California (W) -1.5 over Mississippi St Mississippi St 3.2 ( -3.5)
Colorado St (M) -2.5 over Memphis Memphis 1.9 ( -2.5)
BYU (M) -3.5 over VCU VCU 1.3 ( -1.0)
My model's rankings.
Rank Men Women
------------------------------------
1 Duke South Carolina
2 Auburn Texas
3 Gonzaga Connecticut
4 Florida UCLA
5 Alabama USC
This file contains hidden or 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
``` | |
Lipscomb 0.07 12.6 (Iowa St) | |
Yale 0.21 3.7 (Texas A&M) | |
Drake 0.24 3.1 (Missouri) | |
Arkansas 0.31 2.2 (Kansas) | |
New Mexico 0.35 1.8 (Marquette) | |
Vanderbilt 0.35 1.8 (St Mary's CA) | |
Creighton 0.39 1.5 (Louisville) | |
Baylor 0.43 1.3 (Mississippi St) | |
---------------------------------------- |
Pick Win Prob (Opponent)
============================================
Lipscomb 0.07 (Iowa St)
Yale 0.21 (Texas A&M)
Drake 0.24 (Missouri)
Arkansas 0.31 (Kansas)
New Mexico 0.35 (Marquette)
Vanderbilt 0.35 (St Mary's CA)
OlderNewer