text
stringlengths
7
3.69M
const mongoose = require("mongoose"); const { Post } = require("./Post"); const commSchema = new mongoose.Schema({ bodyComment: { type: String, required: true }, commentedOn: { type: Date, default: Date.now }, linked: { type: mongoose.Schema.Types.ObjectId, ref: "Post" }, person: ...
var express = require('express'); var router = express.Router(); var neo_server = require('../lib/neo_server.js'); router.get('/serverinfo/:HospNum', function(req, res){ }); module.exports = router;
define(['require'], function (require) { angular.module('service.mission', ['ui.tms', 'service.matter']). provider('srvMission', function () { var _siteId, _missionId, _oMission, _getMissionDeferred; this.config = function (siteId, missionId) { _siteId = siteId; _missionI...
var http = require('http'); var fs = require('fs'); var robot = require("robotjs"); var qrcode = require('qrcode-terminal'); var network = require('network'); var html = fs.readFileSync('index.html', 'utf8'); var WebSocketServer = require('websocket').server; console.log('after calling readFile'); //create a server...
red_13_interval_name = ["花園","關廟","深坑","布袋","龜洞","南雄橋","阿蓮"]; red_13_interval_stop = [ ["關廟轉運站","北勢里活動中心"], // 花園 ["山西宮","香洋里","五甲"], // 關廟 ["遠成冷凍","深坑國小","深坑","深坑馬槽"], // 深坑 ["打鹿洲","布袋","頂草埤","草埤","精法精密公司"], // 布袋 ["南雄派出所","崇和國小","龜洞"], // 龜洞 ["蓮昭巷","南雄橋"], // 南雄橋 ["後寮","民眾服務社","忠孝路口","阿蓮"] // 阿蓮 ]; red_13_fare = [ [2...
$(function () { let modalBlock = $('#translate-modal'); let obj, array, id, value, url; function getForm (url, $this) { obj = { id: $this.data('key'), action : $this.data('action'), }; $.post(url, obj, function (data) { modalBlock.find('.modal-body...
App.HomeBooktabSingleitemView = Ember.View.extend({ animationSpeed: 300, willAnimateIn : function () { var width = this.$().width(); var height = this.$().height(); this.$().css("position", "absolute"); this.$().css("width", width); this.$().css("height", height); $("#outlet-container").css("heigh...
const { Controller } = require('egg'); const { ERROR_CODE } = require('../constant'); module.exports = class UserController extends Controller { async register() { try { const { username, password } = this.ctx.request.body; const userInfo = await this.service.user.createUser({ username, password }); ...
/** * Created by imafan_work on 2015/11/6 0006. */ $(function(){ $('#content').on('focus', '.form-control', function () { $(this).closest('.input-group, .form-group').addClass('focus'); }).on('blur', '.form-control', function () { $(this).closest('.input-group, .form-group').removeClass('focu...
import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faChrome, faFacebook, faGithub, faInstagram, faLinkedin, faYoutube } from '@fortawesome/free-brands-svg-icons'; import { faEnvelopeOpen, faHandsHelping, faMapMarker, faMapPin, faPhone } from '@fortawesome/free-solid-svg...
import React, { Component } from 'react' export class Message extends Component { constructor(){ super(); this.state = { message:"hi there" } } handler() { this.setState( { ...
import React, { Component } from "react"; import Img from "gatsby-image"; import Layout from "../components/layout/layout"; import SEO from "../components/seo"; import Content from "../components/utility/Content/Content"; import Banner from "../components/banner/banner"; import "../components/styles/faq.sass"; import S...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var express_1 = require("express"); var UserController_1 = __importDefault(require("../controllers/UserC...
export const loader = (function loader () { return function () { return { setLoading() { zoobooks().elements().loader.removeAttribute("hidden"); }, setLoaded() { zoobooks().elements().loader.setAttribute("hidden", "hidden"); } } } })();
import './GrandPrixArchiveTable.scss' import { React, useMemo, } from 'react'; import { useTable } from 'react-table' import { COLUMNS } from './GrandPrixArchiveColumns' export const GrandPrixArchiveTable = ({ grandsPrix }) => { const columns = useMemo(() => COLUMNS, []); const { getTableProps, getTableBo...
const path = require('path'); const fastKoa = require('fast-koa'); const config = require('./config'); fastKoa.initApp({ routesPath: path.join(__dirname, 'routes'), enableResponseTime: true, enableLogger: true }); fastKoa .listen(config.port) .then(server => { const addr = server.address(); console.log(`S...
const DBUtils = module.exports; const { db } = require('../../app/utils/Database'); DBUtils.clear = async () => { await db.table('user').del(); await db.table('role').del(); };
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ProductInstanceSchema = new Schema( { title: {type: String, required: true, max: 100}, product: {type: Schema.ObjectId, ref: 'Product', required: true}, color: {type: String}, image: {type: String, default: 'https://s3-ap-southeas...
var express = require('express'); var router = express.Router(); var session=require('../session'); /* GET home page. */ router.get('/', function(req, res, next) { if(!("sid" in req.cookies)){ res.render('index',{button: '로그인', user:'', isLogin: false}); } else{ if(session.getSession(req.cookies["sid"]))...
import { user, api } from "./constants/api_constants.js"; export default { getChannels, channelDetail, channelMessages, verifyToken, refreshToken, getToken, postMessage }; function genericRequest(target, options = {}, token = false) { let defaultOpts = { headers: { ...
'use strict'; (function (){ angular .module("BookApp") .controller("PeopleController",PeopleController); function PeopleController($scope, UserService) { $scope.user = UserService.getUser(); } })();
var mongoose = require('mongoose'), Product = mongoose.model('Product'); exports.clear = function () { Product.remove({}, function (err) { if (err) { console.log(err); } else { console.log('Product collection dropped'); } return; }) } exports.all = f...
export default /* glsl */` #ifndef ENV_ATLAS #define ENV_ATLAS uniform sampler2D texture_envAtlas; #endif uniform samplerCube texture_cubeMap; uniform float material_reflectivity; vec3 calcReflection(vec3 reflDir, float gloss) { vec3 dir = cubeMapProject(reflDir) * vec3(-1.0, 1.0, 1.0); vec2 uv = toSphericalUv...
const express = require('express'); const app = express(); const port = 3390; app.use(express.json()); const jogos = [ "The Sims", "Super Mário", "GTA - San Andreas", ]; app.get('/', (req, res) => { res.send('Games Monster') }); app.get('/jogos', (req, res) => { res.send(jogos); }); app....
// Copyright 2021 Google LLC // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License...
import React, { Component } from 'react'; import { connect } from 'react-redux' import {Table} from 'antd' import format from 'date-fns/format' import setDay from 'date-fns/set_day' import setHours from 'date-fns/set_hours' import {getUnsortedRecordByDayArray, getUnsortedRecordByHourArray} from '../redux/selectors' ...
var searchData= [ ['outofrange',['OutOfRange',['../group___fleece.html#gga6a3de980e42db083a0ec3081c4ae8ecea7338c2318fc6c03ca5cf1b718d7efd02',1,'Fleece.h']]] ];
var config = require(__dirname + '/../config'); module.exports = function(req, res, next) { req.browsePrefix = config.sbPrefix; return next(); }
import React from 'react' import { number, boolean } from '@storybook/addon-knobs' import mdx from './bar-chart.mdx' import BarChart from './bar-chart' export default { title: 'Chart/Bar', parameters: { component: BarChart, componentSubtitle: 'Subtitle', docs: { page: mdx, }, }, } export ...
import { useEffect, useState } from "react"; import { getBlogs } from "../../services/blog-posts.js" import { Blog } from "../Blog/Blog.jsx" import "./BlogList.css"; const BlogList = () => { const [blogs, setBlogs] = useState([]); useEffect(() => { getBlogs() .then(blogs => setBlogs(blo...
// module Data.BigInt.Bits "use strict"; exports.and = function(a) { return function(b) { return a.and(b); }; }; exports.or = function(a) { return function(b) { return a.or(b); }; }; exports.xor = function(a) { return function(b) { return a.xor(b); }; }; exports.not = function(a) { return ...
"use strict"; const utils = require("../utils"); const url = require("url"); const fs = require("../filesystem"); const rfs = require("fs"); const mime = require("mime"); const stream = require("stream"); const zlib = require("zlib"); const logger = utils.createLogger({sourceFilePath: __filename}); let compression = f...
const others ={ "results": [ { "id":7, "user_id":"", "date":"2019-03-24", "heading":"Farmers' suicides in India", "detail":"Farmer suicides in India refers to the national catastrophe of farmers being forced to commit suicide since the 1990s, often by drinking pesticides, due to their inabili...
export const name="why"; export const height="1.8";
import React from 'react' export const UserTypeScreen = () => { return ( <> </> ) }
export const LOADING_MATCHES = '[MATCHES] LOADING_MATCHES'; export const LOADED_MATCHES = '[MATCHES] LOADED_MATCHES'; export const ERROR_LOADING_MATCHES = '[MATCHES] ERROR_LOADING_MATCHES'; export const RESET_STATE = '[MATCHES] RESET_STATE'; export const ADDING_MATCH = '[MATCHES] ADDING_MATCH'; export const ADDED_MATCH...
module.exports = { // publicPath: process.env.NODE_ENV === 'production' // ? '' // : '/', devServer: { proxy: { '/api': { target: 'http://192.168.1.102:8080', pathRewrite: { '^/api': '' }, cha...
const router = require('express').Router() const controller = require("../../controllers/api/report") const isLogin = require("../../middleware/is-login") const multer = require("multer") router.post('/report',isLogin,multer().none(), controller.index) module.exports = router;
import React from 'react'; import Card from './components/Card'; import axios from 'axios' import Button from '@material-ui/core/Button'; import { withStyles } from '@material-ui/core/styles'; import { Link } from 'react-router-dom'; const styles = { button: { color: 'blue', fontWeight: 'bold', ...
function getInformationAboutOneProduct(product_id) { $('.carousel_same_products').css('display', 'block'); $('#one_product').css('display', 'block') $('.product_id').css('display', 'none'); $('.number_page').css('display', 'none'); $('.line').remove(); $.getJSON("product-information.php?product_...
/** * @author Ignacio González Bullón - <[email protected]> * @since 12/12/15. */ (function () { 'use strict'; angular.module('corestudioApp') .controller('ChangepassController', ChangepassController); ChangepassController.$inject = ['$uibModalInstance', '$scope']; function C...
'use strict'; const Constants = { TITLE: 'ID Me!', ENDPOINT: 'http://localhost:8000', TOPBAR_HEIGHT: 60, BOTTOMBAR_HEIGHT: 80, }; module.exports = Constants;
import React from 'react'; import { View, Image, } from 'react-native'; import { Container, Content, Button, Text, Icon, H3, CardItem, Card, Body } from 'native-base'; import { LogoTitle } from '../../../components/header'; import Strings from '../../../language/fr'; import { reverseFormat, FilePicturePath, to...
var mongoose = require('mongoose'), Schema = mongoose.Schema, passportLocalMongoose = require('passport-local-mongoose'); var User = new Schema({ email : String, password : String }); User.plugin(passportLocalMongoose); User.static('userExists', function(userEmail, callback) { var users = this.findOne({email ...
const express = require('express') const router = express.Router() const controllerUser = require('../controllers/userController.js') const isLogin = require('../middlewares/isLogin') router.use(isLogin) router.get('/', controllerUser.getDataUser) router.put('/', controllerUser.addWatchedTags) module.exports = router
window.onload = function () { //Better to construct options first and then pass it as a parameter var options = { data: [ { // Change type to "doughnut", "line", "splineArea", etc. type: "column", dataPoints: [ { label: "apple", y: 10 }, { label: "orange", y...
var request = require('request'); function getAsUriParameters(data) { var url = ''; for (var prop in data) { url += encodeURIComponent(prop) + '=' + encodeURIComponent(data[prop]) + '&'; } return url.substring(0, url.length - 1) }; /** * Really? You're looking in here? * * It's a whole route that i...
var game = new Phaser.Game(640, 640, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, update: update, render: render }); var player ; var map; var layer; var cursors; var jumpButton; function preload() { game.load.tilemap('map', null, map, Phaser.Tilemap.TILED_JSON); game.l...
import RestfulDomainModel from '../base/RestfulDomainModel' import Contact from './contact' import Profile from './profile' class Model extends RestfulDomainModel { async list(Model) { return await this.post(`${this.baseUrl}/list`, Model) } } export default new Model([ { id: { name: 'ID', dataOnly: true }}, { p...
const express = require('express') const app = express() const bodyParser = require('body-parser') const user = require('./routes/user') const package = require('./routes/package') const order = require("./routes/order") const cors = require('cors') // const publicPath = path.join(__dirname,"realClient/client/build") c...
import React from "react"; import { FreeBird, Col, Row, CardBody, Fa } from "mdbreact"; class Baner extends React.Component { render() { return ( <div> <img src="http://hbanoticias.com/wp-content/uploads/2018/03/TECSUP.jpg" width="100%" className="mx-auto" alt="Responsive" /> <Fre...
// 展示于 header 横幅的默认标题 const bannerDefaultTitle = 'you know znm' // 站点名, 用于页面 title const siteName = 'youknowznm' // github 用户名, 用于获取仓库列表 const githubUsername = 'youknowznm' // 社交相关, 在 footer 展示, 按需增减 const email = '[email protected]' const zhihu = 'https://www.zhihu.com/people/youkonwznm' // 是否在 header 导航展示简历链接 // 如...
/** * @class Buffer * Buffer */ export class Buffer { /** * @constructor * @param {WebGLRenderingContext} gl A WebGL rendering context. * @param {Float32Array} data Data. * @param {Object} options Options. * @param {String} [options.name] The name of the attribute. * @param {Number} [option...
import React from "react"; import { Carousel } from "../../components/carousel/Carousel"; import { Home } from "../../components/home/Home"; export const HomePage = () => ( <div> <Carousel title="Welcome to Nicks Financial Services" text="We are passionate about providing an exceptional service and e...
const Borrowed = require('../models').Borrowed; const User = require('../models').User; const Book = require('../models').Book; const Genre = require('../models').Genre; const mailAdmin = require('../email/notifyAdmin').mailAdmin; const EventEmitter = require('events'); let userData; class MailEvent extends EventEmitt...
import Colors from "./Colors"; import Font from "./Font"; import Dimensions from "./Dimensions"; import Shadow from "./shadowGenerator"; import Helper from "./Helper"; export { Colors, Font, Dimensions, Shadow, Helper };
import React from 'react'; import ResourceSub from '../comps/ResourceSub'; export default { title:'ResourceSubheading', component: ResourceSub }; export const DefaultResub = () => <ResourceSub />
class ViewerService { constructor(config) { /** * The type of service (e.g. wms, wmts, kml, etc.) * * @type {string} */ this.type = ''; /** * The URL of the service endpoint or the data file * * @type {string} */ this.url = ''; /** * The layers this ...
const controller = require("egg").Controller class User extends controller{ /** *用户登录 * * @memberof User */ async signIn(){ const {username,password} = this.ctx.request.body; const user = await this.ctx.service.user.signIn(username,password) if(user){ this.ctx.he...
// Common JS let menu = require('./../blocks/common/menu/menu'); let rangeSlider = require('./../blocks/common/range-slider/range-slider'); let textField = require('./../blocks/common/text-field/text-field'); let counter = require('./../blocks/common/counter/counter'); //console.log("Common loaded..."); ...
const express = require('express'); const next = require('next'); const qs = require('qs'); const { NODE_ENV, ENV } = process.env; const dev = typeof NODE_ENV === 'undefined' || NODE_ENV === 'development'; const app = next({ dev }); const handle = app.getRequestHandler(); const http_port = process.env.PORT || 7001; c...
"use strict"; // // generator.js // // Created by Alezia Kurdis, April 16th, 2021. // Copyright 2021 Vircadia and contributors. // // Generate a 3d portals in-world based on the places api. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache...
"use strict"; // Create a string of random alphanumeric characters, of a given length let createRandomString = function (strLength) { strLength = typeof strLength == "number" && strLength > 0 ? strLength : false; if (strLength) { // Define all the possible characters that could go into a string ...
import Vue from 'vue' //引入vue包 import Vuex from 'vuex' import * as actions from './actions' //获取里面所有的方法名 import * as getters from './getters' //获取里面所有的方法名 import state from './state' import mutations from './mutations' import createLogger from 'vuex/dist/logger' //修改日志,方便观察 Vue.use(Vuex) //严格模式,检测state数据...
import React, { useEffect, useState } from 'react' import CourseCard from '../CourseCard/CourseCard' import Carousel from './Subject-carousel' import { useDispatch, useSelector } from 'react-redux' import { loadAllCourses } from '../../store/courses/thunks' import { getAllCourses } from '../../store/courses/selectors' ...
// take a slice of the application state and return some data based on that import { useSelector } from 'react-redux'; export const useSitesData = () => { return useSelector((state) => state.siteRegistry.sites); }; export const useSitesArrayData = () => { return useSelector((state) => Object.values(state.siteRegi...
const express = require('express'); const path = require('path'); const logger = require('morgan'); const session = require('express-session'); const MongoStore = require('connect-mongo'); const cors = require('cors'); const createError = require('http-errors'); require('dotenv').config(); const authRouter = require(...
class Game { //add 'socket' as one of the parameters constructor(socket) { this.board = []; this.color = ''; this.moves = 0; this.winner = ''; this.gameOver = false this.playerId = '' this.socket = socket this.roomId = '' } startNewGame(){ const d...
var bcrypt = require('bcryptjs'); var user = require('../models/user'); var jwt = require('jsonwebtoken'); const tokenKey = 'pwd123!'; const viewLogin = (req, res) => { res.render('login'); } const apiLogin = (req, res) => { if(req.body.email !== undefined && req.body.email.length > 0 && req.body.pas...
import React from "react"; import { Text, View, Image, TouchableOpacity, TouchableHighlight, Dimensions, StatusBar } from "react-native"; import { Camera, Permissions, Asset } from "expo"; import Colors from "../constants/Colors"; import {uploadPicture, uploadData} from '../utils/firebaseUtil'; import Loa...
import React from 'react'; import { Link } from 'react-router-dom'; import { useLocalization } from '~/common/components/localization'; const wrapperStyle = { minHeight: '100vh', }; const NotFound = () => { const dictionary = useLocalization(); return ( <div className="bg-dark h-100 p-3 text-light" style={...
import supertest from 'supertest' import { PasswordData, User } from '../../db/models' import { createAccessToken } from '../../src/utils/tokenHelper' import { encodeUserId } from '../../src/utils/userHelper' let user const req = supertest(`http://localhost:1616`) // define request header const header = { 'Cont...
// Explore Collection // ============== // Includes file dependencies define([ "firebase", "backbonefirebase", "jquery", "backbone", "auth", "debug", // Models '../../models/explore/ExploreModel' ], function( Firebase, BackboneFirebase, $, Backbone, Auth, Debug, // Models ExploreModel ) { // The ...
let barWidth = $('#sideSec').innerWidth(); let homeWidth = $('.sec-1').innerWidth(); $('#closeIcon').click(function () { $('#sideSec').animate({ 'left': - barWidth }, 1000); $('#openIcon').animate({ 'left': 0 }, 1000); $('.caption').animate({ 'margin-left': 0 }, 1000); }) $('#openIcon').click(functio...
const Cropper = require('../shared/cropper'); jQuery(document).ready(function() { var routeDepartmentsList = $("#api-routes").attr("data-departments-route"); var routePixiesList = $("#api-routes").attr("data-pixies-route"); var routeUpload = $("#api-routes").attr("data-upload-route"); //-----...
jQuery(document).ready(function ($) { var arrFileObj = new Array(); var arrIds = new Array(); var arrRemoveIds = new Array(); var __arrID = []; var contracts = []; var row = 1; var __arrCodes = []; Array.prototype.remove = function (el) { var idx = this.indexOf(el); if (...
import * as actionTypes from '../actions/actionTypes' import { updateState } from '../utility' const initialState = { order : [], loading: false, showModalForSuccess: false, error: false } const reducer = (state = initialState, action) => { switch (action.type) { case actionTypes.SHOW_LOAD...
/* * Copyright (c) 2012,2013 DeNA Co., Ltd. et al. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, copy, modify,...
const video = document.getElementById('video') const source = document.getElementById('source') const videoPlayList = document.getElementsByClassName('video-wrap-container') for(let videoIter of videoPlayList) { videoIter.addEventListener('click',()=>{ const url = videoIter.getAttribute('data-url') ...
var ParkingSystem = function(big, medium, small) { this.count = [big, medium, small]; //this.count[0] === big; //this.count[1] === medium; //this.count[2] ===small; }; //Parkingsystem(1, 1, 0) would looke like this this.count = [1, 1, 0] /** * @param {number} carType * @return {boolean} */ Parking...
import loginService from '../services/login' import driverService from '../services/driver' import passengerService from '../services/passenger' import rideService from '../services/ride' import ridesService from '../services/rides' const loginReducer = (state = null, action) => { switch(action.type) { case ...
const navBtns = document.querySelectorAll(".nav__item"); $(".nav__item:first-child").on("click", () => { $("body,html").animate( { scrollTop: $(".home").offset().top }, 500 ); }); $(".nav__item:nth-child(2)").on("click", () => { $("body,html").animate( { scrollTop: $(".about-me").off...
import React from 'react' export default class Weather extends React.Component{ state ={ currently: null } render(){ return( <div> </div> ); } }
console.log(projs.all); var testArr = []; var $projArr = projs.all; console.log($projArr); $projArr.map(function(bob) {testArr.push(bob.size);}); console.log($projArr); console.log(testArr); testArr.reduce(function(a,b) {console.log(a + b);});
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ ret...
import React from 'react'; import { mount } from 'enzyme'; import Chip from '.'; describe('Chip', () => { const mockProps = { className: 'test-class', item: 'item' } const wrapper = mount(<Chip className={mockProps.className} item={mockProps.item}/>); it('should render Chip component ...
import {createStore, combineReducers, applyMiddleware} from "redux"; import {mainReducer} from './reducer' import thunk from "redux-thunk"; const rootReducer = combineReducers({ main: mainReducer }); export default createStore(rootReducer, applyMiddleware(thunk));
function isEven(number) { return (number & 1) == 0; } const userInput = 4; console.log(isEven(userInput) == true ? "Even" : "Odd");
//play sound with highlight //create hard mode var greenSound = "https://s3.amazonaws.com/freecodecamp/simonSound1.mp3"; var redSound = "https://s3.amazonaws.com/freecodecamp/simonSound2.mp3"; var yellowSound = "https://s3.amazonaws.com/freecodecamp/simonSound3.mp3"; var blueSound = "https://s3.amazonaws.com/fre...
// eslint-disable-next-line unicorn/filename-case import React from "react"; import Button from "react-bootstrap/Button"; import Modal from "react-bootstrap/Modal"; import "./ModalSettings.css"; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import {faUser, faAt, faUnlock} from "@fortawesome/free-soli...
import AjaxMore from './AjaxMore' import SlickSlider from './SlickSlider' import AjaxFilter from './AjaxFilter' export { AjaxMore, SlickSlider, AjaxFilter }
import React from 'react' import './index.css' const Register = () => { return ( <div className='login'> <div className='loginWrapper'> <div className='loginLeft'> <h3 className='loginLogo'> DT</h3> <span className='loginDesc'>Con...
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import rootReducers from './Reducers'; import CustomLogging from './CustomLogging'; c...
Grailbird.data.tweets_2014_05 = [ { "source" : "\u003Ca href=\"https:\/\/about.twitter.com\/products\/tweetdeck\" rel=\"nofollow\"\u003ETweetDeck\u003C\/a\u003E", "entities" : { "user_mentions" : [ ], "media" : [ ], "hashtags" : [ ], "urls" : [ ] }, "geo" : { }, "id_str" : "47273587628011520...
"use strict" // write conde in here
'use strict'; /** * @name OnhanhSection * @description SectionConfig */ sectionModule .config(['$stateProvider', function($stateProvider) { var getCategories = ['Categories', function(Categories) { return Categories.query(); }]; v...
import React from "react"; import gridIcon from "../assets/imgs/icon-1.svg"; import listIcon from "../assets/imgs/icon.svg"; import { Input } from "reactstrap"; export default function Sort() { return ( <div className="sort-bar"> <div className="left-bar"> <div className="mr-3">13 Items</div> ...
const categoryUI = ((SET) => { return { renderDetail: data => { let no = 1; let html = `` $('#main_content').html(html) }, } })(settingController) const categoryController = ((SET, DT, UI, LU) => { /* -------------------- DETAIL ACTION ----------------...
let mockData =[{ _orderId: "012036487", _address: "北京市朝阳区曙光西里甲5号院", _people: "王先生", _tel: "18364871556", lat: 39.967411, lng: 116.460445 }, { _orderId: "012036488", _address: "曙光西里甲8号院", _people: "李先生", _tel: "14053265887", lat: 39.968838, lng: 116.456547, }...
import React from 'react'; const Skill = () => ( <React.Fragment> <h2>Skill</h2> <ul> <li>Ruby</li> <li>Ruby on Rails</li> <li>PHP</li> <li>symfony</li> <li>JavaScript</li> <li>React.js</li> <li>Vue.js</li> <li>Node.js</li> <li>Java</li> <li>Swift</...