{
"models": [
{
"title":"Groq Llama 8b",
"provider":"openai",
"model": "llama3-8b-8192",
"apiBase": "https://api.groq.com/openai/v1",
"apiKey": "",
Discover gists
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
Fast answer:
sed ':a;N;$!ba;s/\n/ /g' file
- :a create a label 'a'
- N append the next line to the pattern space
- $! if not the last line, ba branch (go to) label 'a'
- s substitute, /\n/ regex for new line, / / by a space, /g global match (as many times as it can)
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk | |
index 18f8b0bbfc..4ef3e230e4 100644 | |
--- a/builddefs/common_features.mk | |
+++ b/builddefs/common_features.mk | |
@@ -878,6 +878,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes) | |
endif | |
endif | |
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes) | |
+ OPT_DEFS += -DAPPLE_FN_ENABLE |
<?php | |
// pick a hook from the wp-login.php file that best our needs. I chose the filter: wp_login_errors | |
add_filter( 'wp_login_errors', 'my_login_form_lock_down', 90, 2 ); | |
/** | |
* Completely lock down the WordPress login form by hijacking the page | |
* and only executing the the login header, footer, and necessary | |
* closing tags. | |
* | |
* Provide a secret way to show the login form as a url variable in |
##### Windows | |
# Windows thumbnail cache files | |
Thumbs.db | |
Thumbs.db:encryptable | |
ehthumbs.db | |
ehthumbs_vista.db | |
# Dump file | |
*.stackdump |
I believe the following is the best way to work with Nagle's algorithm / TCP_NODELAY
/ TCP_CORK
.
It is described in this RedHat manual and the verdict is:
- Set
TCP_NODELAY = 1
, always. - If you can batch data for sending by creating a buffer manually, or using
writev()
, prefer that. - If you cannot (e.g. "when using different libraries that provides abstractions for layers" from the above manual):
- Set
TCP_CORK = 1
, then write the data, then setTCP_CORK = 0
.
- Set
- This builds a packet in kernel space and then flushes it out.
(=<`#9]~6ZY327Uv4-QsqpMn&+Ij"'E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:`H%c#DD2^WV>gY;dts76qKJImZ |