Skip to content

Instantly share code, notes, and snippets.

View zarybnicky's full-sized avatar

Jakub Zarybnicky zarybnicky

View GitHub Profile
@zarybnicky
zarybnicky / original-query.graphql
Last active February 11, 2025 22:10
Postgraphile v4 vs v5 (big query)
fragment Couple on Couple {
id
active
since
until
woman {
id
name
firstName
lastName
@zarybnicky
zarybnicky / .j2render.md
Last active December 14, 2021 14:37
j2render

j2render

echo '{"title": "Test Title"}' > data.json
echo '<title>Test Title</title>' > template.j2

chmod +x j2render.py

./j2render.py template.j2 data.json
This file has been truncated, but you can view the full file.
== 2021-12-05 13:58:26,701 easyblock.py:292 INFO This is EasyBuild 4.5.1.dev0-rfd4dfc45f7d670a34046fb7833ee4db42165dfb8 (framework: 4.5.1.dev0-rfd4dfc45f7d670a34046fb7833ee4db42165dfb8, easyblocks: 4.5.1.dev0-r0f670734870df82eb14df0ec0a3087f4623a8c7d) on host node3205.victini.os.
== 2021-12-05 13:58:26,701 easyblock.py:298 INFO This is easyblock EB_OpenCV from module easybuild.easyblocks.opencv (/user/gent/436/vsc43634/easybuild/easybuild-easyblocks/easybuild/easyblocks/o/opencv.py)
== 2021-12-05 13:58:26,701 easyblock.py:932 INFO Build dir set to /tmp/vsc43634/easybuild/build/OpenCV/4.5.3/foss-2021a-CUDA-11.3.1-contrib
== 2021-12-05 13:58:26,701 easyblock.py:992 INFO Software install dir set to /scratch/gent/436/vsc43634/easybuild/CO7/skylake-eth/software/OpenCV/4.5.3-foss-2021a-CUDA-11.3.1-contrib
== 2021-12-05 13:58:26,702 easyblock.py:997 INFO Module install dir set to /scratch/gent/436/vsc43634/easybuild/CO7/skylake-eth/modules/all
== 2021-12-05 13:58:26,702 easyblock.py:277 INFO Init completed for appli
[inuits@lima:~/Projects]$ sudo dd if=/dev/zero of=/dev/sda bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 101.753 s, 10.6 MB/s
[inuits@lima:~/Projects]$ sudo sh -c "sync && echo 3 > /proc/sys/vm/drop_caches"
[inuits@lima:~/Projects]$ sudo dd if=/dev/sda of=/dev/null bs=4k count=4096
4096+0 records in
4096+0 records out
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am zarybnicky on github.
  • I am zarybnicky (https://keybase.io/zarybnicky) on keybase.
  • I have a public key whose fingerprint is D51F FA5C 82D7 DE4D 267F EEAA DCCF 93BC 966B 1A4B

To claim this, I am signing this object:

# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, lib, ... }:
let
unstable = import <unstable> { config.allowUnfree = true; };
in {
imports =