[^\u0000-\u007F]
[!^\u0000-\u007F]
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: beka | |
| * Date: 4/4/16 | |
| * Time: 11:59 AM | |
| */ | |
| namespace LSCore; |
| module.exports = { | |
| renderController : require('./renderController.v1.js') | |
| }; |
| (function(window){ | |
| function SoundTest(){ | |
| this.browserTest = function browserTest(){ | |
| console.log("browser test"); | |
| }; | |
| { | |
| "log": ["*"], | |
| "databases": { | |
| "db": { | |
| "server": "http://192.168.5.103:8091/", | |
| "bucket": "default", | |
| "users": { "GUEST": { "disabled": false, "admin_channels": ["*"] } } | |
| } | |
| } | |
| } |
| "Display state tron": { | |
| "prefix": "displayState", | |
| "body": [ | |
| "console.tron.display({", | |
| "\t$3name: 'State',", | |
| "\t$3value: this.state,", | |
| "});" | |
| ], | |
| "description": "Log state to tron" | |
| } |
| var request = require("request"); | |
| var options = { method: 'POST', | |
| url: 'http://couchbase_host:4984/dbname/_session', | |
| headers: | |
| { 'postman-token': '655ec530-e665-6bdf-ac52-2bcf62ff14ab', | |
| 'cache-control': 'no-cache', | |
| 'content-type': 'application/json' }, | |
| body: { name: 'username', password: 'password' }, | |
| json: true }; |
| var sum = 0 | |
| var p1 = new Promise((resolve, reject) => { | |
| console.log('p1') | |
| sum = sum + 1 | |
| setTimeout(resolve, 1000, 'one') | |
| }) | |
| var p2 = new Promise((resolve, reject) => { | |
| console.log('p2') | |
| sum = sum + 1 | |
| setTimeout(reject, 2000, 'two') |
| /* eslint jsx-a11y/href-no-hash: 0 */ | |
| import React, { Component, PropTypes } from 'react' | |
| import { Link } from 'react-router' | |
| import { connect } from 'react-redux' | |
| import { startupRequest } from '../actions/startup' | |
| import { fetchUserRequest, userLogoutRequest } from '../actions/userAuth' | |
| class App extends Component { |
| import _ from 'lodash' | |
| /** | |
| * Create Alpavet data structure from list of objects like : [ A : {}, B : {}] | |
| * @param {*} list | |
| */ | |
| export const createAlphabetSorting = list => | |
| _.groupBy( | |
| _.sortBy(list, [i => i.firstName.toLowerCase()]), | |
| item => item.firstName.charAt(0).toUpperCase()) |