Skip to content

Instantly share code, notes, and snippets.

View curder's full-sized avatar
🎯
Focusing

curder curder

🎯
Focusing
View GitHub Profile
@curder
curder / shop.simple.html
Last active November 4, 2017 03:21
练习HTML/CSS布局简单电商网站首页,注意细节的处理。
<!doctype html>
<html lang="zh_CN">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML/CSS布局练习</title>
<link href="https://cdn.bootcss.com/normalize/7.0.0/normalize.min.css" rel="stylesheet">
<style>
@curder
curder / style.scss
Created October 14, 2017 13:29
在SCSS中简单使用循环语句for/while/each
// for loop
@for $space from 1 through 12 {
.pt-#{$space} {
padding-top: 10px * $space;
}
.pb-#{$space} {
padding-bottom: 10px * $space;
}
$width: percentage(1 / $space);
@curder
curder / vue_todo_list.html
Created September 25, 2017 03:11
使用Vue2.4.2开发Todo应用Demo.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vue js 2.0</title>
<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
.text-decoration{
text-decoration:line-through;
}
@curder
curder / dynamic-forms.html
Last active September 25, 2017 03:11
使用VueJs2.4.2动态添加表单Demo.
<!DOCTYPE html>
<html lang="zh_CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dynamic Forms</title>
<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.css" rel="stylesheet">
</head>
<body>
@curder
curder / video.html
Created September 13, 2017 07:59
VideoJs的简单使用
<!doctype html>
<html lang="zh_CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Video Js</title>
<link href="https://cdn.bootcss.com/video.js/6.2.7/video-js.css" rel="stylesheet">
</head>
<body>

Web Development with Laravel 5

目標

如何在開發的過程中加入測試。

  1. Model
  2. Repository
  3. Controller
  4. Auth