Resources for maxdevjs/dotfiles-tmux-config
This file contains hidden or 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
| { config, pkgs, ... }: | |
| { | |
| environment.systemPackages = with pkgs; | |
| [ | |
| kdeApplications.kdenetwork-filesharing | |
| ]; | |
| services.samba = { |
This file contains hidden or 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
| //reference code for solution of perfect Spiral: | |
| //https://gist.github.com/chandeeland/b69156115e2b5842d83ca9eb3b2bbf2e | |
| //failed trial:: https://gist.github.com/volfegan/e55decad6814e63fb450379c9bf13a61 | |
| //attempt to recreate: https://twitter.com/Borrachas/status/1204855395006763009 | |
| float a, b, x, y, d, h=600/2, r, s, shrink=0.94; | |
| void setup() { | |
| size(600, 600); | |
| } | |
| void draw() { | |
| background(#EFF2D0); |
This file contains hidden or 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
| git branch | fzf | sed 's/\* //g' | xargs -I '{}' git checkout {} |
This file contains hidden or 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
| # This may be runnable as a script, but keep in mind -y is not always acknowledged. | |
| # These are the drop dead basics | |
| pkg -y install vim | |
| pkg -y install git | |
| pkg -y install chromium | |
| pkg -y install gimp | |
| pkg -y install sudo | |
| # Install Rust |
[guix issues] [guile debbugs] [Builds matching kitty] [path: root/gnu/packages/terminals.scm]
Kitty error:
$ kitty
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
This file contains hidden or 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
| var emojis = [ | |
| '๐','๐','๐','๐','โบ','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐ณ','๐','๐','๐','๐','๐','๐ฃ','๐ข','๐','๐ญ','๐ช','๐ฅ','๐ฐ','๐ ','๐','๐ฉ','๐ซ','๐จ','๐ฑ','๐ ','๐ก','๐ค','๐','๐','๐','๐ท','๐','๐ด','๐ต','๐ฒ','๐','๐ฆ','๐ง','๐','๐ฟ','๐ฎ','๐ฌ','๐','๐','๐ฏ','๐ถ','๐','๐','๐','๐ฒ','๐ณ','๐ฎ','๐ท','๐','๐ถ','๐ฆ','๐ง','๐จ','๐ฉ','๐ด','๐ต','๐ฑ','๐ผ','๐ธ','๐บ','๐ธ','๐ป','๐ฝ','๐ผ','๐','๐ฟ','๐น','๐พ','๐น','๐บ','๐','๐','๐','๐','๐ฝ','๐ฉ','๐ฅ','โจ','๐','๐ซ','๐ฅ','๐ข','๐ฆ','๐ง','๐ค','๐จ','๐','๐','๐','๐ ','๐','๐','๐','๐','๐','โ','โ','๐','โ','๐','๐','๐','๐','๐','๐','๐','โ','๐','๐ช','๐ถ','๐','๐','๐ซ','๐ช','๐ฌ','๐ญ','๐','๐','๐ฏ','๐','๐ ','๐','๐','๐','๐','๐ ','๐ฐ','๐','๐','๐','๐ฉ','๐','๐','๐','๐','๐ก','๐ ','๐ข','๐','๐','๐','๐','๐ฝ','๐','๐','๐','๐ผ','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐','โค','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐ค','๐ฅ','๐ฌ','๐ฃ','๐ญ','๐ถ','๐บ','๐ฑ','๐ญ','๐น','๐ฐ','๐ธ','๐ฏ','๐จ','๐ป','๐ท','๐ฝ','๐ฎ','๐','๐ต','๐','๐ด','๐','๐','๐ผ','๐ง','๐ฆ','๐ค','๐ฅ','๐ฃ','๐','๐','๐ข','๐','๐','๐','๐','๐','๐','๐','๐ ','๐','๐ฌ','๐ณ','๐','๐','๐','๐','๐','๐ ','๐','๐','๐','๐','๐','๐','๐','๐','๐','๐ฒ','๐ก','๐','๐ซ','๐ช','๐','๐','๐ฉ','๐พ', |
I started to consistently use NixOS and then plasma5+i3-xsession.
In the last few weeks it froze three times, forcing to hard reboot each time.
Not sure it'd happen only with plasma5+i3-xsession,
it just never happened with kde/plasma and with stand-alone i3 session.
Note: I added the unstable channel for a few programs, but the freezing already happened before it.
I managed to fix(?) several error: getting attributes of path:
This file contains hidden or 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
| #!/bin/sh | |
| echo | |
| if [ ! -d "deps" ] || [ ! "$(ls -A deps)" ]; then | |
| printf "\e[32m=> Fetching dependencies and building the application...\e[0m\n\n" | |
| echo "+ mix do deps.get, compile --verbose" | |
| mix do deps.get, compile --verbose | |
| echo | |
| fi |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import sys | |
| from datetime import datetime | |
| HELP_MESSAGE = """/ | |
| Usage :- | |
| $ ./todo add "todo item" # Add a new todo | |
| $ ./todo ls # Show remaining todos | |
| $ ./todo del NUMBER # Delete a todo | |
| $ ./todo done NUMBER # Complete a todo | |
| $ ./todo help # Show usage |