뭔가 좀 자기소개가 길다. 6분지났는데 아직 본론도 안들어감
자기 경력 소개 컨퍼런스 다닌거 등등..
이 세션은 기술적인 이야기는 없을거다
- 왜 루비 코드를 읽어야 하는가?
# app / controllers / application_controller.rb | |
class ApplicationController < ActionController::Base | |
# Prevent CSRF attacks by raising an exception. | |
# For APIs, you may want to use :null_session instead. | |
protect_from_forgery with: :exception | |
before_filter :configure_permitted_parameters, if: :devise_controller? | |
protected | |
def configure_permitted_parameters |
<head> | |
<title>fabricjs</title> | |
<script src="fabric.js"></script> | |
</head> | |
<body> | |
<h1>Fabric</h1> | |
{{> main}} | |
</body> |
const path = require('path') | |
const fs = require('fs-extra') | |
const {debug, log, ERROR} = require('../debug')('NuxtGenerator') | |
var resolve = path.resolve | |
process.env.DEBUG = 'nuxt:*,Vuetal:*' | |
class NuxtGenerator { |
let lodash = _.runInContext() | |
export let wrapLodashArrForVue = _(['pull', 'pullAll', 'pullAllBy', 'pullAllWith', 'pullAt', 'remove']) | |
.map(fnName => { | |
let fn = lodash[fnName] | |
return [ | |
fnName, | |
function (v, …args) { | |
let ret = fn(v, …args) | |
if (v instanceof Array) v.push() | |
return ret |
/** | |
* Outputs the result of a Sequelize query for JSONAPI | |
* | |
* e.g. | |
* let foo = yield models.Foo.findById(this.params.fooId); | |
* this.body = output(foo); | |
* | |
* Results in: | |
* | |
* { |
compile group: 'com.amazonaws', name: 'aws-java-sdk-ses', version: "${awsSesVersion}" |
# Deploy hexo site by travis-ci | |
# https://github.com/jkeylu/deploy-hexo-site-by-travis-ci | |
# LICENSE: MIT | |
# | |
# 1. Copy this file to the root of your repository, then rename it to '.travis.yml' | |
# 2. Replace 'YOUR NAME' and 'YOUR EMAIL' at line 29 | |
# 3. Add an Environment Variable 'DEPLOY_REPO' | |
# 1. Generate github access token on https://github.com/settings/applications#personal-access-tokens | |
# 2. Add an Environment Variable on https://travis-ci.org/{github username}/{repository name}/settings/env_vars | |
# Variable Name: DEPLOY_REPO |