Skip to content

Instantly share code, notes, and snippets.

View theferrit32's full-sized avatar

Kyle Ferriter theferrit32

View GitHub Profile
@theferrit32
theferrit32 / keybase.md
Created February 23, 2018 15:45
keybase

Keybase proof

I hereby claim:

  • I am theferrit32 on github.
  • I am theferrit32 (https://keybase.io/theferrit32) on keybase.
  • I have a public key ASC2oqC6f4fEt1JF52DKFWt5NVLyTd8CIp-vRAZBf-hwqAo

To claim this, I am signing this object:

@theferrit32
theferrit32 / grep-comparison.sh
Created August 10, 2019 04:14
Compare different grep-like methods
#!/bin/bash
if ! which python3 >/dev/null 2>&1; then
echo 'python3 required'
fi
if [ -z "$1" ]; then
echo "greptest.sh <regex|string>"; exit 1
fi
mytime () {
start=`date +%s.%N`
$@ >/dev/null 2>&1
[ Info: Started symbol server
[ Info: Language Server crashed with
[ Info: ErrorException("EOFError: read end of file\n\nstderr from client process:\n\nERROR: LoadError: UndefRefError: access to undefined reference\nStacktrace:\n [1] getproperty at ./Base.jl:15 [inlined]\n [2] get_module_names(::Module, ::Main.SymbolServer.PackageID, ::Dict{String,Any}, ::Main.SymbolServer.ModuleStore, ::Pkg.Types.Context) at /home/me/.vscode/extensions/julialang.language-julia-0.12.3/scripts/languageserver/packages/SymbolServer/src/clientprocess/from_static_lint.jl:158\n [3] import_package_names(::Main.SymbolServer.PackageID, ::Dict{String,Any}, ::Pkg.Types.Context, ::Nothing) at /home/me/.vscode/extensions/julialang.language-julia-0.12.3/scripts/languageserver/packages/SymbolServer/src/clientprocess/from_static_lint.jl:129\n [4] import_package_names(::Main.SymbolServer.PackageID, ::Dict{String,Any}, ::Pkg.Types.Context) at /home/me/.vscode/extensions/julialang.language-julia-0.12.3/scripts/languageserver/packages/SymbolServ
@theferrit32
theferrit32 / test_gc.py
Last active September 7, 2023 16:45
cpython non-immediate GC
from threading import Lock
from functools import lru_cache
import shutil
import tempfile
counter = 0
counter_lock = Lock()
class TestFile(object):
@theferrit32
theferrit32 / vrs-python-issue-363.ipynb
Created March 14, 2024 17:37
vrs-python-issue-363
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.