Skip to content

Instantly share code, notes, and snippets.

View XaydBayeck's full-sized avatar
🎯
Focusing

Sid XaydBayeck

🎯
Focusing
View GitHub Profile
Config { overrideRedirect = False
, font = "xft:CodeNewRoman Nerd Font:size=11:bold:antialias=true"
, additionalFonts = ["xft:Iosevka Nerd Font", "xft:WenQuanYi Micro Hei", "xft:Font Awesome 6 Free"]
, bgColor = "#3b4252"
, fgColor = "#f8f8f2"
, alpha = 165
-- , position = TopW L 90
, position = TopH 25
, allDesktops = True
, commands = [ Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
@XaydBayeck
XaydBayeck / __bass.py
Last active November 19, 2022 07:30
Run bash file and inherit environment parameters for nushell.
"""
To be used with a companion fish function like this:
function refish
set -l _x (python /tmp/bass.py source ~/.nvm/nvim.sh ';' nvm use iojs); source $_x; and rm -f $_x
end
"""
from __future__ import print_function
@XaydBayeck
XaydBayeck / TutorialLuxor.jl
Created October 16, 2020 07:22
Luxor.jl 的简易介绍
### A Pluto.jl notebook ###
# v0.12.4
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))