YJS - yjs.dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; | |
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { | |
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; | |
}); | |
in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval "$(ssh-agent -s)" # Start the ssh-agent | |
ssh-add ~/.ssh/id_rsa # Add your SSH key: | |
gh repo list --json=sshUrl --limit 1000 -q ".[].sshUrl" | xargs -n1 git clone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linode | |
setup fedora vm | |
``` | |
useradd vaisakh | |
passwd vaisakh | |
usermod -a-G wheel vaisakh | |
su vaisakh | |
sudo dnf update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(1,10000): | |
print(round(35+35*math.sin(i/5))*" ","*") |
-
Ferris Sweep
-
Corne v3
-
Iris
-
piantor - https://shop.beekeeb.com/product/pre-soldered-piantor-split-keyboard/
-
Chocofi- https://shop.beekeeb.com/product/presoldered-chocofi-split-keyboard/
-
SofleKeyboard - https://josefadamcik.github.io/SofleKeyboard/build_guide_rgb.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://jeancharles.quillet.org/posts/2022-01-30-Local-mariadb-server-with-nix-shell.html | |
let pkgs = import <nixpkgs> {}; | |
in pkgs.mkShell { | |
buildInputs = [ pkgs.mariadb ]; | |
shellHook = '' | |
MYSQL_BASEDIR=${pkgs.mariadb} | |
MYSQL_HOME=$PWD/mysql | |
MYSQL_DATADIR=$MYSQL_HOME/data | |
export MYSQL_UNIX_PORT=$MYSQL_HOME/mysql.sock | |
MYSQL_PID_FILE=$MYSQL_HOME/mysql.pid |
make qr code for selected text
let selection = window.getSelection().toString();
let encodedSelection = encodeURIComponent(selection)
let popupContent = `<html lang="en">
<head>
Various command line snippet managers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
npm i -D @sveltejs/adapter-static | |
``` | |
``` | |
echo "export const prerender = true;" >> ./src/routes/+layout.js | |
``` | |
change | |
``` |
NewerOlder