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/sh | |
| osascript<<APPLESCRIPT 2>&1 | |
| -- get Safari all tabs urls and titles | |
| -- safari-get-all-tabs-urls.sh | less | |
| tell application "Safari" | |
| set tabsList to front window's tabs as list | |
| repeat with currTab in tabsList | |
| set currName to currTab's name | |
| set currURL to currTab's URL |
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
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| func main() { | |
| app := NewApp() | |
| server := NewServer() |
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
| package main | |
| import "fmt" | |
| func main() { fmt.Println(q + "\x60" + q + "\x60") } | |
| var q = `package main | |
| import "fmt" |
OlderNewer