Skip to content

Instantly share code, notes, and snippets.

View rwetzeler's full-sized avatar

Rob Wetzeler rwetzeler

View GitHub Profile
@heardk
heardk / OneNote-to-MD.md
Last active June 24, 2024 07:16
Convert notes from OneNote into Markdown

Converting One Note to Markdown

This is an example of how to convert notes from OneNote into Markdown to use in other, less annoying Note applications. I am using PowerShell on Windows here, but other shell/scripting environments would work as well. If you want separate .md files, you'll need to export your OneNote pages separately. Exporting a section, or a selection of pages creates a single .docx file.

  • Download and install Pandoc
  • Export each of your note pages to a .docx (Word) format using OneNote export from the File menu
  • Gather all of these .docx files into a directory
  • Open directory in File Explorer
  • Open Powershell from the File Explorer using File -> Open Windows Powersell
  • Run the following command:
@rwetzeler
rwetzeler / .bashrc
Created June 29, 2010 14:31
bashrc file
# .bashrc file, located in c:\Users\username\
#cmd
alias cd..="cd .."
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias dir="ls -al"
alias cls="clear"
@rwetzeler
rwetzeler / GitWorkflow.txt
Created June 23, 2010 13:15
Git Workflow for teams at FCStone
This workflow is meant for feature development in a branch. Branches should be very short lived in this workflow. Because they are so lightweight in Git, this shouldn't be a problem.
Only go past step 7 when you are done with that feature and ready to merge it back to the main trunk/master branch.
Based from Jimmy Bogard http://www.lostechies.com/blogs/jimmy_bogard/archive/2010/04/30/automapper-git-workflow-dealing-with-bugs-issues.aspx
1) git checkout –b “Feature1”
<work work>
2) git add .
3) git commit –m “Commit message”