Permalink
Browse files

stuff

  • Loading branch information...
1 parent d6ef310 commit b70f67e2cd28863d0d955bcdb4f54b75a74ba659 @myfreeweb committed Jan 8, 2017
Showing with 12 additions and 5 deletions.
  1. +8 −1 bin/photo-import
  2. +1 −1 zsh/base16-shell
  3. +1 −1 zsh/zsh-completions
  4. +1 −1 zsh/zsh-hl
  5. +1 −1 zsh/zsh-hss
View
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
ADOBECONV = '/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter'
+# RAW2DNG = "#{ENV['HOME']}/.local/bin/raw2dng" # https://github.com/Fimagena/raw2dng
SRC = ARGV[0]
DST = ARGV[1]
@@ -42,6 +43,12 @@ end
if File.executable? ADOBECONV
puts "=> Found Adobe DNG Converter, running"
system ADOBECONV, '-p0', '-d', DST, *new_files.map { |f| File.join SRC, f }
+# elsif File.executable? RAW2DNG
+# puts "=> Found raw2dng, running"
+# new_files.each do |f|
+# system RAW2DNG, '-o', File.join(DST, File.basename(f, '.*') + '.dng'), File.join(SRC, f)
+# end
else
- puts "=> No DNG converter found"
+ puts "=> No DNG converter found, copying"
+ system 'cp', *new_files.map { |f| File.join SRC, f }, DST
end
Submodule base16-shell updated 99 files
+18 −5 README.md
+0 −122 base16-ashes.light.sh
+0 −122 base16-atelierdune.light.sh
+0 −122 base16-atelierheath.light.sh
+0 −122 base16-atelierlakeside.light.sh
+0 −122 base16-atelierseaside.light.sh
+0 −122 base16-bespin.light.sh
+0 −122 base16-brewer.light.sh
+0 −122 base16-chalk.light.sh
+0 −122 base16-codeschool.light.sh
+0 −122 base16-eighties.light.sh
+0 −122 base16-embers.light.sh
+0 −122 base16-greenscreen.light.sh
+0 −122 base16-londontube.light.sh
+0 −122 base16-marrakesh.light.sh
+0 −122 base16-mocha.light.sh
+0 −122 base16-ocean.light.sh
+0 −122 base16-paraiso.light.sh
+0 −79 base16-pop.dark.sh
+0 −122 base16-railscasts.light.sh
+0 −122 base16-twilight.light.sh
+1 −1 colortest
+33 −0 profile_helper.sh
+21 −0 realpath/LICENSE.txt
+18 −0 realpath/Makefile
+43 −0 realpath/README.md
+111 −0 realpath/realpath.sh
+130 −0 realpath/t/test_canonicalize_path
+126 −0 realpath/t/test_readlink_emulation
+56 −0 realpath/t/test_realpath_integration
+177 −0 realpath/t/test_resolve_symlinks
+15 −14 scripts/base16-3024.sh
+15 −14 scripts/base16-apathy.sh
+15 −14 scripts/base16-ashes.sh
+123 −0 scripts/base16-atelier-cave.sh
+16 −15 scripts/base16-atelier-dune.sh
+123 −0 scripts/base16-atelier-estuary.sh
+18 −17 scripts/base16-atelier-forest.sh
+16 −15 scripts/base16-atelier-heath.sh
+16 −15 scripts/base16-atelier-lakeside.sh
+123 −0 scripts/base16-atelier-plateau.sh
+41 −40 scripts/base16-atelier-savanna.sh
+17 −16 scripts/base16-atelier-seaside.sh
+123 −0 scripts/base16-atelier-sulphurpool.sh
+15 −14 scripts/base16-bespin.sh
+15 −14 scripts/base16-brewer.sh
+15 −14 scripts/base16-bright.sh
+15 −14 scripts/base16-chalk.sh
+15 −14 scripts/base16-codeschool.sh
+123 −0 scripts/base16-cupcake.sh
+123 −0 scripts/base16-darktooth.sh
+15 −14 scripts/base16-default-dark.sh
+26 −25 scripts/base16-default-light.sh
+40 −39 scripts/base16-dracula.sh
+15 −14 scripts/base16-eighties.sh
+15 −14 scripts/base16-embers.sh
+15 −14 scripts/base16-flat.sh
+37 −36 scripts/base16-github.sh
+15 −14 scripts/base16-google-dark.sh
+26 −25 scripts/base16-google-light.sh
+15 −14 scripts/base16-grayscale-dark.sh
+26 −25 scripts/base16-grayscale-light.sh
+15 −14 scripts/base16-green-screen.sh
+15 −14 scripts/base16-harmonic16-dark.sh
+26 −25 scripts/base16-harmonic16-light.sh
+123 −0 scripts/base16-hopscotch.sh
+123 −0 scripts/base16-ir-black.sh
+15 −14 scripts/base16-isotope.sh
+15 −14 scripts/base16-london-tube.sh
+37 −36 scripts/base16-macintosh.sh
+15 −14 scripts/base16-marrakesh.sh
+41 −40 scripts/base16-materia.sh
+123 −0 scripts/base16-mexico-light.sh
+15 −14 scripts/base16-mocha.sh
+15 −14 scripts/base16-monokai.sh
+15 −14 scripts/base16-ocean.sh
+123 −0 scripts/base16-oceanicnext.sh
+123 −0 scripts/base16-onedark.sh
+15 −14 scripts/base16-paraiso.sh
+40 −39 scripts/base16-phd.sh
+123 −0 scripts/base16-pico.sh
+36 −35 scripts/base16-pop.sh
+15 −14 scripts/base16-railscasts.sh
+123 −0 scripts/base16-seti-ui.sh
+26 −25 scripts/base16-shapeshifter.sh
+41 −40 scripts/base16-solar-flare.sh
+15 −14 scripts/base16-solarized-dark.sh
+26 −25 scripts/base16-solarized-light.sh
+123 −0 scripts/base16-spacemacs.sh
+17 −16 scripts/base16-summerfruit-dark.sh
+32 −31 scripts/base16-summerfruit-light.sh
+15 −14 scripts/base16-tomorrow-night.sh
+39 −38 scripts/base16-tomorrow.sh
+15 −14 scripts/base16-twilight.sh
+41 −40 scripts/base16-unikitty-dark.sh
+39 −38 scripts/base16-unikitty-light.sh
+123 −0 scripts/base16-woodland.sh
+3 −0 templates/config.yaml
+123 −0 templates/default.mustache

0 comments on commit b70f67e

Please sign in to comment.