- M3 - 2.8mm tight threaded, 3.0mm threaded, 3.3mm clearance
- M5 - 5.5mm threaded
- M8 - 8.0mm threaded, 8.5mm shoulder
- 608 - 22.3mm
- 2020 - 20.3mm
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
#!/usr/bin/env python | |
from __future__ import print_function | |
import math | |
Motor= ["X", "Y", "Z"] # Motor axes | |
class Vector: |
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
#!/usr/bin/env bash | |
while read line | |
do | |
iface=$(cut -d':' -f2 <<< $line | tr -d '[[:space:]]') | |
mtu=$(sed -nr 's/^.* mtu ([^ ]+) .*$/\1/p' <<< $line) | |
echo $iface: $mtu | |
if [[ "$mtu" -eq "8950" ]] |
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
#!/usr/bin/env python | |
def count_change(amount): | |
return cc(amount, 5) | |
def cc(amount, kinds_of_coins): | |
if(amount == 0): | |
return 1 |
- 303 War Numen's Fist (Raid Legendary, 40% XP) <- 310 Immolation Fists (Exotic, 0% XP)
- Result = 309, Expected = 310
- https://www.reddit.com/r/DestinyTheGame/comments/3nq46g/infusion_question/cvrq1df?context=3
- 303 ? (Legendary, ? XP) <- 310 Black Spindle (Exotic, ? XP)
- Result = 310, Expected = 310
- https://www.reddit.com/r/DestinyTheGame/comments/3nq46g/infusion_question/cvq9lnw?context=3
- 305 Ace of Spades (Exotic, ? XP) < 310 Suros Regime (Exotic, ? XP)
- Result = 309, Expected = 310
- Source: Feedback from another calculator dev
- 303 Silence of A'arn (Raid Legendary, 100% XP) <- 310 Telesto (Exotic, 0% XP)
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
#!/usr/bin/env python3 | |
import argparse | |
import functools | |
import itertools | |
# Legendary Mark cost per infusion | |
COST = 3 |
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
#!/usr/bin/env bash | |
if [[ $# -lt 1 ]] | |
then | |
echo "Usage: $0 <float_network>" | |
exit 1 | |
fi | |
declare -A floats |
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
PLAY [Test with_items] ******************************************************** | |
GATHERING FACTS *************************************************************** | |
ok: [localhost] | |
TASK: [List with dereferencing/without nesting] ******************************* | |
ok: [localhost] => (item=one) => { | |
"item": "one", | |
"msg": "one" | |
} |
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
#!/usr/bin/env bash | |
# Create associative arrays | |
declare -A interior=() | |
declare -A exterior=() | |
# Make sure ethtool is installed on this host | |
apt-get install -y ethtool &>/dev/null | |
# For each container |
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
#!/usr/bin/env bash | |
# Create associative arrays | |
declare -A interior=() | |
declare -A exterior=() | |
# Make sure ethtool is installed on this host | |
apt-get install -y ethtool | |
# For each container |