Skip to content

Instantly share code, notes, and snippets.

Ryomasao

Block or report user

Report or block Ryomasao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View key.json
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+cmd+",
"command": "workbench.action.quickOpenNavigateNextInEditorPicker",
"when": "inEditorsPicker && inQuickOpen"
},
{
"key": "ctrl+tab",
"command": "-workbench.action.quickOpenNavigateNextInEditorPicker",
View keybinding.json
// 既定値を上書きするには、このファイル内にキー バインドを挿入します
[
{
"key": "cmd+f1",
"command": "extension.viewInBrowser",
"when": "editorTextFocus"
},
{
"key": "cmd+f1",
"command": "-extension.viewInBrowser",
@Ryomasao
Ryomasao / test.vue
Created Oct 28, 2018
gridレイアウト
View test.vue
<template lang="pug">
.test
p(@click="button") button
//.container.flex
// .flex-item
// img(src="/img/yoko.png").item
// .flex
// .flex-item
// img(src="/img/tate.png").item
// .flex-item
@Ryomasao
Ryomasao / index.pug
Created Nov 1, 2017
errorをinclude
View index.pug
//- トップページ画面
extends ./template/_layout.pug
block contents
form(method="post",action="/form_sample")
span {{csrf_field()}}
h1 シンプルなPOST
br
input(type="text" name="food_name")
button PushMe
View _errors.pug
.
@if(count($errors))
ul
.
@foreach($errors->all() as $error)
li(style="color:red") {{ $error }}
.
@endforeach
.
@endif
View index_1.pug
//- トップページ画面
extends ./template/_layout.pug
block contents
form(method="post",action="/form_sample")
{{csrf_field}}
h1 シンプルなPOST
br
input(type="text" name="food_name")
button PushMe
@Ryomasao
Ryomasao / _layout.pug
Created Oct 31, 2017
レイアウト
View _layout.pug
doctype html
html
include ../components/_head.pug
body
block contents
View __head.pug
head
meta(charset="UTF-8")
meta(content="text/html; charset=UTF-8" http-equiv="Content-Type")
meta(name="viewport" content="width=device-width")
meta(http-equiv="X-UA-Compatible" content="IE=edge")
title form_sample
@Ryomasao
Ryomasao / index.pug
Created Oct 31, 2017
シンプルなフォーム画面_1
View index.pug
//- トップページ画面
extends ./template/_layout.pug
block contents
form(method="post",action="/form_sample")
h1 シンプルなPOST
br
input(type="text" name="food_name")
button PushMe
@Ryomasao
Ryomasao / create.blade.php
Created Oct 11, 2017
step by stepチュートリアルのフォーム初期画面
View create.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.2.3/css/bulma.css">
<style>body { padding-top: 40px; }</style>
</head>
<body>
You can’t perform that action at this time.