Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
#!/bin/sh | |
# rename-pictures.sh | |
# Author: Justine Tunney <[email protected]> | |
# License: Apache 2.0 | |
# | |
# This shell script can be used to ensure all the images in a folder | |
# have good descriptive filenames that are written in English. It's | |
# based on the Mistral 7b and LLaVA v1.5 models. | |
# | |
# For example, the following command: |
type term = | |
| Lam of (term -> term) | |
| Pi of term * (term -> term) | |
| Appl of term * term | |
| Ann of term * term | |
| FreeVar of int | |
| Star | |
| Box | |
let unfurl lvl f = f (FreeVar lvl) |
;;; cram-mode.el --- Emacs mode for CRAM tests -*- lexical-binding: t; -*- | |
;; Copyright (C) 2023 Kiran Gopinathan | |
;; Author: Kiran Gopinathan | |
;; Keywords: | |
;; This program is free software; you can redistribute it and/or modify | |
;; it under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation, either version 3 of the License, or |
Let's start from our designated starting point, the "top left" of the first cube face, going right. This means we are going clockwise along the edge of the net.
We want to trace the edge and trying to match the "edge cells",
which is represented by a cell, and its direction when we traversed them clockwisely.
Using the sample as example, the first edge is (1,9,>)
.
If the current edge does not match other edge, we simply push that into a stack.
We go along the edge, stopping every N times to determine which turn do we take on the net. This is done by going one step out and check myself and my left.
(* The syntax of our calculus. Notice that types are represented in the same way | |
as terms, which is the essence of CoC. *) | |
type term = | |
| Var of string | |
| Appl of term * term | |
| Binder of binder * string * term * term | |
| Star | |
| Box | |
and binder = Lam | Pi |
import obspython as obs | |
import subprocess | |
import os | |
import re | |
import datetime | |
# Info for potential OBS Python hackers! | |
# Tip 1 - Read the "OBS Studio Backend Design" documentation page. Read the documentation table of contents. | |
# Tip 2 - be sure to add obspython.py to your script path to enable completion. | |
# Tip 3 - Some of the Python API is generated at runtime, so it won't show up in obspython.py. |
(* Good morning everyone, I'm currently learning ocaml for one of my CS class and needed to implement | |
an avl tree using ocaml. I thought that it would be interesting to go a step further and try | |
to verify the balance property of the avl tree using the type system. Here's the resulting code | |
annotated for people new to the ideas of type level programming :) | |
*) | |
(* the property we are going to try to verify is that at each node of our tree, the height difference between | |
the left and the right sub-trees is at most of 1. *) |
#!/usr/bin/python | |
# | |
# Derived from: | |
# | |
# MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm | |
# | |
# Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All | |
# rights reserved. | |
# | |
# License to copy and use this software is granted provided that it |
import sys,os | |
import curses | |
def draw_menu(stdscr): | |
k = 0 | |
cursor_x = 0 | |
cursor_y = 0 | |
# Clear and refresh the screen for a blank canvas | |
stdscr.clear() |