Installing Debian GNU/Linux from a Unix/Linux System
apt install -V krusader \
sudo \
kde-plasma-desktop\
network-manager\
network-manager-openvpn\
| .org $8000 | |
| .org $ff00 | |
| XAML = $24 ; Last "opened" location Low | |
| XAMH = $25 ; Last "opened" location High | |
| STL = $26 ; Store address Low | |
| STH = $27 ; Store address High | |
| L = $28 ; Hex value parsing Low | |
| H = $29 ; Hex value parsing High | |
| YSAV = $2A ; Used to see if hex value is given |
| #!/bin/sh | |
| set -x | |
| # Create a folder named 'docker'. The folder would have 'executible' flag set | |
| mkdir -p `pwd`/scripts/docker | |
| # Add the script to the path BEFORE the rest | |
| export PATH=`pwd`/scripts:$PATH |
| .PHONY: target1 # Target 1 help text | |
| target1: target2 target3 | |
| @echo "Target 1" | |
| .PHONY: target2 # Target 2 help text | |
| target2: | |
| @echo "Target 2" | |
| .PHONY: target3 |
Installing Debian GNU/Linux from a Unix/Linux System
apt install -V krusader \
sudo \
kde-plasma-desktop\
network-manager\
network-manager-openvpn\
| # class for autopsy | |
| In [1]: class A: | |
| ...: def foo(): | |
| ...: pass | |
| # initial investigations | |
| In [16]: str(A.foo) |
TL;DR
git fsck --unreachable | grep commit | cut -d" " -f3 | xargs git log --merges --no-walk --grep=WIP
Original SO post.
| import logging | |
| # default config | |
| logging.basicConfig() | |
| # LogMessage attributes for FORMAT | |
| # https://docs.python.org/3.5/library/logging.html#logrecord-attributes | |
| FORMAT = '%(asctime)-15s %(message)s' | |
| logging.basicConfig(format=FORMAT) |
| class GetAttrNotImplementedMixin: | |
| methods_to_be_implemented = {'foo', 'bar'} # add more method names | |
| def __getattr__(self, name): | |
| def _method_not_implemented(*args, **kwargs): | |
| raise NotImplementedError("Method %s is not implemented in class %s" % (name, self.__class__.__name__)) | |
| if name in self.methods_to_be_implemented: | |
| return _method_not_implemented |
0.5 ns - CPU L1 dCACHE reference
1 ns - speed-of-light (a photon) travel a 1 ft (30.5cm) distance
5 ns - CPU L1 iCACHE Branch mispredict
7 ns - CPU L2 CACHE reference
71 ns - CPU cross-QPI/NUMA best case on XEON E5-46*
100 ns - MUTEX lock/unlock
100 ns - own DDR MEMORY reference
135 ns - CPU cross-QPI/NUMA best case on XEON E7-*