<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Development Setup &#8211; Other Things</title>
	<atom:link href="https://blog.adamzolo.com/category/development-setup/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.adamzolo.com</link>
	<description>Blog about Things by Adam Zolotarev</description>
	<lastBuildDate>Sat, 14 Sep 2019 12:28:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Setting up VS Code with Rails, Elixir, JavaScript</title>
		<link>https://blog.adamzolo.com/setting-up-vs-code-with-rails-elixir-javascript/</link>
					<comments>https://blog.adamzolo.com/setting-up-vs-code-with-rails-elixir-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Adam Zolo]]></dc:creator>
		<pubDate>Sat, 11 Nov 2017 00:44:33 +0000</pubDate>
				<category><![CDATA[Development Setup]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<guid isPermaLink="false">http://blog.adamzolo.com/?p=700</guid>

					<description><![CDATA[Let&#8217;s make sure we can start VS Code from the terminal: Command + Shift + P Type Shell Select Command : Install code in PATH Extensions Rails Better Haml Cucumber (Gherkin) Full Support Ruby Ruby Solargraph ruby-rubocop JavaScript ESLint Prettier Git Git Lens Elixir vscode-elixir Other stuff pgFormatter Project Manager Bracket Pair Colorizer Personal Settings&#8230;<p><a class="more-link" href="https://blog.adamzolo.com/setting-up-vs-code-with-rails-elixir-javascript/" title="Continue reading &#8216;Setting up VS Code with Rails, Elixir, JavaScript&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Let&#8217;s make sure we can start VS Code from the terminal:</p>
<p>Command + Shift + P<br />
Type Shell<br />
 Select Command : Install code in PATH </p>
<h2>Extensions</h2>
<h3>Rails</h3>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=karunamurti.haml" rel="noopener" target="_blank">Better Haml</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete" rel="noopener" target="_blank">Cucumber (Gherkin) Full Support</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby" rel="noopener" target="_blank">Ruby</a>
<li><a href="https://marketplace.visualstudio.com/items?itemName=castwide.solargraph" rel="noopener" target="_blank">Ruby Solargraph</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=misogi.ruby-rubocop" rel="noopener" target="_blank">ruby-rubocop</a></li>
</ul>
</li>
<h3>JavaScript</h3>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint" rel="noopener" target="_blank">ESLint</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode" rel="noopener" target="_blank">Prettier</a></li>
</ul>
<h3>Git</h3>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens" rel="noopener" target="_blank">Git Lens</a></li>
</ul>
<h3>Elixir</h3>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=mjmcloug.vscode-elixir" rel="noopener" target="_blank">vscode-elixir</a></li>
</ul>
<h3>Other stuff</h3>
<ul>
<li><a href="https://marketplace.visualstudio.com/items?itemName=bradymholt.pgformatter" rel="noopener" target="_blank">pgFormatter</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager" rel="noopener" target="_blank">Project Manager</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer" rel="noopener" target="_blank">Bracket Pair Colorizer
<p></a></li>
</ul>
<h3>Personal Settings</h3>
<pre class="brush: plain; title: ; notranslate">
&quot;editor.formatOnSave&quot;: true,
  &quot;editor.fontLigatures&quot;: true,
  &quot;editor.fontFamily&quot;: &quot;FiraCode-Retina&quot;,
  &quot;editor.fontSize&quot;: 18,
  &quot;editor.renderIndentGuides&quot;: true,
  &quot;files.exclude&quot;: {
    &quot;**/.git&quot;: true,
    &quot;**/node_modules&quot;: true,
    &quot;**/bower_components&quot;: true,
    &quot;**/tmp&quot;: true,
    &quot;tmp/**&quot;: true,
    &quot;**/vendor&quot;: true,
    &quot;vendor&quot;: true,
    &quot;.bundle&quot;: true,
    &quot;.github&quot;: true,
    &quot;.sass-cache&quot;: true,
    &quot;features/reports&quot;: true
  },

  &quot;editor.tabSize&quot;: 2,
  &quot;prettier.singleQuote&quot;: true,
  &quot;workbench.colorTheme&quot;: &quot;Monokai&quot;,
  &quot;window.zoomLevel&quot;: 0,
  &quot;editor.renderWhitespace&quot;: &quot;boundary&quot;,
  &quot;editor.renderControlCharacters&quot;: true,

  &quot;ruby.lint&quot;: {
    &quot;rubocop&quot;: true,
    &quot;ruby&quot;: true,
    &quot;fasterer&quot;: true,
    &quot;reek&quot;: false,
    &quot;ruby-lint&quot;: false
  },
  &quot;editor.quickSuggestions&quot;: {
    &quot;strings&quot;: true
  },

  &quot;cucumberautocomplete.steps&quot;: &#x5B;
    &quot;features/step_definitions/*.rb&quot;,
    &quot;features/step_definitions/**/*.rb&quot;,
    &quot;features/step_definitions/**/**/*.rb&quot;
  ],
  &quot;cucumberautocomplete.syncfeatures&quot;: &quot;features/*feature&quot;
</pre>
<p>Some common exclusions for .solagraph.yml (can place it in the root of your project)</p>
<pre class="brush: plain; title: ; notranslate">
---
include:
- &quot;app/**/*.rb&quot;
- &quot;lib/**/*.rb&quot;
- &quot;engines/engine_name/app/**/*.rb&quot;
- &quot;engines/engine_name/lib/**/*.rb&quot;
- &quot;config/**/*.rb&quot;
exclude:
- app/javascript/**/*
- node_modules/**/**
- spec/**/*
- test/**/*
- vendor/**/*
- &quot;.bundle/**/*&quot;
- .bundle/**/*
- uploads/**/*
- .bundle/**/*
- .git/**/*
- engines/engine_name/.bundle/**/*
- engines/engine_name/vendor/**/*
- coverage/**/*
require: &#x5B;]
domains: &#x5B;]
reporters:
- rubocop
- require_not_found
plugins: &#x5B;]
require_paths: &#x5B;]
max_files: 5000
plugins:
- runtime

</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.adamzolo.com/setting-up-vs-code-with-rails-elixir-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Setting Up My Mac Dev Environment</title>
		<link>https://blog.adamzolo.com/setting-up-my-mac-dev-environment/</link>
					<comments>https://blog.adamzolo.com/setting-up-my-mac-dev-environment/#respond</comments>
		
		<dc:creator><![CDATA[Adam Zolo]]></dc:creator>
		<pubDate>Sat, 05 Nov 2016 14:37:48 +0000</pubDate>
				<category><![CDATA[Development Setup]]></category>
		<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://blog.adamzolo.com/?p=401</guid>

					<description><![CDATA[Set up a package manager: Homebrew Istall iterm2 ZSH Replace bash with zsh (it offers some nice plugins and themes). brew install zsh zsh-completions Install oh-my-zsh &#8211; &#8220;A delightful community-driven (with 1,000+ contributors) framework for managing your zsh configuration.&#8221; sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" To update oh-my-zsh, run upgrade_oh_my_zsh in zsh shell. Pick your set&#8230;<p><a class="more-link" href="https://blog.adamzolo.com/setting-up-my-mac-dev-environment/" title="Continue reading &#8216;Setting Up My Mac Dev Environment&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[<h6>Set up a package manager: <a href="http://brew.sh/" target="_blank" rel="noopener noreferrer">Homebrew</a></h6>
<p>Istall <a href="https://www.iterm2.com/downloads.html" target="_blank" rel="noopener noreferrer">iterm2</a></p>
<h3>ZSH</h3>
<p>Replace bash with zsh (it offers some nice plugins and themes).</p>
<pre><pre class="brush: plain; title: ; notranslate">
brew install zsh zsh-completions
</pre></pre>
<p>Install <a href="https://github.com/robbyrussell/oh-my-zsh" target="_blank" rel="noopener noreferrer">oh-my-zsh </a>&#8211; &#8220;A delightful community-driven (with 1,000+ contributors) framework for managing your zsh configuration.&#8221;</p>
<pre><pre class="brush: plain; title: ; notranslate">
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
</pre></pre>
<p>To update oh-my-zsh, run upgrade_oh_my_zsh in zsh shell.</p>
<p>Pick your set of plugins (edit .zshrc file):<br />plugins=(git brew gem ruby rvm rails yarn npm)</p>
<p>Pick a theme (.zshrc):</p>
<pre><pre class="brush: plain; title: ; notranslate">
ZSH_THEME="af-magic"
</pre></pre>
<pre>If you're on OSX Sierra, then you need another step:
create ~/.ssh/config with this content:
</pre>
<pre><pre class="brush: plain; title: ; notranslate">
Host *
  UseKeychain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa
</pre></pre>
<p>Generate github SSH Keys &#8211; <a href="https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/" target="_blank" rel="noopener noreferrer">https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/</a></p>
<p>Add generated ssh key to your keychain, so you don&#8217;t have to reenter your ssh passphrase:</p>
<pre><pre class="brush: plain; title: ; notranslate"> ssh-add -K ~/.ssh/id_rsa </pre></pre>
<h3>Rails/Ruby/RVM/rbenv</h3>
<p>If using rvm with zsh, add this to your .zshrc:<br /><code><br />
[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm"<br />
</code><br />If you use rbenv, you may need to add this to your .zshrc:<br /><code><br />
export PATH="$HOME/.rbenv/shims :$PATH"<br />
eval "$(rbenv init -)"<br />
</code></p>
<h3>Exercism</h3>
<p>For exercism zsh completions, add<br /><code><br />
if [ -f ~/.config/exercism/exercism_completion.zsh ]; then<br />
. ~/.config/exercism/exercism_completion.zsh<br />
fi<br />
</code><br />And run<br /><code><br />
$ mkdir -p ~/.config/exercism/<br />
$ curl http://cli.exercism.io/exercism_completion.zsh &gt; ~/.config/exercism/exercism_completion.zsh<br />
</code></p>
<h3>git standup</h3>
<p><a href="https://github.com/kamranahmedse/git-standup" target="_blank" rel="noopener noreferrer">git-standup</a></p>
<pre><pre class="brush: plain; title: ; notranslate">
brew install git-standup
</pre></pre>
<h3>fzf is a general-purpose command-line fuzzy finder</h3>
<p><a href="https://github.com/junegunn/fzf#key-bindings-for-command-line" target="_blank" rel="noopener noreferrer">https://github.com/junegunn/fzf#key-bindings-for-command-line</a></p>
<pre><pre class="brush: plain; title: ; notranslate">
brew install fzf
# Install shell extensions
/usr/local/opt/fzf/install
</pre></pre>
<h3>autojump &#8211; a faster way to navigate your filesystem</h3>
<p><a href="https://github.com/wting/autojump" target="_blank" rel="noopener noreferrer">https://github.com/wting/autojump</a></p>
<pre><pre class="brush: plain; title: ; notranslate">
brew install autojump

# add autoload to .zshrc
&#x5B;&#x5B; -s $(brew --prefix)/etc/profile.d/autojump.sh ]] &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp; . $(brew --prefix)/etc/profile.d/autojump.sh
</pre></pre>
<h3>fkill &#8211; Fabulously kill processes</h3>
<p><a href="https://github.com/sindresorhus/fkill-cli" target="_blank" rel="noopener noreferrer">https://github.com/sindresorhus/fkill-cli</a><br /><a href="https://github.com/SamVerschueren/alfred-fkill" target="_blank" rel="noopener noreferrer">https://github.com/SamVerschueren/alfred-fkill</a></p>
<pre><pre class="brush: plain; title: ; notranslate">
npm install --global fkill-cli
npm install --global alfred-fkill
</pre></pre>
<h3>Mac apps</h3>
<ul>
<li><a href="https://bahoom.com/hyperdock/" target="_blank" rel="noopener noreferrer">HyperDock</a></li>
<li><a href="https://www.spectacleapp.com/" target="_blank" rel="noopener noreferrer">Spectacles</a></li>
<li>Atom</li>
<li><a href="https://bjango.com/mac/istatmenus/" target="_blank" rel="noopener noreferrer">iStat Menus (not free)</a></li>
<li><a href="https://www.alfredapp.com/" target="_blank" rel="noopener noreferrer">Alfred</a></li>
<li>SourceTree</li>
<li>VSCode</li>
<li><a href="https://github.com/tonsky/FiraCode" target="_blank" rel="noopener noreferrer">FiraCode</a></li>
<li><a href="https://postgresapp.com/" target="_blank" rel="noopener noreferrer">Postgres.app </a>(if using pg gem, then &#8216;gem install pg &#8212; &#8211;with-pg-config=/Applications/Postgres.app/Contents/Versions/11/bin/pg_config&#8217;)</li>
</ul>
<h3>Git alias (add to .gitconfig)</h3>
<p>Show recent branches:<br />[alias]<br />recent = &#8220;for-each-ref &#8211;sort=-committerdate &#8211;count=10 &#8211;format=&#8217;%(refname:short)&#8217; refs/heads/&#8221;</p>
<h3>Python</h3>
<p>Install Anaconda &#8211; https://www.anaconda.com/distribution/#download-section</p>
<p>Update your .bashrc or .zshrc with</p>
<pre><pre class="brush: plain; title: ; notranslate">
export PATH="$HOME/anaconda3/bin:$PATH"
</pre></pre>


<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.adamzolo.com/setting-up-my-mac-dev-environment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
