Skip to content

Instantly share code, notes, and snippets.

@kyo-takano
kyo-takano / making-the-most-of-local-llms.ipynb
Last active May 12, 2024 10:39
ローカルLLMはこーやって使うの💢
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sebfisch
sebfisch / gist:2235780
Created March 29, 2012 10:47
Laymans explanation of delimited continuations with examples of using them for exception handling and nondeterministic programming.

Delimited Continuations

Delimited continuations manipulate the control flow of programs. Similar to control structures like conditionals or loops they allow to deviate from a sequential flow of control.

We use exception handling as another example for control flow manipulation and later show how to implement it using delimited continuations. Finally, we show that nondeterminism can also be expressed using delimited continuations.

Exception Handling

@hivefans
hivefans / shell_output.go
Last active May 12, 2024 10:36
get the realtime output for a shell command in golang|-|{"files":{"shell_output.go":{"env":"plain"}},"tag":"bigdata"}
package main
import (
"bufio"
"fmt"
"io"
"os"
"os/exec"
"strings"
)
@mikepruett3
mikepruett3 / shell-setup.ps1
Last active May 12, 2024 10:34
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@marethyu
marethyu / README.md
Last active May 12, 2024 10:32
Bunpro to Anki

Bunpro Anki Decks (v1)

For Bunpro users who wants to review grammar using Anki's SRS instead of Bunpro's built-in SRS.

Deck Download Links

  • N1 (Updated: 2021-06-21)
  • N2 (Updated: 2021-06-21)
  • N3 (Updated: 2021-06-21)
  • N4 (Updated: 2021-06-21)
@robkisk
robkisk / db-library-install.json
Created May 12, 2024 10:30
Databricks Libraries Install JSON
{
"cluster_id": "0507-103610-1b2u1gwq",
"libraries": [
{
"pypi": {
"package": "polars"
}
},
{
"pypi": {
@qoomon
qoomon / conventional_commit_messages.md
Last active May 12, 2024 10:23
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@sundowndev
sundowndev / GoogleDorking.md
Last active May 12, 2024 10:19
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@dphurley
dphurley / ! .gitignore
Last active May 12, 2024 10:16
! .gitignore for Express app
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover