I hereby claim:
- I am dzid26 on github.
- I am dzid_ (https://keybase.io/dzid_) on keybase.
- I have a public key ASAsdXcSf4rtGsmPpTSxeotPUTLBDpKQrZntD1J3eJt58wo
To claim this, I am signing this object:
#To use this config, during "make menuconfig" select the | |
# STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9) | |
# communication. | |
# If you prefer a direct serial connection, in "make menuconfig" | |
# select "Enable extra low-level configuration options" and select | |
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC | |
# cable used for the LCD module as follows: | |
# 3: Tx, 4: Rx, 9: GND, 10: VCC |
# Copyright 2016, Jon Nordby <[email protected]>. Licensed LGPLv2+ & MIT | |
""" | |
exportProject: | |
Exports all files in document which have names like "mypart [dxf]" or "otherpart[stl,step]" | |
to individual files in an export directory. Default prefix: 'export/$project-'. | |
Can be run both as a macro from the FreeCAD UI and as a script on the command line. | |
""" |
#define AVG_WINDOW 16U | |
static int32_t errMovingAverage(int32_t val) { | |
const uint8_t window_n = AVG_WINDOW; | |
static int16_t ringbuffer[AVG_WINDOW-1U]; | |
static int32_t offset = 0; | |
static int32_t old_offset = 0; | |
static uint8_t ringbuffer_idx = window_n-1U; | |
static int32_t avg=0; |
# Compare bitcoin supply exponentially decaying rewards with a hypothetical linear one | |
# Linear reward decay coefficient has been calibrated to produce 21 million bitcoins after 32 adjustments as in normal bitcoin | |
#%% parameters | |
reward_adjustments = 32 | |
blocks_between_adjustment = 210000 | |
minutes_every_block = 10 | |
# metrics | |
years_per_adjustment = round(blocks_between_adjustment * minutes_every_block / 60 / 24 / 365) # ~4 years | |
all_rewarded_years = years_per_adjustment * reward_adjustments # ~128 years |
[General] | |
customFileEditor=notepad++ -n%l %f | |
monospace_font=Courier New | |
language=SYSTEM | |
style=default | |
toolbar_icon_size=0 | |
use_system_icon_theme=true | |
use_native_file_dialogs=false | |
cursor_blinking=true | |
prompt_to_exit=false |
if [ ! -f /usr/bin/gcc-8 ]; then | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install -y gcc-8 g++-8 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 1000 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 1000 | |
fi | |
if [ ! -f /usr/bin/clang-12 ]; then |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
echo "Creating /data/cleardata/cleardata.sh" | |
# Create deletion script | |
mkdir /data/cleardata | |
echo "#!/bin/sh | |
# get the available space left on the device | |
size=\$(df -k /storage/emulated/0/Android/data | tail -1 | awk '{print \$4}') |