create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
Library | |
library | |
Temp | |
temp | |
Obj | |
obj | |
Build | |
build | |
Builds | |
builds |
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
[Serializable] | |
class OneEvent : UnityEvent<EventPayload> | |
{ | |
} |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
/* the author of this component does not accept the proposal to use the `onLoad` and `onError` callback, | |
so make the change here. | |
https://github.com/mbrevda/react-image/blob/master/src/index.js | |
*/ | |
import React, {Component} from 'react' | |
import {node, func, oneOfType, string, arrayOf, bool} from 'prop-types' | |
const cache = {} | |
class Img extends Component { | |
static propTypes = { |
// Which HTML element is the target of the event | |
function mouseTarget(e) { | |
var targ; | |
if (!e) var e = window.event; | |
if (e.target) targ = e.target; | |
else if (e.srcElement) targ = e.srcElement; | |
if (targ.nodeType == 3) // defeat Safari bug | |
targ = targ.parentNode; | |
return targ; | |
} |
for re-natal.
var fs = require('fs') | |
var path = require('path') | |
module.exports = { | |
entry: path.resolve(__dirname, 'server.js'), | |
output: { | |
filename: 'server.bundle.js' | |
}, |
/*global $*/ | |
var login = $('#login') | |
var input = $('#username') | |
login.on('click', function(e){ | |
var username = input.val().trim() | |
$.post({ | |
window.location, | |
{username}, |
doctype html | |
html(lang='en') | |
head | |
block title | |
title home | |
body | |
// header | |
div.navbar.navbar-default.navbar-fixed-top | |
div.navbar-header | |
a.navbar-brand Brand |
module.exports = { | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"extends": "eslint:recommended", | |
"installedESLint": true, | |
"parserOptions": { |