###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| | |
| html = %(<div class="field_with_errors">#{html_tag}</div>).html_safe | |
| # add nokogiri gem to Gemfile | |
| form_fields = [ | |
| 'textarea', | |
| 'input', | |
| 'select' | |
| ] |
| # Hook this up in your ActiveRecord model for a nicer slug | |
| # I use it on before_save :to_slug | |
| def to_slug | |
| # Translate usual characters encountered | |
| convert_map = { | |
| /\@/ => ' at ', | |
| /\&/ => ' and ', | |
| /\%/ => ' percent ', | |
| } |
| source 'https://rubygems.org' | |
| gem 'thin' | |
| gem 'bundler' | |
| gem 'async_sinatra' | |
| gem 'thin' |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
| import { OnDestroy } from '@angular/core'; | |
| import { Subject } from 'rxjs'; | |
| export abstract class BaseComponent implements OnDestroy { | |
| public ngDestroyed$ = new Subject(); | |
| ngOnDestroy() { | |
| this.ngDestroyed$.next(); | |
| this.ngDestroyed$.unsubscribe(); | |
| } |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git