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
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(C2,"ö","o"),"ü","u"),"ó","o"),"ő","o"),"ú","u"),"é","e"),"á","a"),"ű","u"),"í","i"),"Ö","O"),"Ü","U"),"Ó","O"),"Ő","O"),"Ú","U"),"É","E"),"Á","A"),"Ű","U"),"Í","I") |
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
screencapture -ow ~/Documents/<subdirectory>/<name-of-the-file>.jpg | |
# -o in window capture mode, do not capture the shadow of the window | |
# -w only allow window selection mode |
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
# read the current settings | |
defaults read com.apple.iCal 'RecentlyUsedTimeZones' | |
#set new defaults | |
defaults write com.apple.iCal 'RecentlyUsedTimeZones' '("America/New_York", "Europe/Budapest", "Europe/London")' |
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
#!/bin/bash | |
# This script extracts Shutter Count information from Nikon NEF (RAW) files | |
# and saves the output into a CSV file (for further processing) | |
# Dependency: exiftool must be installed | |
# by Andras Kora, ak@akora.info, 2018-09-29 Sat 16:18:37 CEST @638 | |
TIMESTAMP=$(date +%s) | |
FILENAME=$1 |
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
#!/bin/bash | |
# This script renames Nikon NEF (RAW) files based on shutter count (EXIF "Shutter Count") | |
# and date & time information the photos were taken (EXIF "DateTimeOriginal") | |
# Dependency: exiftool must be installed | |
# by Andras Kora, ak@akora.info, 2018-09-30 Sun 18:21:19 CEST @723 | |
for file in *.nef ; do | |
echo -n "Processing $file >> " | |
exif_shutter_count_info=$(exiftool -ShutterCount -s -s -s "$file") |
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
# compaudit | xargs chmod g-w | |
autoload -Uz compinit && compinit | |
autoload -U promptinit && promptinit | |
autoload -U colors && colors # Enable colors in prompt | |
autoload -Uz vcs_info | |
precmd() { vcs_info } | |
setopt prompt_subst | |
# The below is based on the fantastic work of Josh Dick from | |
# https://joshdick.net/2017/06/08/my_git_prompt_for_zsh_revisited.html |
OlderNewer