This is very helpful, but will produce lots of warnings that you can ignore, in particular:
- the inception date of positions
To do this, you should make sure that the item has at least one of the following:
- An associated Wikipedia page
| # Clone llama.cpp | |
| git clone https://github.com/ggerganov/llama.cpp.git | |
| cd llama.cpp | |
| # Build it | |
| make clean | |
| LLAMA_METAL=1 make | |
| # Download model | |
| export MODEL=llama-2-13b-chat.ggmlv3.q4_0.bin |
| #!/usr/bin/env python3 | |
| # De-redacts PDF's that have been redacted by drawing PDF-native rectangles over the text | |
| # This removes ALL rectangles so might also nuke any shape diagrams a bit | |
| # python deredactatron.py a_redacted_doc.pdf | |
| # Outputs: deredacted-a_redacted_doc.pdf | |
| import sys | |
| import re |
| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
| require "sqlite3" | |
| require 'set' | |
| require 'byebug' | |
| # Will be rebuilt at any time. Nice and incremental. | |
| db = SQLite3::Database.new "index.db" | |
| # Keep prefix indexes for "mos*" searches. | |
| # | |
| # TODO: It doesn't seem like SQLITE FTS5 supports synonyms well. That's ok, but | |
| # we're going to want that. We can download this database from Princeton, write |
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'colorize' | |
| end | |
| class MatcherInterface | |
| def initialize(some_object) | |
| @some_object = some_object |
This is very helpful, but will produce lots of warnings that you can ignore, in particular:
To do this, you should make sure that the item has at least one of the following:
| package main | |
| import ( | |
| "strings" | |
| ) | |
| func main() { | |
| strings.HasSuffix("foobar", "bar") // true | |
| } |
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/<SESSION>
you can tweak -b and -fps to your liking. the settings above work well for 1080p. by not specifying width or height we get the full 1920x1080 resolution from the raspi camera