-
Install XQuartz.
-
Install dwm using Homebrew (or whatever):
brew install dwm
-
Create a
xinitrc.d
script for dwm:
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
diff --git a/src/filters.cc b/src/filters.cc | |
index bdc2983..d24188f 100644 | |
--- a/src/filters.cc | |
+++ b/src/filters.cc | |
@@ -983,7 +983,7 @@ void interval_posts::flush() | |
sort_posts_by_date()); | |
// Determine the beginning interval by using the earliest post | |
- if (all_posts.front() && | |
+ if (all_posts.size() > 0 && all_posts.front() && |
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
# -*- coding: utf-8 -*- | |
import unittest | |
from ledger import * | |
class JournalTestCase(unittest.TestCase): | |
def _tearDown(self): | |
pass # session.close_journal_files() |
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
fetching path ‘/nix/store/aa8184zja11630nayzgdpjyc4skmlz7c-expat-2.1.0’... | |
*** Downloading ‘http://zalora-public-nix-cache.s3-website-ap-southeast-1.amazonaws.com/aa8184zja11630nayzgdpjyc4skmlz7c.nar’ to ‘/nix/store/aa8184zja11630nayzgdpjyc4skmlz7c-expat-2.1.0’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to zalora-public-nix-cache.s3-website-ap-southeast-1.amazonaws.com port 80: Connection refused | |
/nix/store/ni1rbgsw9jv5iijj1igwp423j7vr30v7-xz-5.0.7/bin/xz: (stdin): File format not recognized | |
error: unexpected end-of-file | |
download of ‘http://zalora-public-nix-cache.s3-website-ap-southeast-1.amazonaws.com/aa8184zja11630nayzgdpjyc4skmlz7c.nar’ failed: No such file or directory | |
could not download ‘/nix/store/aa8184zja11630nayzgdpjyc4skmlz7c-expat-2.1.0’ from any binary cache |
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
--decimal-comma | |
--time-colon | |
--sort=date | |
C 1d = 8h | |
D € 00.000,00 | |
define rate=€70 | |
define discount=0% | |
define vat=19% |
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
diff --git a/src/system.hh.in b/src/system.hh.in | |
index 8de27ad..c6654cb 100644 | |
--- a/src/system.hh.in | |
+++ b/src/system.hh.in | |
@@ -253,6 +253,17 @@ typedef std::ostream::pos_type ostream_pos_type; | |
#include <boost/iterator/indirect_iterator.hpp> | |
+#if BOOST_VERSION == 105900 | |
+// Fix for https://github.com/boostorg/python/issues/39 |
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
#!/bin/sh | |
led_status='/sys/class/leds/chip:white:status' | |
trigger='' | |
case $1 in | |
on) trigger='default-on' ;; | |
off) trigger='none' ;; | |
beat) trigger='heartbeat' ;; | |
charge) trigger='axp20x-usb-online' ;; | |
blink) trigger='timer' |
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
Moved to https://docs.google.com/document/d/17KfV_c0DI6ZSMQiBfYylxqt0VU8XAvjHQsyNh0tDK3I/edit#heading=h.sudttarnig9w |
based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
- Check if italic font is supported:
$ echo -e "\e[3mitalic\e[23m"
- Also check:
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
OlderNewer