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
| {-# LANGUAGE BangPatterns #-} | |
| module SillyDB.Utils.CRC32C ( | |
| crc32c | |
| , crc32 | |
| , crc32l | |
| , updateDigest32 | |
| , updateDigest32c | |
| , mask | |
| , unmask | |
| , CRC32(..) -- for tests |
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
| xkb_keymap { | |
| // xkb_keycodes { include "lt_addon(evdev)" }; | |
| xkb_keycodes { include "evdev(evdev)" }; | |
| xkb_types { include "complete" }; | |
| xkb_compat { include "complete" }; | |
| xkb_symbols { include "pc(pc105)+pc(editing)+keypad(x11)+keypad(overlay)+keypad(oss)+us(sun_type6)+my_bksp(bksp)+ctrl(nocaps)+terminate+sun_vndr/solaris(defaults)+ru(legacy):2+f12(toggle)"}; | |
| xkb_geometry { include "sun(t6)" }; | |
| }; |
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
| { pkgs, stdenv }: | |
| with pkgs; | |
| let libPath = stdenv.lib.makeLibraryPath [ | |
| stdenv.cc.cc | |
| mesa | |
| libpulseaudio | |
| xlibs.libX11 | |
| xlibs.libXext |
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
| { pkgs, locales}: | |
| let fetchFromDebianScm = { | |
| rev, name ? "debian-pkg-glibc-${rev}-src", | |
| ... # For hash agility | |
| }@args: pkgs.fetchgit ({ | |
| inherit name; | |
| url = "https://salsa.debian.org/glibc-team/glibc.git"; | |
| } // removeAttrs args [ "rev" ]) // { inherit rev; }; |
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
| % time seconds usecs/call calls errors syscall | |
| ------ ----------- ----------- --------- --------- ---------------- | |
| 99,84 115,540901 6728 17172 lstat | |
| 0,16 0,187311 5062 37 getdents | |
| ------ ----------- ----------- --------- --------- ---------------- | |
| 100.00 115,728212 17209 total |
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
| % cat /proc/spl/kstat/zfs/zil ~/work/sandbox/zfs | |
| 15 1 0x01 13 3536 1473531785 3980622449883102 | |
| name type data | |
| zil_commit_count 4 1206283 | |
| zil_commit_writer_count 4 1204597 | |
| zil_itx_count 4 20538938 | |
| zil_itx_indirect_count 4 0 | |
| zil_itx_indirect_bytes 4 0 | |
| zil_itx_copied_count 4 484 | |
| zil_itx_copied_bytes 4 58080 |
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
| Partial `strace -w -c` for process which do readdir/lstat/unlink loop on 5M files in one dir | |
| file names is a base58(sha256(file_content)). | |
| % time seconds usecs/call calls errors syscall | |
| ------ ----------- ----------- --------- --------- ---------------- | |
| 66,36 65,516804 1559923 42 getdents | |
| 22,83 22,535192 1178 19118 lstat | |
| 10,80 10,658754 18440 578 unlink | |
| 0,01 0,012003 20 578 write | |
| ------ ----------- ----------- --------- --------- ---------------- |
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
| { }: | |
| with import <nixpkgs> {}; | |
| let | |
| tdbus = with python27Packages; buildPythonPackage rec { | |
| name = "tdbus-${version}"; | |
| version = "0.10"; | |
| src = fetchFromGitHub { | |
| owner = "hmvp"; |
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
| these paths will be fetched (14.94 MiB download, 223.97 MiB unpacked): | |
| /nix/store/4d907gfzfvwv5w8m9qrbp5zfjasxp7jd-curl-7.59.0-dev | |
| /nix/store/5bsjb9dlmr2c0ph24na1z5s1nzap14m1-source | |
| /nix/store/8hfz60bj6xmf5n71akp6msf7j9klxkb3-brotli-1.0.7-dev | |
| /nix/store/bj94bjspqyl8zpfs03178czhz1d9sqws-nghttp2-1.32.0-lib | |
| /nix/store/c0fa855kfw56ybv6l6g4s15kwmk4m8s8-cmake-3.12.1 | |
| /nix/store/dxqwmlp4x303x4cwna6h1nq5jphx0cgr-nghttp2-1.32.0-bin | |
| /nix/store/fv0mf40ms5l5cwf308adk4d4xqbi9fiy-7d58e303159b2fb343af9a1ec4512238efa147c7.patch | |
| /nix/store/ghb5ymx9vb9l6nh6ww2xr7fm7yymk57n-c-ares-1.15.0 | |
| /nix/store/grq9a0ngs7b0cr13qpj19jjlc1a09lbk-nghttp2-1.32.0 |
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
| diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c | |
| index 353bc5ef42..150ca4d9bb 100644 | |
| --- a/dlls/winex11.drv/keyboard.c | |
| +++ b/dlls/winex11.drv/keyboard.c | |
| @@ -1416,7 +1416,13 @@ BOOL X11DRV_KeyEvent( HWND hwnd, XEvent *xev ) | |
| vkey = EVENT_event_to_vkey(xic,event); | |
| /* X returns keycode 0 for composed characters */ | |
| if (!vkey && ascii_chars) vkey = VK_NONAME; | |
| - bScan = keyc2scan[event->keycode] & 0xFF; | |
| + |