- Attach label on axis by relative position
\node[yshift=3mm0] at (rel axis cs:0,1) {\bf A};
. Always put this line outsizeaxis
environment. Otherwise, it will be clipped.
\foreach \x in {1,2,3}
{
# A text book example from MacKay. | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.lines as mlines | |
import matplotlib.patches as mpatches | |
def plotLetter(letter, itr): | |
black = '#000000'; white='#FFFFFF'; gray='#AAAAAA' | |
squareSide = 0.03 | |
#!/bin/bash | |
SEPARATOR='_' | |
find . -maxdepth 1 -type f -name "*" -print0 | while read -d $'\0' file | |
do | |
IFS=$SEPARATOR read -a _file <<< "$file" | |
STUDENTDIR="${_file[0]}" | |
STUDENTDIR="${STUDENTDIR// /_}" | |
mkdir -p $STUDENTDIR | |
echo "Moving $file to $STUDENTDIR" | |
mv "$file" $STUDENTDIR |
#!/bin/bash | |
# by Andy Maloney | |
# http://asmaloney.com/2013/07/howto/packaging-a-mac-os-x-application-using-a-dmg/ | |
# make sure we are in the correct dir when we double-click a .command file | |
dir=${0%/*} | |
if [ -d "$dir" ]; then | |
cd "$dir" | |
fi |
#!/usr/bin/env python | |
from __future__ import print_function, division | |
__author__ = "Dilawar Singh" | |
__copyright__ = "Copyright 2017-, Dilawar Singh" | |
__version__ = "1.0.0" | |
__maintainer__ = "Dilawar Singh" | |
__email__ = "[email protected]" |
pbcopy.plist
to your ~/Library/LaunchAgents/
folder.launchctl load ~/Library/LaunchAgents/pbcopy.plist
.RemoteForward 2224 127.0.0.1:2224
in your ~/.ssh/config
file under your Host *
or specific hosts sections.[ -n "$SSH_CLIENT" ] && alias pbcopy="nc localhost 2224"
to your remote ~/.bash_profile
or other shell profile.pbcopy
remotely!#!/usr/bin/env bash | |
### Bash Environment Setup | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
# set -o xtrace | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail |
--- | |
BasedOnStyle: Webkit | |
SortIncludes: false | |
ColumnLimit: 80 | |
AlignTrailingComments: true | |
AlignConsecutiveMacros: true | |
AllowShortFunctionsOnASingleLine: false | |
... |
Replace rustdesk.subcom.tech
with your domain name or ip address.
At the time of writing, only demo
option works for -m
option. -m
takes
registered email but this feature was not implemented at the time of writing this
gist.
I think RustDesk is planning for paid email subscription later.
cube([200, 100, 2]); | |
translate([5,60, 3]) | |
linear_extrude(2) | |
text("Congrats!", 30, "Arial"); | |
translate([5,35,3]) | |
linear_extrude(1.5) | |
text("Dr. Motu Mc Chotu!", 16, "Arial"); | |
translate([5,15,3]) |