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
PC/pyconfig.h | |
334:/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff | |
Python/dtoa.c | |
1428: /* Skip leading zeros: lz is true iff there were leading zeros. */ | |
1497: /* Skip zeros. lz is true iff there are leading zeros. */ | |
Objects/obmalloc.c | |
1272:Subtracting B throughout, this is true iff |
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
#!/bin/sh | |
# | |
# Put the URL to this script in your droplet's user-data, fetch & execute. | |
# Or fetch & execute it with `remote-exec` provisioner in Terraform. | |
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" | |
METADATA_URI="http://169.254.169.254/metadata/v1" | |
logger -t post_install "Starting post-install provisioning" |
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
#!/bin/sh | |
# https://www.iana.org/assignments/dns-sshfp-rr-parameters/dns-sshfp-rr-parameters.xhtml | |
set_sha() { | |
if [ "`uname -s`" = "Linux" ]; then | |
sha="sha${fp_algo}sum" | |
else | |
sha="sha${fp_algo}" | |
fi |
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
### Keybase proof | |
I hereby claim: | |
* I am zygiss on github. | |
* I am zygis (https://keybase.io/zygis) on keybase. | |
* I have a public key whose fingerprint is 378F B284 6F8D 3564 7487 F9BC AD98 261E 0653 CEF4 | |
To claim this, I am signing this object: |
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
ifconfig_ath0="ether be:ef:f5:ca:le:00 up" | |
ifconfig_em0="up" | |
wlans_ath0="wlan0" | |
cloned_interfaces="lagg0" | |
ifconfig_wlan0="powersave WPA up" | |
ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP" |
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
from sys import argv | |
import salt.client | |
local = salt.client.LocalClient() | |
minion = str(argv[1]) | |
states = [] | |
result = local.cmd(minion, 'state.show_highstate') | |
for dict in result[minion].itervalues(): |
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
ping6 -c 3 ietf.org | |
PING6(56=40+8+8 bytes) 2001:db8:dead:beef::1 --> 2001:1900:3001:11::2c | |
16 bytes from 2001:1900:3001:11::2c, icmp_seq=0 hlim=50 time=169.853 ms | |
16 bytes from 2001:1900:3001:11::2c, icmp_seq=1 hlim=50 time=172.739 ms | |
16 bytes from 2001:1900:3001:11::2c, icmp_seq=2 hlim=50 time=166.899 ms | |
--- ietf.org ping6 statistics --- | |
3 packets transmitted, 3 packets received, 0.0% packet loss | |
round-trip min/avg/max/std-dev = 166.899/169.830/172.739/2.384 ms |