I hereby claim:
- I am alanbriolat on github.
- I am alanbriolat (https://keybase.io/alanbriolat) on keybase.
- I have a public key whose fingerprint is 1301 24CE B74D 9528 F3CF CD0D 83AC 368A 2100 CE08
To claim this, I am signing this object:
| www.yorkpress.co.uk##div:matches-css(z-index: 3000100) |
| #!/bin/sh | |
| ETHTOOL=/sbin/ethtool | |
| [ "$IFACE" = "enx8cae4cf49551" ] || exit 0 | |
| # Disable RX checksum offloading, because it doesn't work | |
| $ETHTOOL --offload "$IFACE" rx off |
| from collections import namedtuple | |
| def nocast(x): | |
| return x | |
| def crazytuple(name, fields, casts): | |
| _tuple = namedtuple(name, fields) | |
| class _casting_tuple(_tuple): |
| T=8.8.8.8; MAX=30; for TTL in $(seq $MAX); do ping -c1 -t$TTL $T | grep -i "from"; [ "${PIPESTATUS[0]}" == 0 ]&&break; done |
| import logging | |
| import logging.config | |
| # A logger that exists before configuration | |
| log_a = logging.getLogger('a') | |
| def f(name, x): | |
| """Test a logger.""" |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| ^Insert::Send {Media_Prev} | |
| ^Home::Send {Media_Play_Pause} | |
| ^PgUp::Send {Media_Next} | |
| XButton1::Send {MButton} |
I hereby claim:
To claim this, I am signing this object:
| import collections | |
| def identity(x): | |
| return x | |
| def item_identity(k, v): | |
| return k, v |
| void do_the_thing(int*, double*, double*, double*); | |
| extern const int blah; | |
| int main(int argc, char **argv) | |
| { | |
| int n = 5; | |
| double x[5] = {1, 2, 3, 4, 5}; | |
| double y[5] = {10, 20, 30, 40, 50}; | |
| double z[5]; |