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
| gm(imageBuffer.data).size(function(err,size){ | |
| var w = 1200; | |
| var h = 630; | |
| if(err){ | |
| console.log("gm error") | |
| context.fail(err); | |
| } | |
| this.background("#ffffff").resize(w,h).gravity("Center").extent(w,h).stream(function(err,stdout,stderr){ |
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 { bindActionCreators } from 'redux'; | |
| import * as meta from './meta' | |
| import * as didMount from './didmount' | |
| import * as session from './session' | |
| /* export */ | |
| export default dispatch => ({ | |
| didMount:bindActionCreators(didMount.set,dispatch), |
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 from "react" | |
| import { Link } from 'react-router' | |
| export default class Contact extends React.Component{ | |
| constructor(props) { | |
| super(props) | |
| this.state = { | |
| send:false, | |
| name:null, |
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 from "react" | |
| import { Link } from 'react-router' | |
| export default class Contact extends React.Component{ | |
| static _form = {} | |
| constructor(props) { | |
| super(props) | |
| this.state = { |
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
| package main | |
| import ( | |
| "github.com/labstack/echo" | |
| "github.com/labstack/echo/middleware" | |
| "hoge/signup" | |
| ) | |
| func main() { |
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
| const formData = new FormData() | |
| formData.append("hoge","hogehoge") | |
| formData.append("foo","bar") | |
| fetch("url", { | |
| headers:{ | |
| 'Accept': 'application/json, */*', | |
| //'Content-type':'application/json' | |
| }, | |
| method:"post", |
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
| return new fetch(`/hogehoge`) | |
| .then(response => { | |
| return response.json().then(json => ({ status: response.status, json })) | |
| }) | |
| .then(r => { | |
| return new Promise((resolve, reject) => { | |
| setTimeout(() => { | |
| console.log("settimeout finish") | |
| resolve(0) | |
| return dispatch({ type: "FINISH" }) |
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
| package main | |
| import ( | |
| "io/ioutil" | |
| "os" | |
| "regexp" | |
| "strconv" | |
| "strings" | |
| "time" |
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 from 'react'; | |
| import { | |
| View, | |
| Text, | |
| TouchableOpacity, | |
| Alert | |
| } from 'react-native'; | |
| import hoc from './hoc'; |
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
| .ms-slide-info{ | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0 !important; | |
| min-height: 0 !important; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; |
OlderNewer