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
| module line(point1, point2, width = 1, cap_round = true) { | |
| angle = 90 - atan((point2[1] - point1[1]) / (point2[0] - point1[0])); | |
| offset_x = 0.5 * width * cos(angle); | |
| offset_y = 0.5 * width * sin(angle); | |
| offset1 = [-offset_x, offset_y]; | |
| offset2 = [offset_x, -offset_y]; | |
| if(cap_round) { | |
| translate(point1) circle(d = width, $fn = 24); |
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
| filename1="out.html" | |
| filename2="tmp.html" | |
| while true | |
| do | |
| curl -L 'https://blah' > "$filename1" | |
| m1=($(md5sum "$filename1")) | |
| m2=($(md5sum "$filename2")) | |
| echo "$m1 & $m2" |
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 requests | |
| import json | |
| import time | |
| import os | |
| # sudo apt install sox | |
| # START https://curl.trillworks.com/ | |
| cookies = { | |
| 'xx': 'yy', |
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
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # LEDE Configuration | |
| # | |
| CONFIG_MODULES=y | |
| CONFIG_HAVE_DOT_CONFIG=y | |
| # CONFIG_TARGET_sunxi is not set | |
| # CONFIG_TARGET_apm821xx is not set | |
| # CONFIG_TARGET_ath25 is not set | |
| # CONFIG_TARGET_ar71xx is not set |