tmux
tmux new -s myname
| # No explicit license available | |
| # | |
| # Based on Monokai | |
| # Indicated author and assumed copyright holder is: | |
| # Wimer Hazenberg <monokai.nl> | |
| # | |
| # Originally ported to Geany and tweaked by Thanh Tran | |
| # <trongthanh(at)gmail(dot)com> | |
| # | |
| # Slightly modified to match the Arc color scheme by |
| #!/bin/bash -e | |
| if [[ "$DISPLAY" ]]; then | |
| frame=`emacsclient -a '' -e "(member \"$DISPLAY\" (mapcar 'terminal-name (frames-on-display-list)))" 2>/dev/null` | |
| [[ "$frame" == "nil" ]] && opts='-c' # if there is no frame open create one | |
| [[ "${@/#-nw/}" == "$@" ]] && opts="$opts -n" # don't wait unless we've asked to run in a terminal | |
| else | |
| opts='-nw' | |
| fi |
| " | |
| This is my emacs configuration file. It's optimized to be used with emacs in | |
| daemon mode, but should work without. | |
| Tested and compatible with Emacs 25.3 and Emacs 26 on FreeBSD and several Linux | |
| flavors. Note that display-line-numbers-mode REQUIRES Emacs 26+. | |
| required elpa modules: | |
| treemacs |
| module main; | |
| /++ | |
| + whack all compontents for an installed package | |
| + quick and dirty | |
| + | |
| + dub build --build=release --compiler=dmd --arch=x86_64 | |
| +/ | |
| import std.stdio, std.string: indexOf; |
| #!/bin/bash | |
| MSR1=0xC0010015 | |
| MSR2=0xC0011023 | |
| # revert the BIOS fix that disables L3 caching on AMD processors | |
| # with the TLB cache coherency bug (early Phenoms before the B3 stepping) | |
| # needs msr-tools package |
Basically, it's straightforward, but one can run into minor issue. First, you need all the prerequisites for building debian packages like dpkg-dev, C compilers, the full set of autotools and more. While building, dpkg-buildpackage is verbose enough to indicate missing dependencies. Should that happen, apt install them and restart the build process.
http://developer.linuxmint.com/reference/git/cinnamon-tutorials/building.html
Follow them step-by-step.
| # | |
| # sample CMakeLists.txt for a simple Qt project using CLion IDE | |
| # shows how to use AUTOMOC, AUTOUIC | |
| # | |
| # sources are expected in source/ | |
| # includes in include/ | |
| # | |
| cmake_minimum_required(VERSION 3.0) | |
| set(TARGET_NAME Qttest) |
| #!/usr/bin/python | |
| # simple procmail filter to display a desktop notification | |
| # usage: mailnotify username. Excepts the mail on stdin | |
| # this is meant to live in a procmail recipe, for example: | |
| # pipe the msg to this script to send a notification and deliver via | |
| # dovecot-lda | |
| #:0 | |
| #{ | |
| # :0c |