If you understand all of this and still wish to use it, see HowtoPurple and add the account like this in &bitlbee:
account add irc nickname@irc.example.net
Do this in &bitlbee:
chat add irc #channel
Then /join #channel
{ pkgs, lib, ... }: | |
{ | |
# https://devenv.sh/packages/ | |
packages = [ | |
pkgs.glib | |
pkgs.glibc | |
]; | |
languages.python.enable = true; |
Here I collect, various EMACS/evil/org… tips, shortcuts, keybindings, etc. Also, here some information how I handle daily usage of text editing.
This not absolute beginner cheat sheet, just some short basic commands/tips.
Recommendation - just use it & check it every day (training mode).
--[[ | |
blogpost: | |
https://vonheikemen.github.io/devlog/tools/setup-nvim-lspconfig-plus-nvim-cmp/ | |
Dependencies: | |
LSP: | |
https://github.com/neovim/nvim-lspconfig | |
https://github.com/williamboman/mason.nvim (optional) | |
https://github.com/williamboman/mason-lspconfig.nvim (optional) |
#!/usr/bin/env ipython -i | |
import datetime | |
import json | |
from typing import Optional | |
import sqlalchemy as sa | |
from sqlalchemy.orm import declarative_base, sessionmaker | |
from sqlalchemy.dialects.postgresql import JSONB | |
from pydantic import BaseModel, Field, parse_obj_as |
function tm() { | |
just_name= | |
while getopts "n:" opt; do | |
case $opt in | |
n) just_name="$OPTARG" ;; | |
esac | |
done | |
# if you run `tm .` the directory name will be the name of the session | |
if [ "$1" = "." ] ; then just_name="$(basename "$PWD" | tr . _)"; fi |
This is a hacky appimage wrapper nixpkg for PureRef to integrate it into NixOS better. As you may know, it's donationware, so the author encourages a donation and this means there's no way around manually downloading the program. So as a prerequisite, you need to download PureRef separately and slap it in the same folder as the Nix file, or alternatively, change the path to an absolute one, e.g.
src = /home/you/Downloads/PureRef-1.11.1_x64.Appimage;
Ideally this would use the actual Nixpkg appimage build tooling... but that's effort, and I just want to get shit done right now and this works fine.
#Install WinGet | |
#Based on this gist: https://gist.github.com/crutkas/6c2096eae387e544bd05cde246f23901 | |
$hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller' | |
if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") { | |
"Installing winget Dependencies" | |
Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' | |
$releases_url = 'https://api.github.com/repos/microsoft/winget-cli/releases/latest' | |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 |
Vim has built-in gx
mapping to open an URL under the cursor defined in the
bundled netrw
plugin. It is limited to barebone urls and quite often that is
not enough.
I have come up with a better gx
mapping (for me of course) that is able to open:
markdown links [Hacker news](https://news.ycombinator.com 'link to Hacker news website')
;
asciidoc links https://news.ycombinator.com[Hacker news]
;