{"id":204,"date":"2016-08-23T10:39:17","date_gmt":"2016-08-23T16:39:17","guid":{"rendered":"http:\/\/54.186.50.233\/?p=204"},"modified":"2016-08-23T10:39:17","modified_gmt":"2016-08-23T16:39:17","slug":"scripting-with-multiple-machines","status":"publish","type":"post","link":"http:\/\/www.wifijanitor.com\/?p=204","title":{"rendered":"Scripting with Multiple Machines"},"content":{"rendered":"<p>I&#8217;ve been trying to learn python and scripting in general. If I can make certain parts of my job easier by writing a script why not?<\/p>\n<p>With that I&#8217;ve taken to doing some customization on my environment.<\/p>\n<ol>\nUsing Zsh instead of bash (pulled from Homebrew)<br \/>\n<a href=\"http:\/\/ohmyz.sh\" target=\"_blank\" rel=\"noopener\">oh-my-zsh<\/a> (customization of zsh)<br \/>\n<a href=\"http:\/\/brew.sh\/\" target=\"_bank\" rel=\"noopener\">Homebrew<\/a> (package manager, can install all kinds of fun things)<br \/>\n<a href=\"https:\/\/github.com\/tpope\/vim-pathogen\" target=_\"blank\">Pathogen<\/a> (runtime for VIM)<br \/>\nhelp from friends! <a href=\"https:\/\/routerjockey.com\/\" target=\"_blank\" rel=\"noopener\">Tony Mattke<\/a>, <a href=\"http:\/\/blog.packetqueue.net\/\" target=\"_blank\" rel=\"noopener\">Teren Bryson<\/a> and others.<br \/>\n<a href=\"http:\/\/dropbox.com\" target=\"_blank\" rel=\"noopener\">DropBox<\/a><br \/>\n<a href=\"http:\/\/github.com target=\"_blank\">GitHub<\/a> of course!\n<\/ol>\n<p>The problem I was having was how to keep my customization and scripts in sync between my work machine and my personal machine. The <a href=\"http:\/\/www.imore.com\/how-sync-your-documents-desktop-and-any-other-folder-dropbox\" target=\"_blank\" rel=\"noopener\">answer<\/a> I found, well one answer that works for me, is DropBox! Though you could probably use any cloud storage provider you wanted. I created a folder in my DropBox called &#8220;sync&#8221; and I symlink the files\/folders I want to keep in sync on both machines into it.<\/p>\n<p>Now, when I make a change to my .vimrc, zsh custom folder, or basically anything else I have symlinked, the change gets reflected to the other machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been trying to learn python and scripting in general. If I can make certain parts of my job easier by writing a script why not? With that I&#8217;ve taken to doing some customization on my environment. Using Zsh instead of bash (pulled from Homebrew) oh-my-zsh (customization of zsh) Homebrew (package manager, can install all &hellip; <a href=\"http:\/\/www.wifijanitor.com\/?p=204\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Scripting with Multiple Machines&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[38,39,43,47,48,57],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-python","tag-scripting","tag-shell","tag-sync","tag-vi","tag-vim","tag-zsh"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=204"}],"version-history":[{"count":0,"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wifijanitor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}