π€
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
diff --git i/bin/scripts/name_parser/FontnameTools.py w/bin/scripts/name_parser/FontnameTools.py | |
index c15afdd..0088216 100644 | |
--- i/bin/scripts/name_parser/FontnameTools.py | |
+++ w/bin/scripts/name_parser/FontnameTools.py | |
@@ -32,6 +32,8 @@ class FontnameTools: | |
'ProFontWindows', | |
'ProFont', | |
'ProggyClean', | |
+ 'BerkeleyMono', | |
+ 'XBerkMono', |
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
(* seqtranslib.m -- version batch 0.10 -- 10 Jan 1998 *) | |
(* Integer Sequences Transformations Mathematica Library *) | |
(* by Olivier Gerard from original Maple code and ideas by N. J. A. Sloane *) | |
(* Batch code *) | |
(* List of meaningful transformed sequences prefixed with indice of transform and without signs *) | |
SuperTrans[seq_List] := Abs[Cases[MapIndexed[ {First[#2],#1[seq]} & , EISTransTable ],{_Integer,{__Integer}}]] |
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/bash -li | |
PNAME="$1" | |
PVER="$2" | |
JARNAME="${3-$PNAME}" | |
mkdir -p ./EXT01/ | |
cd ./EXT01/ || exit | |
unzip ../"${PNAME}"-"${PVER}".zip | |
rm -f ../"${PNAME}"-"${PVER}".zip | |
mv ./"${PNAME}"/lib/"${JARNAME}"-"${PVER}".jar ./"${JARNAME}"-"${PVER}".zip | |
mkdir -p ./EXT02/ |
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 pwsh | |
rustup update | |
rustup target add wasm32-wasi | |
git clone --recursive --recurse-submodules --shallow-submodules --depth 1 --branch "main" https://github.com/zed-industries/zed.git | |
Set-Location zed | |
cargo clean --release | |
cargo build --release | |
cargo run --release | |
cp target\release\zed.exe ..\ | |
Set-Location ..\ |
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 python3 | |
# -*- coding: utf-8 -*- | |
# ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
from math import sqrt | |
from typing import List | |
from typing import Optional | |
from typing import Tuple | |
import torch | |
from safe_assert import safe_assert as sassert |
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/bash -li | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/.local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# Exit on error | |
set -eo pipefail | |
TMUX_VERSION="3.4" |
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
from os import environ | |
from typing import Dict | |
from typing import Optional | |
from typing import Tuple | |
from httpx import Client | |
from safe_assert import safe_assert as sassert | |
def _isnn(c): |
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
<scheme name="AnysphereDark" parent_scheme="Dark" version="7"> | |
<colors> | |
<option name="CONSOLE_BACKGROUND_KEY" value="181818" /> | |
<option name="LINE_NUMBERS_COLOR" value="D6D6DD" /> | |
<option name="SELECTION_BACKGROUND" value="163761" /> | |
<option name="CARET_ROW_COLOR" value="292929" /> | |
<option name="WHITESPACES" value="737373" /> | |
<option name="CARET_COLOR" value="D6D6DD" /> | |
<option name="INDENT_GUIDE" value="737373" /> | |
<option name="SELECTED_INDENT_GUIDE" value="737373" /> |
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 bash | |
# | |
# PRISM | |
git clone --recursive --recurse-submodules --single-branch --depth=1 --shallow-submodules --branch master https://github.com/prismplp/prism.git | |
cd prism/src/c | |
USE_NPY=1 make -f Makefile.gmake | |
USE_NPY=1 make -f Makefile.gmake install | |
cd ../prolog | |
make install | |
cd ../../tools/ |
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 python3 | |
# -*- coding: utf-8 -*- | |
# ============================================================================== | |
# | |
# Copyright (c) 2019-* Brent Komer. All Rights Reserved. | |
# [orig. code: https://github.com/bjkomer/pytorch-legendre-memory-unit] | |
# | |
# | |
# Copyright (c) 2019-* Applied Brain Research. All Rights Reserved. | |
# [orig. work: https://papers.nips.cc/paper/2019/file/952285b9b7e7a1be5aa7849f32ffff05-Paper.pdf; |
NewerOlder