Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [xrandr] A script to switch to the biggest connected monitor | Yuchen Pei | 2 days | 1 | -0/+35 |
| | |||||
* | [xrandr] update display_toggle to handle one monitor situation | Yuchen Pei | 2 days | 1 | -8/+12 |
| | | | | So when a laptop is unplugged we don't get stuck with a black screen. | ||||
* | [emacs] Add org narrow or widen to focus write | Yuchen Pei | 2 days | 2 | -6/+18 |
| | |||||
* | [emacs] Fix company hang and multiple completion dropdowns in message mode | Yuchen Pei | 2024-10-12 | 1 | -2/+21 |
| | |||||
* | [emacs] Use aspell and en_GB for ispell | Yuchen Pei | 2024-10-12 | 1 | -0/+10 |
| | |||||
* | [emacs] continue org-jira customisation from the previous patch | Yuchen Pei | 2024-10-11 | 1 | -0/+88 |
| | | | | | | * emacs/.emacs.d/lisp/my/my-org-jira.el: Override `org-jira-sdk-issue' and `org-jira-sdk-from-data' to include fixversions, affectedversions and relatedissues | ||||
* | [emacs] Some changes from the past months | Yuchen Pei | 2024-10-11 | 11 | -132/+205 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs/.emacs.d/init/ycp-complete.el: comment why corfu does not work well with gud * emacs/.emacs.d/init/ycp-editing.el: bind my-write-file to C-x C-w; change viper-syntax-preference to 'extended * emacs/.emacs.d/init/ycp-org.el: comment on tab-width * emacs/.emacs.d/lisp/my/my-buffer.el: add a function `my-save-text-and-switch-to-buffer' that Save TEXT to FILE-NAME and switch to the buffer * emacs/.emacs.d/lisp/my/my-editing.el: renamed a function; and override `viper-forward-word-kernel' and `viper-backward-word-kernel' (why?); add function `my-write-file', which is the same as `write-file', but keep the old buffer and remain there. * emacs/.emacs.d/lisp/my/my-mariadb.el: remove sleep in `my-gdb-maria-spider'; add a function to fetch source of a mariadb kb entry * emacs/.emacs.d/lisp/my/my-net.el: extract out local I/O and buffer logic from `my-fetch-url-save-and-switch' to `my-save-text-and-switch-to-buffer'. * emacs/.emacs.d/lisp/my/my-org-jira.el: fix formatting of `my-org-jira--render-issue', and add affected-versions, fix-versions and related-issues for rendering * emacs/.emacs.d/lisp/my/my-prog.el: ensure indent-tabs-mode is by default nil in prog-modes, to protect from c-style-alist overriding * mariadb-server/.dir-locals.el: Moved from sql/.dir-locals.el | ||||
* | [emacs] [bash] Several improvements | Yuchen Pei | 2024-10-11 | 4 | -3/+39 |
| | | | | | | | | | | * emacs/.emacs.d/lisp/my/my-media-segment.el: Add index to filename formatting in `my-segment-media-file-1' * emacs/.emacs.d/lisp/my/my-utils.el: Add .spc to audio extensions * emacs/.emacs.d/lisp/my/my-ytdl.el: add command to download audio without tor * misc/.bashrc: pacman and systemd aliases; automate some arch aur make process; add pdf merge / extract functions using ghostscript | ||||
* | [vpn] updated check-ovpn.sh | Yuchen Pei | 2024-06-30 | 1 | -1/+1 |
| | | | | Not necessarily tun0 | ||||
* | [emacs] json-mode required too early in my-prog | Yuchen Pei | 2024-06-13 | 1 | -1/+1 |
| | |||||
* | [emacs] bison-mode required too early | Yuchen Pei | 2024-06-13 | 1 | -1/+1 |
| | |||||
* | [bash] Account for another path of git-prompt.sh | Yuchen Pei | 2024-06-13 | 1 | -0/+2 |
| | |||||
* | [tlp] Add tlp.conf | Yuchen Pei | 2024-06-13 | 1 | -0/+585 |
| | |||||
* | [mpv][inputrc] Add mpv and inputrc | Yuchen Pei | 2024-06-13 | 3 | -0/+44 |
| | |||||
* | [bash] do not assume location of reboot | Yuchen Pei | 2024-06-13 | 1 | -1/+1 |
| | |||||
* | [emacs] minor fix | Yuchen Pei | 2024-06-13 | 2 | -3/+2 |
| | |||||
* | [i3] Use ubuntu mono bold in i3bar | Yuchen Pei | 2024-06-07 | 1 | -1/+1 |
| | |||||
* | [emacs] fix gnus directories | Yuchen Pei | 2024-06-07 | 1 | -0/+12 |
| | |||||
* | [emacs] the comint history write hook should be added to gud only | Yuchen Pei | 2024-06-04 | 1 | -1/+3 |
| | |||||
* | [emacs] emms hardcode player preference | Yuchen Pei | 2024-05-26 | 1 | -2/+2 |
| | | | | otherwise the list passed to the preference function my be reversed... | ||||
* | [emacs] play video with vlc if possible | Yuchen Pei | 2024-05-26 | 2 | -1/+12 |
| | |||||
* | [screen] add screenrc | Yuchen Pei | 2024-05-26 | 1 | -0/+7 |
| | |||||
* | [emacs] only cancel c-m / c-i in gui | Yuchen Pei | 2024-05-26 | 1 | -3/+4 |
| | |||||
* | [bash] ensure xdg_runtime_dir | Yuchen Pei | 2024-05-26 | 1 | -0/+20 |
| | | | | https://unix.stackexchange.com/questions/476963/how-to-create-delete-xdg-runtime-dir-at-login-logoff | ||||
* | [bash] check for local file and functions before sourcing and calling | Yuchen Pei | 2024-05-26 | 1 | -4/+12 |
| | |||||
* | [emacs] use man instead of woman | Yuchen Pei | 2024-05-26 | 1 | -1/+1 |
| | | | | woman is unable to render some manuals | ||||
* | [kodi] use vlc as the player | Yuchen Pei | 2024-05-26 | 1 | -0/+14 |
| | |||||
* | [emacs] minor fix emms | Yuchen Pei | 2024-05-26 | 1 | -1/+1 |
| | |||||
* | [emacs] c++ config | Yuchen Pei | 2024-05-23 | 2 | -0/+16 |
| | | | | tempel template for #ifdef block | ||||
* | [emacs] corfu renamed a var | Yuchen Pei | 2024-05-23 | 1 | -1/+1 |
| | |||||
* | [emacs] more smooth experience in gud | Yuchen Pei | 2024-05-23 | 2 | -6/+12 |
| | | | | | - auto confirm debuginfod - write to history on kill | ||||
* | [acpi] add new line to misc-root/etc/acpi/events/lid | Yuchen Pei | 2024-05-19 | 1 | -1/+1 |
| | |||||
* | [i3status] Check vpn | Yuchen Pei | 2024-05-19 | 2 | -0/+20 |
| | | | | | Have to use read_file because path_exists does not work with path expansion. | ||||
* | [bashrc] spoof googlebot | Yuchen Pei | 2024-05-09 | 1 | -0/+2 |
| | |||||
* | [emacs] disable which-function in json mode when buffer is big | Yuchen Pei | 2024-05-09 | 2 | -5/+7 |
| | |||||
* | [emacs] Fix a few small things | Yuchen Pei | 2024-04-05 | 3 | -3/+5 |
| | | | | - cape: cape-symbol has been replaced by cape-elisp-symbol | ||||
* | [emacs] osm-ol removed in osm after an upgrade | Yuchen Pei | 2024-04-05 | 1 | -1/+0 |
| | |||||
* | [emacs][urxvt] bunch of small changes | Yuchen Pei | 2024-04-05 | 11 | -15/+49 |
| | | | | | | | | - add org clock string to frame title - add ansi color to compilation buffer - look for project source dir from build dir - fix my-kill-sexp-or-comment - more lines in urxvt | ||||
* | [emacs] improve org backtrace region | Yuchen Pei | 2024-04-05 | 2 | -1/+94 |
| | |||||
* | [emacs] fix gitlab parsing | Yuchen Pei | 2024-04-05 | 2 | -4/+5 |
| | |||||
* | [bash] An alias to get url behind one redirection | Yuchen Pei | 2024-04-02 | 1 | -0/+2 |
| | |||||
* | [emacs] add renaming to dired | Yuchen Pei | 2024-04-02 | 2 | -4/+48 |
| | | | | | | rename files by mtime also a new command to use ytdl without tor | ||||
* | [emacs] minor updates to url-rewrite and my-ytdl | Yuchen Pei | 2024-01-20 | 4 | -9/+26 |
| | | | | | | - url-rewrite: also redirect from x.com for xitter - luwak: use url-rw for rewrite - ytdl: get rid of silly full-width chars and emojis in file names | ||||
* | [emacs] Fixing a few things | Yuchen Pei | 2023-12-26 | 3 | -35/+68 |
| | | | | | | | - link-gopher: some formatting - my-org: extend my-org-attach-copy-attached-orgs to fallback to a staging area - my-libgen: better naming just in case | ||||
* | [emacs] flymake lint yolo.el | Yuchen Pei | 2023-12-03 | 1 | -5/+5 |
| | |||||
* | [emacs] Adding yolo.el | Yuchen Pei | 2023-12-03 | 1 | -0/+73 |
| | |||||
* | [emacs] minor changes | Yuchen Pei | 2023-11-28 | 2 | -2/+10 |
| | | | | | - google slides to odp url rewrite - fixing emacs-29 lag by setting long-line-threshold to nil | ||||
* | [vim-vixen] Backspace to scroll back | Yuchen Pei | 2023-11-13 | 1 | -0/+1 |
| | |||||
* | [emacs] Update org-agenda-prefix-format now that we use the task system | Yuchen Pei | 2023-11-13 | 1 | -4/+4 |
| | |||||
* | [emacs] Use ~ as task id separator for better completion with partial-completion | Yuchen Pei | 2023-11-13 | 1 | -1/+9 |
| |