<commit_before>---
layout: post
title: Environment Setup
description: "This is a notes for development environment setup"
modified: 2015-11-08
tags: [CSS]
---

### Config git proxy
```
git config --global http.proxy http://<host>:<port>  
git config --global https.proxy http://<host>:<port>  
```

### npm proxy
```
npm config set proxy http://<host>:<port>,  
npm config set https-proxy http://<host>:<port>  
```
### bower proxy
edit .bowerrc file and add the following code
```
{
  ...  
  "proxy":"http://<user>:<password>@<host>:<port>", // "proxy":"http://<host>:<port>",  
  "https-proxy":"http://<user>:<password>@<host>:<port>" // "https-proxy":"http://<host>:<port>"  
}
```<commit_msg>Update post format<commit_after>---
layout: post
title: Environment Setup
description: "This is a notes for development environment setup"
modified: 2015-11-08
tags: [CSS]
---

### Config git proxy

{% highlight ruby %}
git config --global http.proxy http://<host>:<port>
git config --global https.proxy http://<host>:<port>
{% endhighlight %}

### npm proxy

{% highlight ruby %}
npm config set proxy http://<host>:<port>,
npm config set https-proxy http://<host>:<port>
{% endhighlight %}

### bower proxy

edit .bowerrc file and add the following code
{% highlight ruby %}
{
  ...
  "proxy":"http://<user>:<password>@<host>:<port>", // "proxy":"http://<host>:<port>",
  "https-proxy":"http://<user>:<password>@<host>:<port>" // "https-proxy":"http://<host>:<port>"
}
{% endhighlight %}
{'fraction_non_alphanumeric': 0.22626262626262628, 'fraction_numerical': 0.010774410774410775, 'mean_word_length': 4.345323741007194, 'pattern_counts': {'":': 8, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '914276', 'n_tokens_mistral': 514, 'n_tokens_neox': 475, 'n_words': 127}