by alexander white ©
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
| import React, { Component } from 'react'; | |
| import { Grid, Col, Row } from 'react-native-easy-grid'; | |
| import * as renders from './renderedComponents'; | |
| import { Field, reduxForm } from 'redux-form'; | |
| import normalizePhone from './normalizePhone'; | |
| import { createRouter, withNavigation } from '@exponent/ex-navigation'; | |
| import { | |
| Container, | |
| Header, | |
| Title, |
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
| require "forwardable" | |
| class TheClass | |
| extend Forwardable | |
| attr_reader :items | |
| def_delegators :@items, :<<, :push | |
| def initialize; @items = [] end | |
| 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
| components/ | |
| my_bounded_context/ | |
| app/ | |
| presentation/ # This is called the "UI" layer in DDD literature, but it is also | |
| # where things like JSON interfaces live -- any kind of presentation | |
| # or handshake to anything outside. So "presentation" rather than "ui". | |
| assets/ | |
| helpers/ | |
| mailers/ | |
| views/ |
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
| //Module install command: npm install gulp-less gulp-livereload gulp-imagemin gulp-uglify gulp-minify-css gulp-rename gulp-notify --save | |
| // Get modules | |
| var gulp = require('gulp'); | |
| // Task boilerplate | |
| gulp.task('taskname', function() { | |
| }); | |
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
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |
When using Rails 3.0 and later we already get jquery-rails for free. Look in the gemfile and you'll see:
gem "jquery-rails"You can view the full documentation here: source: https://github.com/indirect/jquery-rails
If you take a look in APP_DIR/app/assets/javascripts/application.js, you'll notice the following lines of code:
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
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |