This file contains 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
<?php | |
namespace Nkt\Doctrine\Type; | |
use Doctrine\DBAL\Platforms\AbstractPlatform; | |
use Doctrine\DBAL\Types\Type; | |
/** | |
* Enum type |
This file contains 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
/** | |
* Copyright 2016 Dialog LLC <info@dlg.im> | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import Scroller from '../Scroller/Scroller'; | |
import calculateCursor from '../../utils/calculateCursor'; | |
import { KeyCodes } from './constants'; |
This file contains 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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | |
Vestibulum ut erat hendrerit, euismod risus id, posuere justo. | |
> Aliquam eu erat ac elit laoreet sagittis faucibus id nunc. | |
> Sed lectus orci, egestas ac venenatis vitae, semper quis enim. | |
*Praesent* elit ex, _maximus_ quis mauris non, bibendum ornare odio. | |
Maecenas id lacus lacinia leo tempor sodales vel in quam. Donec consequat odio ligula, quis facilisis augue dictum sit amet. Quisque est est, lacinia quis velit quis, pretium venenatis mi. Aenean sed eros varius risus tempus iaculis. Maecenas nec dictum justo. Nunc pellentesque turpis ac enim varius luctus. Nam nisi turpis, placerat sollicitudin lacinia in, tempor at dolor. Curabitur massa sapien, ornare viverra urna non, consectetur ornare urna. Praesent vestibulum a magna vitae fringilla. In vel nulla aliquet, interdum velit quis, dapibus risus. Pellentesque nunc libero, scelerisque a ligula vitae, euismod volutpat nunc. | |
``` |
This file contains 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
/** | |
* @flow | |
*/ | |
declare module 'react-addons-css-transition-group' { | |
declare type TransitionNameShort = { | |
enter?: string, | |
leave?: string, | |
active?: string | |
}; |
This file contains 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 { Middleware } from 'redux'; | |
declare module 'redux-logger' { | |
type LoggerPredicate = (getState: () => any, action: any) => boolean; | |
type StateToString = (state: any) => string; | |
type ActionToString = (action: any) => string; | |
type ErrorToString = (error: any, prevState: any) => string; | |
interface ColorsObject { |
This file contains 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 postcss = require('postcss'); | |
const defaultOptions = { | |
bundler: null, | |
browsers: 'Chrome >= 45, ff >= 40, ie >= 10, Safari >= 8' | |
}; | |
const plugin = postcss.plugin('postcss-dialog', (_options) => { | |
const options = Object.assign(defaultOptions, _options); |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function testLocalStorage() { | |
for (var i = 0; i < 1000; i++) { | |
localStorage.setItem(i, i); |
This file contains 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
Process: Electron [44962] | |
Path: /Applications/Actor.app/Contents/MacOS/Electron | |
Identifier: im.actor.app | |
Version: 0.36.8 (0.36.8) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Electron [44962] | |
User ID: 501 | |
Date/Time: 2016-04-05 01:26:38.672 +0300 |
This file contains 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
proxy_cache_path /var/www/npm_cache levels=2:2 keys_zone=npm_cache:10m max_size=20g inactive=1M use_temp_path=off; | |
server { | |
listen 80; | |
server_name npm.example.com; | |
location / { | |
rewrite ^ https://npm.example.com$request_uri permanent; | |
} | |
} |
This file contains 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 path = require('path'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const env = process.env.NODE_ENV || 'development'; // eslint-disable-line | |
const development = env === 'development'; | |
const production = env === 'production'; | |
const config = module.exports = { |