Skip to content

Instantly share code, notes, and snippets.

@nikkadim
nikkadim / canon-ef-protocol-notes.md
Created January 19, 2022 15:12 — forked from marcan/canon-ef-protocol-notes.md
Canon EF protocol notes

Testing done using a Canon EOS 600D and a Canon EF-S18-55mm f/3.5-5.6 IS II.

Pinout

  1. VBAT
  2. DET (common with P-GND on lens side)
  3. P-GND
  4. VDD
  5. DCL
  6. DLC
@nikkadim
nikkadim / .htaccess
Created July 16, 2018 23:14 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/