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
#!/usr/bin/env bash | |
#------------------------------------------------------------------------------------------------------------- | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | |
#------------------------------------------------------------------------------------------------------------- | |
# Syntax: ./common-debian.sh <install zsh flag> <username> <user UID> <user GID> | |
set -e |
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
(defun et/rename-org-link-file (path) | |
(interactive | |
(list | |
(let* ((link (org-element-context)) | |
(old-path (org-element-property :path link))) | |
(read-string "PATH: " old-path nil old-path)))) | |
(let ((old-path (org-element-property :path (org-element-context)))) | |
(mkdir (file-name-directory path) t) | |
(rename-file old-path path) | |
(save-excursion |
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
(setq url-gateway-method 'socks) | |
(setq socks-server '("Default server" "127.0.0.1" 1080 5)) |
OlderNewer