In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
tree-sitter
. This will be enabled by default quite soon now. It is theoretically faster and more powerful than regex based grammars (the one described in this guide), but requires a steeper learning curve. My understanding is that regex based grammars will still be supported however (at least until version 2), so this guide can still be useful.
To enable it yourself, go to Settings -> Core and check Use Tree Sitter Parsers
Links for tree-sitter
help:
tree-sitter
: the main repotree-sitter-cli
: converts a JavaScript grammar to the required C/C++ filesnode-tree-sitter
: module to use Tree-sitter parsers in NodeJSHuggingFace Page for model download: https://huggingface.co/hakurei/waifu-diffusion-v1-3
The Zoom U-44 works out of the box with recent Linux versions.
By default, PulseAudio will register it as a single sink with 4 output channels. As the U-44 is organized to have two stereo pairs for outputs, there are situations where it is more useful to have 2 separate sinks available, each playing back to one of the two stereo pairs.
class ApplicationController < ActionController::Base | |
include CableReady::Broadcaster | |
include Toastable | |
end |
// useHotkeys.js | |
import hotkeys from "hotkeys-js"; | |
export const bindHotkeys = (controller) => { | |
hotkeys.filter = () => true; | |
for (const [hotkey, handler] of Object.entries( | |
controller.constructor.hotkeys | |
)) { | |
hotkeys(hotkey, (e) => controller[handler](e)); |
from django import forms | |
from django.contrib.auth.models import User | |
class UserProfileForm(forms.ModelForm): | |
class Meta: | |
model = User | |
fields = ['first_name', 'last_name', 'email'] | |
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
aioredis = "==1.3.1" | |
alembic = "==1.4.2" | |
amqp = "==2.6.0" | |
anyjson = "==0.3.3" |
const defaults = require('./scripts/tailwind.defaults'); | |
module.exports = defaults({ | |
theme: {}, | |
}) |