run `ruby watermark.rb source_file.png output_file.png "My watermark text"
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
FROM openjdk:8 | |
# Install algs4 wrapper | |
RUN mkdir -p /usr/local/algs4 \ | |
&& cd /usr/local/algs4 \ | |
&& curl -O "https://algs4.cs.princeton.edu/code/algs4.jar" \ | |
&& curl -O "https://algs4.cs.princeton.edu/linux/{javac,java}-{algs4,cos226,coursera}" \ | |
&& find ./ -regextype posix-extended -regex '.*(javac|java)-(algs4|cos226|coursera)' -exec sh -c 'chmod 755 $1 && mv $1 /usr/local/bin' - {} \; | |
# Install findbugs |
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
function felix_pwd_abbr { | |
base_pwd=$PWD | |
tilda_notation=${base_pwd//$HOME/\~} | |
pwd_list=(${(s:/:)tilda_notation}) | |
list_len=${#pwd_list} | |
if [[ $list_len -le 1 ]]; then | |
echo $tilda_notation | |
return | |
fi |
Это gist с инструкциями к моему видео про терминал
Ссылка для скачивания https://iterm2.com
Статья о крутых фичах zsh https://code.joejag.com/2014/why-zsh.html