- inet_csk_get_port (via tcpv6_prot)
- __inet6__bind
- __sys_bind
- uv__tcp_bind
- uv_tcp_bind
- TCPWrap::Bind
- net.createServerHandle
- [net.setupListenHandle](https://
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
% python3 | |
Python 3.10.8 (main, Oct 21 2022, 22:22:30) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> lower = lambda F: 0.5 * F - 17 | |
>>> upper = lambda F: 0.6 * F - 18 | |
>>> lower(45) | |
5.5 | |
>>> upper(45) | |
9.0 | |
>>> real = lamdba F: ((5/9)*F) - (160/9) |
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
http://content.health.harvard.edu/wp-content/uploads/2021/11/d30b225a-550a-4c61-bf8f-b628531c3d9a.png |
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
commit f3bfb8e96629861590cf167e6931adb8a00156ff | |
Author: Kashav Madan <kshvmdn@gmail.com> | |
Date: Wed May 25 11:14:39 2022 -0400 | |
Add some macos stuff | |
diff --git a/macos/.gitkeep b/macos/.gitkeep | |
deleted file mode 100644 | |
index e69de29..0000000 | |
diff --git a/macos/Brewfile b/macos/Brewfile |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
canvas { border: 1px solid #000000; } | |
</style> | |
</head> | |
<body> | |
<canvas width="300" height="300" /> | |
<script> |
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
https://github.com/search?l=Python&q=%22I%27ll+explain+this+in+a+second%22&type=Code |
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
https://github.com/coreutils/gnulib/blob/aa0d1e7800903f2d75432d78aa64a0e9770e83f2/lib/hash.c#L206-L209 |
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
import collections | |
class Board: | |
def __init__(self, rows): | |
self.rows = [[int(n) for n in r.split()] for r in rows] | |
self.all = collections.defaultdict(list) | |
self.done = False | |
for i, row in enumerate(self.rows): | |
for j, n in enumerate(row): |
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 | |
# Mostly stolen from https://stackoverflow.com/questions/45193005 | |
import mwclient | |
import json | |
import os | |
import time | |
import sys |
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
[ui] | |
username = Kashav Madan <kshvmdn@gmail.com> | |
tweakdefaults = true | |
interface = curses | |
merge = internal:merge | |
ignore = ~/.hgignore | |
[diff] | |
git = true | |
showfunc = true | |
[extensions] |
NewerOlder