References:
From man page: man apt_preferences
;;; archive-7z.el --- Archive mode extensions for 7z | |
;; Author: Masahiro Hayashi <mhayashi1120@gmail.com> | |
;; Keywords: | |
;; Emacs: GNU Emacs | |
;; Package-Requires: () | |
;;; Commentary: | |
;; |
# luna_pinyin.custom.yaml | |
# | |
# 【朙月拼音】模糊音定製模板 | |
# 佛振配製 :-) | |
# | |
# 位置: | |
# ~/.config/ibus/rime (Linux) | |
# ~/Library/Rime (Mac OS) | |
# %APPDATA%\Rime (Windows) | |
# |
#!/usr/bin/env fish | |
# similar script in Fish | |
# still under construction, need to quiet `git status` more effectively | |
function update -d 'Update git repo' | |
git stash --quiet | |
git pull | |
git stash apply --quiet | |
end |
;; Simplified variant. Add only current perspective group. | |
(with-eval-after-load "ibuffer" | |
(require 'ibuf-ext) | |
(define-ibuffer-filter persp | |
"Toggle current view to buffers of current perspective." | |
(:description "persp-mode" | |
:reader (persp-prompt (safe-persp-name (get-frame-persp)) t)) |
(require 'evil) | |
(setq evil-move-defun-alist | |
'((ruby-mode . (ruby-beginning-of-defun . ruby-end-of-defun)) | |
(c-mode . (c-beginning-of-defun . c-end-of-defun)) | |
(js2-mode . (js2-beginning-of-defun . js2-end-of-defun)))) | |
(defun evil-move-defun (count &optional begin-defun end-defun) | |
"Move by defun" | |
(let ((count (or count 1)) |
#!/bin/sh | |
# Program to use the command install recursivly in a folder | |
magic_func() { | |
echo "entering ${1}" | |
echo "target $2" | |
for file in $1; do | |
if [ -f "$file" ]; then |
References:
From man page: man apt_preferences
;;; sawinlist.el --- functions for listing and manipulating x-windows managed by sawfish | |
;; Copyright (C) 2011 , 2012 by the author: John Lumby johnlumby@hotmail.com | |
;; This file may be used in conjunction with GNU Emacs. | |
;; Both this file and GNU Emacs are free software; you may redistribute them and/or modify | |
;; them under the terms of the GNU General Public License as published by | |
;; the Free Software Foundation; either version 2, or (at your option) | |
;; any later version. |
#! /usr/bin/env python | |
# Original author Nicholas Kim, modified by Yan Pashkovsky | |
# New license - GPL v3 | |
import sys | |
import time | |
from PyPDF2 import utils, PdfFileReader, PdfFileWriter | |
def get_cmdline_arguments(): | |
"""Retrieve command line arguments.""" |
These methods in this gist worked for me on my U.S.-based keyboard layouts. I am unsure about other layouts. If you have problems, revert your changes; delete the registry key you created (and reboot).
Update: you should probably scroll down to approach 4 where I suggest using Microsoft PowerToys Keyboard Manager.
Navigate to and create a new binary value in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
named Scancode Map
.