Skip to content

Instantly share code, notes, and snippets.

14:05:41.583: Инициализация приложения...
14:05:41.585: Запрашиваем информацию о локальном репозитории.
14:05:41.588: Запрашиваем информацию о удалённом репозитории.
14:05:41.626: Ревизия локального репозитория не получена.
14:05:41.626: svn: E155007: 'C:\Users\muzo0\Desktop\New folder (2)\Elements' is not a working copy
14:05:41.898: Информация о ревизии удалённого репозитория обновлена.
14:05:44.860: Запускаем процесс извлечения файлов из удалённого репозитория (checkout).
14:05:45.538: A Elements\PDA
14:05:45.542: A Elements\PDA\Example
14:05:45.546: A Elements\PDA\Example\Draw
@z81
z81 / webpack.config.js
Last active October 7, 2015 09:33
example webpack config
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: [
'./src/index'
],
devtool: 'source-map',
output: {
path: path.join(__dirname, 'public/dist'),
@z81
z81 / schema.js
Last active December 24, 2015 14:57
//*
import {resolver} from 'graphql-sequelize';
import Sequelize from 'sequelize';
import {
GraphQLInt,
GraphQLList,
GraphQLObjectType,
GraphQLNonNull,
GraphQLSchema,
GraphQLString,
@z81
z81 / client.js
Last active December 24, 2015 14:57
import React from 'React';
import ReactDOM from 'react-dom';
import Relay from 'react-relay';
let mountNode = root;
class Users extends React.Component {
constructor(props) {
console.error(props);
super(props);
var path = require('path');
var getBabelRelayPlugin = require('babel-relay-plugin');
var schema = require('./schema.json');
var realyBabelPlugin = getBabelRelayPlugin(schema.data);
module.exports = {
entry: {
@z81
z81 / styles.less
Last active April 11, 2016 13:42
atom tab highlisghts
.tab-bar {
.tab {
.title[data-name$=".js"],
.title[data-name$=".coffee"],
.title[data-name$=".jsx"],
.title[data-name$=".elm"],
.title[data-name$=".ts"]
{
border-top: 2px solid rgba(139, 195, 74, 1);
}
@z81
z81 / install.bat
Created April 15, 2016 12:10
chcolatey auto install
@powershell -NoProfile -ExecutionPolicy Bypass -File "install.ps1"
pause
DevTools Author
Perfmap
React Developer Tools
Redux DevTools
Scratch JS
import { Schema, VirtualSchema, Types, config } from 'radiance';
Radiance({
schema: {
session: SESSION
},
acl: {
isAdmin: u => u.id === 1,
isSelf: (u, args) => u.id === args.id
}

hex