This file contains hidden or 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
| /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ | |
| │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ | |
| ╞══════════════════════════════════════════════════════════════════════════════╡ | |
| │ Copyright 2020 Justine Alexandra Roberts Tunney │ | |
| │ │ | |
| │ Permission to use, copy, modify, and/or distribute this software for │ | |
| │ any purpose with or without fee is hereby granted, provided that the │ | |
| │ above copyright notice and this permission notice appear in all copies. │ | |
| │ │ | |
| │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ |
This file contains hidden or 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/echo ' -*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;coding:utf-8 -*-┤ | |
| │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ | |
| ╞══════════════════════════════════════════════════════════════════════════════╡ | |
| │ To the extent possible under law, Justine Tunney has waived │ | |
| │ all copyright and related or neighboring rights to this file, │ | |
| │ as it is written in the following disclaimers: │ | |
| │ • http://unlicense.org/ │ | |
| │ • http://creativecommons.org/publicdomain/zero/1.0/ │ | |
| ╚────────────────────────────────────────────────────────────────────'>/dev/null | |
| if ! [ "${0%.*}.exe" -nt "$0" ]; then |
This file contains hidden or 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 python2 | |
| import BaseHTTPServer | |
| import SocketServer | |
| import base64 | |
| import httplib | |
| import mimetypes | |
| import os | |
| import shutil | |
| import ssl |
This file contains hidden or 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
| // To the extent possible under law, Justine Tunney has waived | |
| // all copyright and related or neighboring rights to this file, | |
| // as it is written in the following disclaimers: | |
| // - http://unlicense.org/ | |
| // - http://creativecommons.org/publicdomain/zero/1.0/ | |
| package main | |
| // #cgo pkg-config: ncurses libpulse-simple | |
| // #include <stdlib.h> |
This file contains hidden or 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
| --- /tmp/NonBlockingThreadPool.h 2018-05-25 12:50:34.146863121 -0700 | |
| +++ NonBlockingThreadPool.h 2018-05-25 12:48:54.000000000 -0700 | |
| @@ -10,6 +10,7 @@ | |
| #ifndef EIGEN_CXX11_THREADPOOL_NONBLOCKING_THREAD_POOL_H | |
| #define EIGEN_CXX11_THREADPOOL_NONBLOCKING_THREAD_POOL_H | |
| +#include <iostream> | |
| namespace Eigen { | |
This file contains hidden or 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 | |
| # Copyright 2018 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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
| # Noteworthy CPU Features | |
| SSE 128-bit vector instructions (e.g. addps http://www.felixcloutier.com/x86/ADDPS.html) | |
| SSE4.1 Makes SSE good | |
| SSE4.2 Makes SSE do strings and CRC32 | |
| AVX Makes SSE 256-bit (e.g. vaddps) | |
| AVX2 Adds features to AVX | |
| AVX-512 Makes SSE 512-bit | |
| SHA Makes SSE do SHA1 and SHA256 | |
| FMA Fused multiply–add | |
| CLMUL Carry-less multiplication https://goo.gl/ritKJX |
This file contains hidden or 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
| # -*-sh-*- | |
| # pip install yappi | |
| # tensorboard-profile-wall-time --logdir=/tmp/mnist | |
| tb-profile-wall-time() { | |
| -tensorboard-profile wall "$@" | |
| } | |
| tb-profile-cpu-time() { | |
| -tensorboard-profile cpu "$@" |
This file contains hidden or 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
| %%{# -*-ragel-*- | |
| # | |
| ## SIP Message Parser Definition | |
| # | |
| # The parser should be a linearly complex FSM. It should be able to parse a | |
| # real-world SIP INVITE in less than 30μs. This parser only trades speed in | |
| # favor of friendly data structures, which are big structs linked together. | |
| # | |
| ## Implementation Notes | |
| # |
This file contains hidden or 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
| # Copyright 2017 The TensorFlow Authors. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |