A4988 Drivers
Vref set to ~90% of stepper rated current
Rs = 0.1ohm
X = 0,58v (0,725A)
Y = 0,58v (0,725A)
Z = 0,58v (0,725A)
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
| WITH session_attributiON AS | |
| (SELECT *, | |
| CASE WHEN session_id = LAST_VALUE(session_id) | |
| OVER (partitiON by user_id order by session_start_tstamp ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) THEN 1 | |
| ELSE 0 | |
| END AS LAST_click_attrib_pct, | |
| CASE WHEN session_id = FIRST_VALUE(session_id) | |
| OVER (partitiON by user_id order by session_start_tstamp ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) THEN 1 | |
| ELSE 0 | |
| END AS first_click_attrib_pct, |
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
| /* | |
| * I add this to html files generated with pandoc. | |
| */ | |
| html { | |
| font-size: 100%; | |
| overflow-y: scroll; | |
| -webkit-text-size-adjust: 100%; | |
| -ms-text-size-adjust: 100%; | |
| } |
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
| #!/bin/bash | |
| # OS detect | |
| osdetect=$(uname) | |
| file_path="unknown" | |
| if [[ "$osdetect" == 'Linux' ]]; then | |
| file_path="sudo mv fonts/* /usr/local/share/fonts/" | |
| elif [[ "$osdetect" == 'Darwin' ]]; then | |
| file_path="mv fonts/* /Library/Fonts/" | |
| elif [[ "$osdetect" == 'Arch Linux' ]]; then |
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
| #!/bin/sh | |
| # Written by: Keefer Rourke <https://krourke.org> | |
| # Based on AUR package <https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ttf-google-fonts-git> | |
| # dependancies: fonts-cantarell, ttf-ubuntu-font-family, git | |
| sudo apt-get install fonts-cantarell git | |
| srcdir="/tmp/google-fonts" | |
| pkgdir="/usr/share/fonts/truetype/google-fonts" | |
| giturl="git://github.com/google/fonts.git" |
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
| <!-- | |
| Before implementing this jekyll snippet make sure | |
| 1. you have signed up with Mailchimp. | |
| 2. you have created a list in Mailchimp. | |
| 3. you have defined the list in _config.yml, | |
| for ex: "mailchimp-list: //redgadgets.us10.list-manage.com/subscribe/post?u=210acce5db69d3d4a04b0e25d&id=08c6708f40" | |
| --> | |
| <form action="{{site.mailchimp-list}}" method="post" name="mc-embedded-subscribe-form" class="wj-contact-form validate" target="_blank" novalidate> | |
| <div class="mc-field-group"> |