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
#source [find interface/stlink-v2-1.cfg] | |
source [find interface/stlink-v2.cfg] | |
transport select hla_swd | |
source [find target/stm32f1x.cfg] | |
#reset_config srst_only | |
reset_config none separate |
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
MCU=attiny10 | |
PROG=avrispmkii | |
.PHONY: all flash build download clean | |
all: build | |
flash: build download clean | |
build: |
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
MCU=m168p | |
MMCU=atmega168pa | |
DEVICE=avrisp2 | |
.PHONY: all flash build download clean | |
all: build | |
flash: build download clean |
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
#!/bin/bash | |
DOWNLOAD_PATH=$(xdg-user-dir DOWNLOAD) | |
FLATCAM_ZIP="FlatCAM-8.5.zip" | |
echo Descarcare FlatCAM 8.5... | |
wget -cq https://bitbucket.org/jpcgt/flatcam/downloads/$FLATCAM_ZIP -P $DOWNLOAD_PATH | |
echo Instalare FlatCAM... | |
sudo unzip -o $DOWNLOAD_PATH/$FLATCAM_ZIP -d /opt/ |
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
/* | |
* uart_const.h | |
* | |
* Created: 18.06.2017 14:45:02 | |
* Author: kich | |
*/ | |
#ifndef UART_CONST_H_ | |
#define UART_CONST_H_ |
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
/** | |
* HEX to ASCII | |
*/ | |
function hex2a(hexx) { | |
var hex = hexx.toString();//force conversion | |
var str = ''; | |
for (var i = 0; i < hex.length; i += 2) | |
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); | |
return str; | |
} |
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
.module_bread_crumbs { | |
position: relative; | |
box-sizing: border-box; | |
font: normal 11px Tahoma, sans-serif; | |
padding-bottom: 5px; | |
display: -webkit-flex; | |
display: -ms-flexbox; | |
display: flex; |
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
/** | |
* Стилизация линейки | |
* @author //github.com/kichman | |
* @example //jsfiddle.net/kichMan/9qLqy1ae/embedded/result/ | |
*/ | |
.ui_ruler { | |
position: relative; | |
box-sizing: border-box; | |
margin: 20px auto 0; | |
height: 40px; |
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
<div class="module_charts_pie" data-percent="{base:if-else($percent, $percent, 0)}"> | |
<div class="pie_charts_progress"> | |
<div class="pie_charts_fill" /> | |
</div> | |
<div class="pie_charts_wrapper" /> | |
</div> |
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
/** | |
* @description Подключение шрифтов с приоритетом *.svg формата | |
*/ | |
@font-face { | |
font-family: 'Font Name'; | |
src: url(font_src.eot); | |
src: url(font_src.eot?#iefix) format('embedded-opentype'), | |
url(font_src.svg#font_id) format('svg'), | |
/** | |
* Здесь можно указывать остальные форматы |
NewerOlder