Skip to content

Instantly share code, notes, and snippets.

View tjanovsky's full-sized avatar

Tomas Janovsky tjanovsky

  • Prague, Czech Republic
View GitHub Profile
[global]
ioengine=libaio
direct=1
size=1G
runtime=10
time_based
group_reporting
[seq-read]
rw=read
@tjanovsky
tjanovsky / gist:5e98c1d766698cd218399964d9ee0a23
Last active May 19, 2024 13:52
Resources for learning polars and rust
https://docs.pola.rs/#philosophy
# Liam Brannigan:
https://www.rhosignal.com/posts/polars-index/
https://www.udemy.com/course/data-analysis-with-polars/?couponCode=POLARS17
https://github.com/escobar-west/polars-cookbook
https://realpython.com/polars-python/
@tjanovsky
tjanovsky / git-commit-log-stats.md
Created October 18, 2018 13:52 — forked from eyecatchup/git-commit-log-stats.md
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@tjanovsky
tjanovsky / automat.py
Created June 26, 2014 13:17
python automat for SQL*Loader
'''
USE:
nohup python automat.py | tee -a automat.out
'''
import sys, os
import subprocess
def runshell(command):
retcode = subprocess.call(command, shell=True)
@tjanovsky
tjanovsky / fio_config1.cfg
Last active May 17, 2024 07:59
Ora FIO CFG v1
# taken from http://www.dbi-services.com/index.php/blog/entry/flexible-io-simulating-database-like-io-activity-without-an-installed-database
[global]
directory=/fio_tests
[seq-read]
# Sequential reads
rw=read
# Size if the the I/O
size=8g
#!/bin/bash
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
# Install stuff #
#################
# Install development tools and some misc. necessary packages
yum -y groupinstall "Development tools"
yum -y install zlib-devel # gen'l reqs