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.
import { isAuthenticatedForCookie } from "$lib/core/auth"; | |
import { readAsset } from "$lib/helpers/read-asset"; | |
/** | |
* @type {Object.<string, string>} | |
*/ | |
const fileImports = import.meta.glob( | |
"$lib/files/**/**.{jpg,jpeg,png,gif,webp,avif,svg,pdf}", | |
{ | |
eager: true, |
-- Restore last used floating client geometry (with / height / position) when | |
-- switching layouts and unmaximizing clients. | |
-- | |
-- When unmaximizing a never-before floating client, it will nicely center the | |
-- client in the middle of the screen. | |
-- | |
-- To use, just `require('restore_floating_clients')` in your `awesome/lua.rc` | |
-- Somewhere where you have your other signal callbacks. | |
local awful = require("awful") |
0-mail.com | |
0815.ru | |
0845.ru | |
0clickemail.com | |
0wnd.net | |
0wnd.org | |
10minutemail.com | |
10minutemail.net | |
12houremail.com | |
12minutemail.com |
#!/bin/bash | |
# Script that sends an alert email when any disk's used space is over a certain | |
# limit. | |
# The first parameter to this script is the min disk space usage percentage for | |
# when the alerts kicks in. | |
# The second parameter is the email address the alert message should be sent | |
# to. | |
# | |
# Can be configured in a crontab like this: |
#!/usr/bin/zsh | |
# | |
# fzf_preview_include - include normally ignored paths in fzf-preview | |
# | |
# Dependencies: zsh and ripgrep | |
# | |
# This command enables you to include extra dirs and files in fzf-preview, that | |
# would normally be ignored by git or ripgrep. This can be handy for when you | |
# use another git repository inside a parent one, or if you regularly edit | |
# files that are ignored by git / ripgrep. |
from django.conf import settings | |
from django.core.checks import Info, register | |
from django.urls import reverse | |
@register() | |
def django_silk(app_configs, **kwargs): | |
""" | |
Checks whether Django Silk is enabled in settings and shows a message if | |
it is. |
#!/bin/bash | |
declare -a words=(resourse initialise construkt) | |
declare -a misspellings | |
i=0 | |
for word in ${words[@]} | |
do |
I hereby claim:
To claim this, I am signing this object: