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
import numpy as np | |
import matplotlib.pyplot as plt | |
x = np.array([6,8,10,12,15]) | |
y = np.array([2000, 1500, 1000]) | |
X, Y = np.meshgrid(x, y, copy=False) | |
Z = np.array([[1945, 2980, 4085, 5317, 7360], | |
[1525, 2300, 3215, 4145, 5744], | |
[1127, 1700, 2330, 3037, 4235]]) |
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
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 |
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
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'); |
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
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" |
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
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>\ |
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
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: |
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
=============================================== | |
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., |
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
# 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 |
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
### Questions to ask the user ### | |
* enforce use of gpg2? [Y/n] | |
* install newest git? [Y/n] | |
* name and email to set up git | |
### Dependencies ### |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJCz1HF6roUSk6PaSsREl6J+AOPDoNFGDhsZoBZuO7ILM6X93d/COfd9Nmo/BFn4i4mrxJl6meWT+Sz6dWYLsq7/beV0iTX/BhPyWvCkiUHlPXBpBNDc98DWOBu1jyFFSe+NQDarbrQe1aVNMEB18RXNIPWYKcEXFo70TwKEV2pHeVTm25Tkw9U+F0v478bwifgAbjwjguEkGdfojf7fgVhz7EYuR/gbZqJE83d/OK9MJZhV6nLK2MJQcO3x81Zsav9lOEsIOSHUOWi+qh87qQ7gVeG6PPsNRom++kZlGTLq0KtZPv816I+XS9oovNMpDMan8lTeLh0dt9VgaRpBlL [email protected] |
NewerOlder