I hereby claim:
- I am haruo31 on github.
- I am haruo8231 (https://keybase.io/haruo8231) on keybase.
- I have a public key ASA6CquUkOjcM5LkiBQi7d95A22LbQT4bORAcSM546J5ngo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$fa = 24; | |
$fs = 0.1; | |
thread_profiles = [ | |
["Tr", function (P) ( | |
let (H1 = 0.5 * P, H = P / (tan(15) * 2), _w1 = P / H * (H + H1) / 2, _w = P / H * (H - H1) / 2) | |
[ | |
[[_w1 * 0.5, -H1], [_w * 0.5, 0], [_w * -0.5, 0], [_w1 * -0.5, -H1]], // ext |
$fa=4; | |
$fs=0.1; | |
for(x=[0,180]) { | |
rotate([0,x,0]) | |
difference() { | |
union() { | |
rotate([0,90,0]) linear_extrude(75) | |
square(6, center=true); |
$fs = 0.1; | |
$fa = 3; | |
module sleeve(d=3, h=1, t=1) { | |
difference() { | |
cylinder(d=d, h); | |
cylinder(d=d-t*2, h); | |
} | |
} |
$fa = 3; | |
$fs = 0.1; | |
module taper_cylinder(d=20, r=2, h=8) { | |
linear_extrude(h, scale=[(d-h*r)/d,(d-h*r)/d]) | |
circle(d=d); | |
} | |
difference() { |
FROM perl:5.10 | |
ENV PERL_MM_USE_DEFAULT 1 | |
ENV PERL_EXTUTILS_AUTOINSTALL --defaultdeps | |
RUN perl -MCPAN -e "install Perl::LanguageServer" | |
WORKDIR / |
diskutil list -plist | | |
xidel --data=- --extract "//*/string[.='CD_partition_scheme']/../*" | | |
awk 'NR % 2 == 1 { printf "%s\t", $0; } NR % 2 == 0 { print $0; }' | | |
IFS=$'\t' while read key value; do | |
case "$key" in | |
"DeviceIdentifier") | |
DEVICE=/dev/${value} | |
;; | |
"VolumeName") | |
VOLNAME="${value}" |
$ jshell
| Welcome to JShell -- Version 12
| For an introduction type: /help intro
jshell> /set feedback verbose
| Feedback mode: verbose
jshell> var v = "AAA"
// ==UserScript== | |
// @name AliExpress order collector | |
// @version 1 | |
// @include https://trade.aliexpress.com/orderList.htm* | |
// ==/UserScript== | |
function run() { | |
var elem = document.querySelector('.me-menu-body').appendChild(document.createElement('textarea')); | |
elem.value = (JSON.stringify( | |
Array.prototype.slice.call(document.querySelectorAll('.order-item-wraper')) |