Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
with import <nixpkgs> { }; | |
stdenv.mkDerivation rec { | |
pname = "cockpit"; | |
version = "244.1"; | |
src = fetchzip { | |
url = | |
"https://github.com/cockpit-project/cockpit/releases/download/${version}/cockpit-${version}.tar.xz"; | |
sha256 = "1fw7qmnwd7m9b4xklm7k15amwha8zy4sxk2a3hpdqgjp919v01a3"; |
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
for WID in `xwininfo -root -tree | sed '/"plasma-desktop": ("Plasma" "Plasma")/!d; s/^ *\([^ ]*\) .*/\1/g'`; do | |
xprop -id $WID -remove _KDE_NET_WM_SHADOW | |
done | |
# or | |
for WID in `xwininfo -root -tree | sed '/"Plasma": ("plasmashell" "plasmashell")/!d; s/^ *\([^ ]*\) .*/\1/g'`; do | |
xprop -id $WID -remove _KDE_NET_WM_SHADOW | |
done |
#include "sphere.h" | |
#include <vector> | |
#include <iostream> | |
#include <glm/gtc/matrix_inverse.hpp> | |
#include <glm/gtc/type_ptr.hpp> | |
#include <glm/gtx/string_cast.hpp> | |
Sphere::Sphere() | |
{ |
#!/usr/bin/env python | |
# found on <http://files.majorsilence.com/rubbish/pygtk-book/pygtk-notebook-html/pygtk-notebook-latest.html#SECTION00430000000000000000> | |
# simple example of a tray icon application using PyGTK | |
import gtk | |
def message(data=None): | |
"Function to display messages to the user." | |