diff --git a/ShortedHDD/resources/hdddiode.jpg b/ShortedHDD/resources/hdddiode.jpg new file mode 100644 index 0000000..4c68f0a Binary files /dev/null and b/ShortedHDD/resources/hdddiode.jpg differ diff --git a/ShortedHDD/resources/protection_diode.pdf b/ShortedHDD/resources/protection_diode.pdf new file mode 100644 index 0000000..2c8f945 Binary files /dev/null and b/ShortedHDD/resources/protection_diode.pdf differ diff --git a/Windows8_Reinstall/docs/1.aux b/Windows8_Reinstall/docs/1.aux new file mode 100644 index 0000000..9c18212 --- /dev/null +++ b/Windows8_Reinstall/docs/1.aux @@ -0,0 +1,4 @@ +\relax +\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}WorkLog}{1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Traps and Things to Beware}{1}} diff --git a/Windows8_Reinstall/docs/1.log b/Windows8_Reinstall/docs/1.log new file mode 100644 index 0000000..af713a6 --- /dev/null +++ b/Windows8_Reinstall/docs/1.log @@ -0,0 +1,197 @@ +This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdflatex 2018.11.28) 22 APR 2019 21:08 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**/home/layoutdev/Desktop/code/documentation_general/Repairs_2019/Windows8_Rein +stall/docs/1.tex + +(/home/layoutdev/Desktop/code/documentation_general/Repairs_2019/Windows8_Reins +tall/docs/1.tex +LaTeX2e <2014/05/01> +Babel <3.9l> and hyphenation patterns for 2 languages loaded. +(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls +Document Class: article 2014/09/29 v1.4h Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo +File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option) +) +\c@part=\count79 +\c@section=\count80 +\c@subsection=\count81 +\c@subsubsection=\count82 +\c@paragraph=\count83 +\c@subparagraph=\count84 +\c@figure=\count85 +\c@table=\count86 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 2014/05/08 v1.15 key=value parser (DPC) +\KV@toks@=\toks14 +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 1999/03/16 v1.09 sin cos tan (DPC) +) +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg +File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live +) +Package graphics Info: Driver file: pdftex.def on input line 91. + +(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def +File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty +Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty +Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) +) +\Gread@gobject=\count87 +)) +\Gin@req@height=\dimen103 +\Gin@req@width=\dimen104 +) +(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty +Package: caption 2013/05/02 v3.3-89 Customizing captions (AR) + +(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty +Package: caption3 2013/05/02 v1.6-88 caption3 kernel (AR) +Package caption3 Info: TeX engine: e-TeX on input line 57. +\captionmargin=\dimen105 +\captionmargin@=\dimen106 +\captionwidth=\dimen107 +\caption@tempdima=\dimen108 +\caption@indent=\dimen109 +\caption@parindent=\dimen110 +\caption@hangindent=\dimen111 +) +\c@ContinuedFloat=\count88 +) (./1.aux) +\openout1 = `1.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8. +LaTeX Font Info: ... okay on input line 8. + +(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count89 +\scratchdimen=\dimen112 +\scratchbox=\box26 +\nofMPsegments=\count90 +\nofMParguments=\count91 +\everyMPshowfont=\toks15 +\MPscratchCnt=\count92 +\MPscratchDim=\dimen113 +\MPnumerator=\count93 +\makeMPintoPDFobject=\count94 +\everyMPtoPDFconversion=\toks16 +) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty +Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO +) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty +Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) +Package ifluatex Info: LuaTeX not detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) +Package ifpdf Info: pdfTeX in PDF mode is detected. +) +Package pdftexcmds Info: LuaTeX not detected. +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty +Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf + +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty +Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty +Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) +)) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty +Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty +Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty +Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +))) +Package grfext Info: Graphics extension search list: +(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE +G,.JBIG2,.JB2,.eps] +(grfext) \AppendGraphicsExtensions on input line 452. + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +Package caption Info: Begin \AtBeginDocument code. +Package caption Info: End \AtBeginDocument code. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <12> on input line 10. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 10. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 10. + +(./1.toc +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <10.95> on input line 3. +) +\tf@toc=\write3 +\openout3 = `1.toc'. + +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <9> on input line 25. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line 25. + [1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] (./1.aux) ) +Here is how much of TeX's memory you used: + 2546 strings out of 495020 + 40454 string characters out of 6181323 + 96778 words of memory out of 5000000 + 5759 multiletter control sequences out of 15000+600000 + 10030 words of font info for 35 fonts, out of 8000000 for 9000 + 14 hyphenation exceptions out of 8191 + 38i,8n,38p,635b,187s stack positions out of 5000i,500n,10000p,200000b,80000s + +Output written on 1.pdf (2 pages, 78473 bytes). +PDF statistics: + 35 PDF objects out of 1000 (max. 8388607) + 24 compressed objects within 1 object stream + 0 named destinations out of 1000 (max. 500000) + 1 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/Windows8_Reinstall/docs/1.pdf b/Windows8_Reinstall/docs/1.pdf new file mode 100644 index 0000000..6d09dd8 Binary files /dev/null and b/Windows8_Reinstall/docs/1.pdf differ diff --git a/Windows8_Reinstall/docs/1.tex b/Windows8_Reinstall/docs/1.tex new file mode 100644 index 0000000..8775e8c --- /dev/null +++ b/Windows8_Reinstall/docs/1.tex @@ -0,0 +1,47 @@ +\documentclass[11pt]{article} +%Gummi|065|=) +\usepackage{graphicx} +\usepackage{caption} +\title{\textbf{Windows 8 Reinstall}} +\author{} +\date{} +\begin{document} + +\maketitle + +\tableofcontents + +\section{Overview} +User has a windows 8 computer. It needs a reinstall. +\section{WorkLog} +\subsection{Traps and Things to Beware} +First thing was to obtain the key from Windows 8. Control panel - system shows the last 5 digits of the key but nothing else (fuck these guys). A post on wikihow said you could get it from the registry but it wasn't there. Magical Jelly Bean keyfinder was able to read the Windows 8 key. Now I have the key, just need installation media. + +Right before starting, I was aware of installing Windows 10, and how you must flash to USB using a special tool (the iso). I looked for the Windows 8 ISO but found only 8.1. Someone mentioned that you can not use the 8 key in an 8.1 install, so right away I was looking only for 8 (which is essentially unfindable). Later on I learnt that you can use any key for 8.1, and then use the official key for 8. Quite amusing that 8.1 even exists. It should be SP1 not 8.1. Why don't keys for 8 work for 8.1? Anti-consumer behavior at its finest. + +So I obtained the official 8.1 ISO and installed it to flash using the Windows 7 USB/DVD creator. It is named Win7 but works for 8 (fuck these guys). I tried to run it from a live Win8 session but it failed. + +Instead, I ended up booting this toshiba laptop and going to the BIOS (not calling it UEFI, not a chance). This was another obstacle. In Win 8, you must hold down shift when powering down, or go somewhere in the control panel to set it to advanced boot mode or something. All bullshit. Anyways, after you figure that out, if you haven't blown away the recovery partition on the HDD you should be able to use the Toshiba recovery tools, or if not, you can use the USB flash drive. +\footnote{I should mention here, that one other thing I tried was the built in Toshiba Recovery Media Creator. This was told to me to be in the search menu (ctrl - c for charms menu, then search, then toshiba recovery) but it was not. Instead I found it in program files. I tried running it, and it failed to format with some cryptic error. This may have just been because this particular windows installation was corrupted somehow, but another thing that failed... Why does anyone use this OS I don't understand.} +After the trouble of setting up the USB flash drive, I ended up finding that the Toshiba recovery tools were still there, so I opted for that. + + + + + + + + + + + + + + + + + + + + +\end{document} diff --git a/Windows8_Reinstall/docs/1.tex~ b/Windows8_Reinstall/docs/1.tex~ new file mode 100644 index 0000000..f917ea6 --- /dev/null +++ b/Windows8_Reinstall/docs/1.tex~ @@ -0,0 +1,35 @@ +\documentclass[11pt]{article} +%Gummi|065|=) +\usepackage{graphicx} +\usepackage{caption} +\title{\textbf{}} +\author{} +\date{} +\begin{document} + +\maketitle + +\tableofcontents + + + + + + + + + + + + + + + + + + + + + + +\end{document} diff --git a/Windows8_Reinstall/docs/1.toc b/Windows8_Reinstall/docs/1.toc new file mode 100644 index 0000000..c36f673 --- /dev/null +++ b/Windows8_Reinstall/docs/1.toc @@ -0,0 +1,3 @@ +\contentsline {section}{\numberline {1}Overview}{1} +\contentsline {section}{\numberline {2}WorkLog}{1} +\contentsline {subsection}{\numberline {2.1}Traps and Things to Beware}{1} diff --git a/Windows8_Reinstall/docs/2.tex b/Windows8_Reinstall/docs/2.tex new file mode 100644 index 0000000..8775e8c --- /dev/null +++ b/Windows8_Reinstall/docs/2.tex @@ -0,0 +1,47 @@ +\documentclass[11pt]{article} +%Gummi|065|=) +\usepackage{graphicx} +\usepackage{caption} +\title{\textbf{Windows 8 Reinstall}} +\author{} +\date{} +\begin{document} + +\maketitle + +\tableofcontents + +\section{Overview} +User has a windows 8 computer. It needs a reinstall. +\section{WorkLog} +\subsection{Traps and Things to Beware} +First thing was to obtain the key from Windows 8. Control panel - system shows the last 5 digits of the key but nothing else (fuck these guys). A post on wikihow said you could get it from the registry but it wasn't there. Magical Jelly Bean keyfinder was able to read the Windows 8 key. Now I have the key, just need installation media. + +Right before starting, I was aware of installing Windows 10, and how you must flash to USB using a special tool (the iso). I looked for the Windows 8 ISO but found only 8.1. Someone mentioned that you can not use the 8 key in an 8.1 install, so right away I was looking only for 8 (which is essentially unfindable). Later on I learnt that you can use any key for 8.1, and then use the official key for 8. Quite amusing that 8.1 even exists. It should be SP1 not 8.1. Why don't keys for 8 work for 8.1? Anti-consumer behavior at its finest. + +So I obtained the official 8.1 ISO and installed it to flash using the Windows 7 USB/DVD creator. It is named Win7 but works for 8 (fuck these guys). I tried to run it from a live Win8 session but it failed. + +Instead, I ended up booting this toshiba laptop and going to the BIOS (not calling it UEFI, not a chance). This was another obstacle. In Win 8, you must hold down shift when powering down, or go somewhere in the control panel to set it to advanced boot mode or something. All bullshit. Anyways, after you figure that out, if you haven't blown away the recovery partition on the HDD you should be able to use the Toshiba recovery tools, or if not, you can use the USB flash drive. +\footnote{I should mention here, that one other thing I tried was the built in Toshiba Recovery Media Creator. This was told to me to be in the search menu (ctrl - c for charms menu, then search, then toshiba recovery) but it was not. Instead I found it in program files. I tried running it, and it failed to format with some cryptic error. This may have just been because this particular windows installation was corrupted somehow, but another thing that failed... Why does anyone use this OS I don't understand.} +After the trouble of setting up the USB flash drive, I ended up finding that the Toshiba recovery tools were still there, so I opted for that. + + + + + + + + + + + + + + + + + + + + +\end{document} diff --git a/Windows8_Reinstall/docs/5.tex~ b/Windows8_Reinstall/docs/5.tex~ new file mode 100644 index 0000000..95342c9 --- /dev/null +++ b/Windows8_Reinstall/docs/5.tex~ @@ -0,0 +1,120 @@ +\documentclass[11pt]{article} +%Gummi|065|=) +\usepackage{graphicx} +\usepackage{caption} +\title{\textbf{Kicad Primer}} +\author{} +\date{} +\begin{document} + +\maketitle +\tableofcontents + +\section{Main List} + +KiCad PCBNew Primer: +A quick recap, to refresh my KiCad PCB abilities\footnote{Best viewed on actual paper not a computer screen.} +\vspace{0.2in} + +Summary: This document should be read before starting on a PCB layout with KiCad. These tips may apply to other PCB software as well. +\vspace{0.2in} + +\begin{itemize} +\item Route Power First: Route power first, and pay attention to how many layers you will need. Depending on how many signals, and where they are going, you may need a 4 or higher layer board. 144LQFP was difficult using 100\% of the pins, but possible on a 2 layer board. + +\item Case and Mounting Holes: Put the mounting holes into the PCB early, to avoid rerouting layer. Same with the case. + +\item Keyboard Shortcuts: Use keyboard shortcuts. X to choose 'add trace', PageUp and PageDown to cycle through layers, there is a hotkey for changing layer types. O will add a component (enter or left click after selecting O) + +\item Measuring: There is a ruler in KiCad. Extremely useful. + +\item Ground Pours: If you want to do a ground pour that is split, there is the keepout area. This keepout area has an option for component or fill keepout. Choose the fill keepout. Test on a blank project to see workflow. + +\item Via Size, Trace Size, Fab House Guidelines: Set the fab house guidelines into KiCad before starting, otherwise you will have to change items later. e.g. if you set the Vias to be too small, you will have to edit all vias later. There are templates available with DRC guidelines for OSHPark, as an example. + +\item White Background: In 5.0.0rc2 and newer (assumed) change the background colour to white by clicking on the option. It may be greyed out, but still selects. + +\item Board Edge: Edge.Cuts and use a 1 mil or .001 inch “add graphic lines” on the edge cut layer. + +\item Resources: Refer to spark gap podcast for other tips on PCB design such as using pin headers instead of pads, and of breaking out all pins for future hacking of designs. Refer to Dave Jones PCB design guide. + +\item Modular: Make separate boards, and reuse what you can. Some things are trivial to layout, and don't need separate boards. Anything that is difficult to layout, consider using it's own board. + +\item Net names: Give net names to tracks. This will make identification easier on layout. E.g. see here how I've added labels to nets that might not need them. + +\item Component Values: If you are building by hand, add component values to the footprints silk screen to make it easier to identify. See picture. +\end{itemize} + + + + + + +\section{Miscellaneous Tips} + +\subsection{Silk Screen} +Silk screen that goes over the board edge, can cause graphical glitches. Oshpark uses software to ignore anything over the board edge, but other pcb fabs might not. +\begin{center} +\includegraphics[scale=0.5]{../pics/bottom_makerbright.png} +\captionof{figure}{Just one possible gerber error. Here, from Silk Screen being over the board edge.} +\end{center} + +\begin{center} +\includegraphics[scale=0.8]{../pics/1.png} +\captionof{figure}{Giving Net Names to nets that may not need them can help in layout later. See these images...} +\includegraphics[scale=0.5]{../pics/2.png} +\captionof{figure}{This converts the mystifying names of NET-(P2-Pad4) to something human readable like R2, G2, B2.} +\includegraphics[scale=0.5]{../pics/3.png} +\captionof{figure}{By adding a text of 0.5 size to 0805 footprints, you can easily fit within the provided kicad footprint. This makes assembly easier. See here, labels such as 1uf, or 2.7k.} +\end{center} + + + + + + + + + + + + + + + + + + + + + + + + +How to import pictures into pcb +\vspace{0.2in} + +Get a black and white picture. Make the part you want white. Make the background transparent. Save as png. Import into bitmap 2 component. Image should be a white + transparent image. + + + + + + + + + + + + + +\vspace{0.2in} +\begin{thebibliography}{99} +\bibitem{SparkGap} +Spark Gap Podcast: +\bibitem{EEVBlog} +David Jones PCB + +\end{thebibliography} + +\end{document}