things
This commit is contained in:
parent
bc942a3432
commit
5d450a90da
3 changed files with 29 additions and 22 deletions
4
invyt.nu
4
invyt.nu
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env nu
|
||||
|
||||
def main [url: string, --return(-r)] {
|
||||
def main [url: string
|
||||
, --return(-r) # Returns given url as YouTube url
|
||||
] {
|
||||
let parsed_url = $url | url parse
|
||||
|
||||
let yt_url = if ($parsed_url.path | str contains '/watch') {
|
||||
|
|
5
port.nu
Executable file
5
port.nu
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env nu
|
||||
|
||||
def main [] {
|
||||
random int 0..65535
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue