Discover gists
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
services: | |
# ollama and API | |
ollama: | |
image: ollama/ollama:latest | |
container_name: ollama | |
pull_policy: missing | |
tty: true | |
restart: unless-stopped | |
# Expose Ollama API outside the container stack |
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
from typing import Literal | |
import numpy as np | |
import pandas as pd | |
import requests | |
import multiprocessing | |
from multiprocessing.pool import ThreadPool | |
import os | |
''' | |
# ZTF Forced photometry utilities |
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 | |
import sys | |
from pathlib import Path | |
from PyQt5.QtCore import * | |
from PyQt5.QtWebEngineWidgets import * | |
from PyQt5.QtWidgets import * | |
# REQUIREMENTS |
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
RAR registration data | |
WinRAR | |
Unlimited Company License | |
UID=4b914fb772c8376bf571 | |
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d | |
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717 | |
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 | |
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd | |
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190 | |
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9 |
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
// ==UserScript== | |
// @name YouTube - Hide Live Chat | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hide live chat by default on live streams | |
// @author LM | |
// @match https://www.youtube.com/watch* | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== |
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
# Attempts to demangle all mangled symbols in the current program using the Rust | |
# mangling schemes, and replace the default symbol and function signature | |
# (if applicable) with the demangled symbol. | |
# | |
# License: MIT OR Apache-2.0 | |
#@author Jack Grigg <thestr4d@gmail.com> | |
#@category Symbol | |
import string |
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
mmultiply = function(a,b) { | |
return a.map(function(x,i) { | |
return transpose(b).map(function(y,k) { | |
return dotproduct(x, y) | |
}); | |
}); | |
} | |
dotproduct = function(a,b) { | |
return a.map(function(x,i) { |
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
r""" | |
____ _ _ | |
| _ \ | | | | | |
| |_) | ___ __| |_ __ ___ ___| | __ | |
| _ < / _ \/ _` | '__/ _ \ / __| |/ / | |
| |_) | __/ (_| | | | (_) | (__| < | |
|____/ \___|\__,_|_| \___/ \___|_|\_\ | |
|_ _| | | (_) | |
| | _ __ | |_ ___ _ ____ ___ _____ _____ _ __ | |
| | | '_ \| __/ _ \ '__\ \ / / |/ _ \ \ /\ / / _ \ '__| |
NewerOlder