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
#pragma once | |
struct Foo { | |
}; | |
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
<Foo.data at 0x55cab343a4c0> [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] | |
<Foo.data at 0x55cab343a4c0> [1, 0, 0, 0, 0, 0, 0, 0, 0, 0] | |
numpy array at 0x55cab343a4c0, readonly: False |
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
0.0 | |
6.0 | |
9.0 |
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
cmake_minimum_required(VERSION 3.13) | |
project(example-gtk3) | |
set(CMAKE_CXX_STANDARD 11) | |
find_package(PkgConfig REQUIRED) | |
pkg_check_modules(GTK3 | |
REQUIRED | |
gtkmm-3.0>=3.22 |
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
ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="56a/37a/100", RUN=="/bin/su sergei --command='/home/sergei/bin/on-wacom-add.sh'" | |
ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="56a/37a/100", RUN=="/bin/su sergei --command='/home/sergei/bin/on-wacom-remove.sh'" |
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
2020-07-10T23:28:00+03:00 | |
Running ./benchmark_def | |
Run on (4 X 3600 MHz CPU s) | |
CPU Caches: | |
L1 Data 32 KiB (x4) | |
L1 Instruction 32 KiB (x4) | |
L2 Unified 256 KiB (x4) | |
L3 Unified 6144 KiB (x1) | |
Load Average: 0.58, 0.83, 0.95 | |
-------------------------------------------------------------------------------- |
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
from pyxmolpp2 import * | |
import pyxmolpp2.pipe as pp | |
from tqdm import tqdm | |
from typing import List, Union | |
def has_atoms(*atom_names): | |
def predicate(residue: Residue): | |
try: | |
for atom_name in atom_names: |
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
import gemmi | |
def show_diff(ref: gemmi.Structure, st: gemmi.Structure, check_occupancy: bool, occupancy_tolerance: float, | |
check_b_factor: bool, b_factor_tolerance: float, check_coordinate: bool, coordinate_tolerance: float, | |
ignore_model_name: bool, | |
ignore_chain_name: bool, | |
ignore_residue_id: bool, | |
ignore_missing_atoms: bool | |
,): |