This file contains 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 ( | |
"database/sql" | |
_ "github.com/mattn/go-sqlite3" | |
"time" | |
) | |
func main() { | |
db, err := sql.Open("sqlite3", "/tmp/test.db") |
This file contains 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 | |
# \ | |
exec tclsh "$0" "$@" | |
set nb_iter 1000 | |
set sleep 500 | |
for {set i 0} {$i < $nb_iter} {incr i} { | |
after $sleep | |
puts $i |