This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/assets/javascripts/angular/orders/moves/move.tmpl.html.haml b/app/assets/javascripts/angular/orders/moves/move.tmpl.html.haml | |
| index e1aa4c8..ba6717f 100644 | |
| --- a/app/assets/javascripts/angular/orders/moves/move.tmpl.html.haml | |
| +++ b/app/assets/javascripts/angular/orders/moves/move.tmpl.html.haml | |
| @@ -24,7 +24,7 @@ | |
| %td {{move.service_type_name}} | |
| %td {{origin_address(move)}} | |
| %td {{destination_address(move)}} | |
| - %td {{move.number}} | |
| + %td {{move.carrier_name}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml b/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| index 1039bea..c5b2b85 100644 | |
| --- a/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| +++ b/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| @@ -16,7 +16,7 @@ | |
| %form#moves_form | |
| %fieldset | |
| .form-group.col-xs-4 | |
| - %label.control-label Move # | |
| + %label.control-label Move# * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml b/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| index 1039bea..801b73a 100644 | |
| --- a/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| +++ b/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| @@ -16,7 +16,7 @@ | |
| %form#moves_form | |
| %fieldset | |
| .form-group.col-xs-4 | |
| - %label.control-label Move # | |
| + %label.control-label Move # (required *) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml b/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| index 1039bea..801b73a 100644 | |
| --- a/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| +++ b/app/assets/javascripts/angular/moves/edit/moves-edit.tmpl.html.haml | |
| @@ -16,7 +16,7 @@ | |
| %form#moves_form | |
| %fieldset | |
| .form-group.col-xs-4 | |
| - %label.control-label Move # | |
| + %label.control-label Move # (required *) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo aptitude update | |
| sudo aptitude safe-upgrade | |
| adduser sid | |
| sudo usermod -a -G sudo sid | |
| sudo restart | |
| ssh-copy-id ubuntu@ipaddress # copy pub key to server authorized keys | |
| # /etc/ssh/sshd_config | |
| permitrootlogin no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <% current_user.transactions.includes(:categories).each do |f| %> | |
| <%= f.categories.source %> | |
| <% end %> | |
| class Transactions | |
| has_many :categories / has_one :cateogory | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 443 default_server; | |
| ssl on; | |
| ssl_certificate key-chain.crt; | |
| ssl_certificate_key server.key; | |
| server_name fitnesspapa.com; | |
| ssl_session_timeout 5m; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################################# | |
| ################### OFFICIAL UBUNTU REPOS ################### | |
| ############################################################# | |
| ###### Ubuntu Main Repos | |
| deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe | |
| deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse | |
| ###### Ubuntu Update Repos | |
| deb http://in.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Enable Colorful Terminal in Debian and Ubuntu | |
| `vim .bashrc | |
| Enabling 256 color mode in Ubuntu’s Bash terminal | |
| When I first connected to my headless Ubuntu server and started opening files in Vim, I couldn’t figure out why it was ignoring my Vim color schemes. Everything was displaying in garish blues, reds and yellows. | |
| It took little digging around to figure out that 256 color mode isn’t enabled by default in some versions of Ubuntu, including the server version of Ubuntu 11.10 that I was using. This is how I got my color schemes working. | |
| To determine what mode you’re currently running in, use the following command: | |
| `tput colors` |