Skip to content

Instantly share code, notes, and snippets.

View notwa's full-sized avatar
🚲
bikeshedding

Connor notwa

🚲
bikeshedding
View GitHub Profile
@bartowski1182
bartowski1182 / calibration_datav3.txt
Last active September 19, 2024 22:15
Calibration data provided by Dampf, combines his own efforts on top of Kalomaze's. Used for calibrating GGUF imatrix files
In addition to a significant decrease in hepatic lipid accumulation in the IOE group, which inhibited energy intake by propionate enrichment, hepatic lipids were also significantly reduced in the mice in the IOP group, which was largely enriched with butyrate. Compared with the IOE group, IOP had a stronger regulatory effect on hepatic metabolism and triglyceride metabolism and higher levels of TCA cycle in the host. In addition, butyrate has the ability to promote browning of white adipose tissue (WAT) to brown adipose tissue (BAT).^[@ref39],[@ref40]^ WAT stores energy, whereas BAT uses energy for heating and consequently host energy expenditure increases.^[@ref41],[@ref42]^ However, adipose tissue weight does not change after WAT browning.^[@ref43]^ Therefore, the weight of adipose tissue of mice in the IOP group dominated by butyrate was greater than that of the mice in the IOE group dominated by propionate.
In conclusion ([Figure [7](#fig7){ref-type="fig"}](#fig7){ref-type="fig"}C), the improvement of ob
@lbmaian
lbmaian / youtube-hide-livechat.user.js
Last active August 16, 2024 03:38
YouTube - Hide Live Chat By Default
// ==UserScript==
// @name YouTube - Hide Live Chat By Default
// @namespace https://gist.github.com/lbmaian/94824cef728917a53d3c6e6ea885469c
// @downloadURL https://gist.github.com/lbmaian/94824cef728917a53d3c6e6ea885469c/raw/youtube-hide-livechat.user.js
// @updateURL https://gist.github.com/lbmaian/94824cef728917a53d3c6e6ea885469c/raw/youtube-hide-livechat.user.js
// @version 0.14
// @description Hide live chat by default on live streams
// @author lbmaian
// @match https://www.youtube.com/*
// @exclude https://www.youtube.com/embed/*
@Vivelin
Vivelin / YouTube audio compressor.user.js
Last active June 9, 2022 06:01
YouTube audio compressor
// ==UserScript==
// @name YouTube audio compressor
// @namespace https://vivelin.net/
// @version 0.4
// @description Adds an audio compressor option to YouTube videos.
// @author Vivelin
// @match https://*.youtube.com/*
// @updateURL https://gist.github.com/Vivelin/2321d17bf26016ceaed87d6d1a281881/raw/YouTube%2520audio%2520compressor.user.js
// @run-at document-idle
// @grant none
@yashsavani
yashsavani / haskellFunctions.hs
Last active August 12, 2022 15:07
List of Useful Haskell Functions and their Python counterparts
-- General purpose Haskell functions to remember (Note I have ommited the typeclasses here for simplicity)
-- Bryan O'Sullivan, Don Stewart, and John Goerzen. Real World Haskell, O'Reilly Media, 2008
-- Length of list
-- O(n)
-- ✅(empty list) -> total / safe
-- Python: len(list)
length :: [a] -> Int
-- Tells if a list is empty
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
def expect_cossim(n, approx=True):
"""
returns gamma(n / 2) / gamma((n + 1) / 2) / sqrt(pi) for positive integers.
"""
assert n > 0
if approx:
# abs(error) < 1e-8
if n >= 128000:
return np.reciprocal(np.sqrt(np.pi / 2 * n + 1))
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active September 16, 2024 10:36
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@dd86k
dd86k / readme.md
Last active May 16, 2017 17:12
Some languages and their first appearance year
Language First appeared
Assembly 1949
Speedcoding 1953
Fortran 1957
Lisp 1958
ALGOL 58 1958
COBOL 1959
ALGOL 60 1960
CPL 1963
@alirobe
alirobe / reclaimWindows10.ps1
Last active August 31, 2024 20:27
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###