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
#include <iostream> | |
#include <format> | |
#include <thread> | |
int main() { | |
using namespace std::chrono_literals; | |
char spinners[] = {'-','\\','|','/', '-'}; | |
for (int i=0; i<1000; i++) { |
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
<?xml version="1.0" ?> | |
<xmeml version="4"> | |
<project> | |
<name/> | |
<children> | |
<sequence id="sequence-1"> | |
<name>tracks</name> | |
<duration>0</duration> | |
<rate> | |
<timebase>24</timebase> |
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
will@Tower:~/experiment$ ls | |
some.cpp | |
will@Tower:~/experiment$ make | |
make: *** No targets specified and no makefile found. Stop. | |
will@Tower:~/experiment$ make some | |
g++ some.cpp -o some | |
will@Tower:~/experiment$ rm some |
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
$ python sql.py | |
setup: 0.0955448150635 | |
queries: 2.39052200317 | |
4183.18676286 queries/sec | |
---- | |
import sqlite3 | |
import time | |
conn = sqlite3.connect(':memory:') |