Skip to content

Instantly share code, notes, and snippets.

@que01
que01 / LaunchScreen.js
Last active September 13, 2017 05:55
ignite demo
import React, { Component } from 'react'
import { ScrollView, Text, Image, View } from 'react-native'
import { Images } from '../Themes'
import Swiper from 'react-native-swiper'
// Styles
import styles from './Styles/LaunchScreenStyles'
const imgArr = {
img1: require('../Images/launch1.png'),
img2: require('../Images/launch2.png'),
/* Portrait phones and smaller */
@media (max-width: 480px) { }
/* Landscape phones and portrait tablets */
@media (max-width: 767px) { }
/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) { }
/* Landscape tablets and medium desktops */
@que01
que01 / PaginationContainer.js
Last active July 6, 2016 02:05
PaginationContainer.js
/**
* Created by que01 on 16/6/14.
*/
import React, { PropTypes } from 'react';
// ant文件
import { Pagination} from 'antd';
import s from './Home.css';
import {connect} from 'react-redux';
import {setRuntimeVariable} from '../../actions/runtime';
@que01
que01 / Home.js
Last active July 6, 2016 02:05
Home.js
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React, { PropTypes,Component } from 'react';
@que01
que01 / backbone源码解读[转]
Last active December 28, 2019 03:48
backbone源码解读
// Backbone.js 0.9.2
// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function() {
// 创建一个全局对象, 在浏览器中表示为window对象, 在Node.js中表示global对象
var root = this;
@que01
que01 / .gitconfig
Last active June 14, 2016 10:14 — forked from pksunkara/config
gitconfig
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com