Skip to content

Instantly share code, notes, and snippets.

@keysie
keysie / gpg public key
Last active August 5, 2016 21:26
Currently active GPG public key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFciDigBEADAhvSeuNvbotUfI6Fyorq/KoSmZql0MfMadWrC/i17I640QmTL
Vh/LkkZfP/hO3jBgf/+HGWgl0Uh0Ym4h0b8I4Uaynaz3mxjOIZRqUDm1ZOfe+OFU
rj+BvLBhHZNWwe9SZntn1nEo1asoE/9U9lOoT8fVZNXoaU0e2kGKgpAtiGOiWdQ4
dQPdSrOtvTLmpclpo0vKNDdBUiEJYfI/fskHnAm5tjpVnqt0nDgHyWzvSoH+BmC5
8H1dde2MrLLbmuGR62OaFYHWm517eNPxZYGtuK9KECS9Leg0KtFPb8K3Jd8dRwjQ
uUuJRmOj28szzoZI4Dqkih5VbKBb7QqhfP3GV9ahece+ABc7qjc5YfHabQjyaPaW
vRTX4DAj8dzVvpKLfkMAakrYG30KMsLFiSt1F7nEZhamc4BB12ESxOI0XlGuEByc
pNv7rbjBxBa4r9Dnt/swexh2dfNfjClkzwmVIWIwMVLR6LoBQwIr5pGEj07vGMAt
@keysie
keysie / ssh public key
Created August 5, 2016 21:26
Currently active SSH public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJCz1HF6roUSk6PaSsREl6J+AOPDoNFGDhsZoBZuO7ILM6X93d/COfd9Nmo/BFn4i4mrxJl6meWT+Sz6dWYLsq7/beV0iTX/BhPyWvCkiUHlPXBpBNDc98DWOBu1jyFFSe+NQDarbrQe1aVNMEB18RXNIPWYKcEXFo70TwKEV2pHeVTm25Tkw9U+F0v478bwifgAbjwjguEkGdfojf7fgVhz7EYuR/gbZqJE83d/OK9MJZhV6nLK2MJQcO3x81Zsav9lOEsIOSHUOWi+qh87qQ7gVeG6PPsNRom++kZlGTLq0KtZPv816I+XS9oovNMpDMan8lTeLh0dt9VgaRpBlL [email protected]
### Questions to ask the user ###
* enforce use of gpg2? [Y/n]
* install newest git? [Y/n]
* name and email to set up git
### Dependencies ###
# Bind session kill
bind k kill-session
# Rebind pane splitting
unbind %
bind | split-window -h
bind - split-window -v
# Show date+time | network connection | battery status in right status
set -g status-right-length 70
===============================================
Dell Display Manager
===============================================
Command language
-----------------------------------
A rich and flexible command language is supported via the
command-line, and command-line arguments can be combined.
Where appropriate, a specific display can be targeted by
prefacing the command with the display number, e.g.,
Try taking the group writeable permissions from your home directory:
chmod g-w ~/
Make your .ssh folder readable/writeable/executable only by you:
chmod 700 ~/.ssh
Make your authorized keys file readable/writeable only by you:
@keysie
keysie / attrib-copy.ulp
Created December 12, 2018 20:13
Copy attributes from one part to selected group. FIXED FOR EAGLE 9.2.2
string Version = "1.00";
#usage "\
<b>Copy Attributes</b> \
<p>\
Copy attributes from one part to a group of selected part(s) in a schematic. \
<p>\
<author>Author: Dave Vandenbout / XESS Corp. - [email protected]</author>\
<p>\
@keysie
keysie / steps
Last active August 31, 2019 07:35
EAGLE change package of multiple parts at once
1. Select all the components you want to change as a group
2. run "CHANGE PACKAGE '<PACKAGE-NAME>'"
3. right click somewhere and select "CHANGE GROUP"
@keysie
keysie / matlab.m
Created January 9, 2019 14:34
MATLAB figures without white borders (even when saving)
Something that has bothered me for *the entire* time I’ve used it is that when you show images using ‘imshow’ the resulting figure has the image surrounded in a sea of gray border. Well, I hate that gray border. It serves no purpose and today I have figured out how to remove it!
Matlab runs a script called ‘startup.m’ when it starts. This is located in your ~/matlab/ directory. If you include this line into that file (or just type it before you make the figure) then you remove the gray border:
>>iptsetpref('ImshowBorder','tight');
@keysie
keysie / DSM-update-6.2-7
Created December 14, 2021 19:42
Fix slow login after DSM upgrade to Version 7
After Synology DSM Upgrade from 6.2 to 7 Active Directory Login/Logon on Windows machines was very slow.
Domain joining was impossible.
Solution:
Open port 49152 (required by RPC as part of AD functionality)
see https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/service-overview-and-network-port-requirements#active-directory-local-security-authority