Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| (defun read-c-radix (s) | |
| (let ((c (substring s 0 (min (length s) 1)))) | |
| (cond ((string= s "2") 2) | |
| ((string= c "b") 2) | |
| ((string= s "8") 8) | |
| ((string= c "o") 8) | |
| ((string= s "16") 16) | |
| ((string= c "h") 16) | |
| ((string= s "10") 10) | |
| ((string= c "d") 10)))) |
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
| all: excellon.html excellon.pdf | |
| excellon.html: excellon.md | |
| @pandoc $< -o $@ | |
| excellon.pdf.md: excellon.md | |
| @cat $< | sed 's/\.png/\.pdf/g' > $@ | |
| excellon.pdf: excellon.pdf.md | |
| @pandoc $< --latex-engine=pdflatex -o $@ |
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
| node_modules/ | |
| dist/ |
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
| {options, config, lib, pkgs, ...}: | |
| with lib; | |
| let | |
| cfg = config.webapp; | |
| in { | |
| ## Interface ## | |
| options.webapp = { | |
| presets = mkOption { | |
| default = {}; | |
| example = literalExample '' |
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
| {options, config, lib, pkgs, ...}: | |
| with lib; | |
| let | |
| cfg = config.webapp; | |
| in { | |
| ## Interface ## | |
| options.webapp = { | |
| presets = mkOption { | |
| default = {}; | |
| example = literalExample '' |
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
| var allAttrs = ["abbr","accept","accept-charset","accesskey","action","alt","async","autocomplete","autocomplete","autofocus","autoplay","border","challenge","charset","charset","checked","cite","class","cols","colspan","content","contenteditable","controls","coords","crossorigin","data","datetime","datetime","default","defer","dir","dir","dirname","disabled","download","enctype","for","for","form","formaction","formenctype","formmethod","formnovalidate","formtarget","headers","height","hidden","high","href","href","href","hreflang","http-equiv","id","ismap","keytype","kind","label","lang","list","loop","low","manifest","max","max","maxlength","media","mediagroup","method","min","min","minlength","multiple","muted","name","name","name","name","name","name","novalidate","optimum","pattern","placeholder","poster","preload","readonly","rel","required","reversed","rows","rowspan","sandbox","spellcheck","scope","selected","shape","size","sizes","span","src","srcdoc","srclang","start","step","style","tabindex","tar |
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
| export function main() {} |
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
| import sys | |
| import os | |
| import re | |
| from optparse import OptionParser | |
| import ConfigParser | |
| try: | |
| import pygccxml | |
| except ImportError: |
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
| """ | |
| Utilities for dumping STM32 peripheral registers with tab-completion | |
| Based on a script by vampi-the-frog | |
| Dependencies: | |
| pip install -U cmsis-svd | |
| Usage (inside gdb): | |
| (gdb) source /path/to/svd-dump.py |
OlderNewer