Skip to content

xiaoleiy/awesome

Repository files navigation

awesome

The awesome collections for development

UI framework

Bootstrap Theme

AngularJS

MVC

Forms

Components

Name Link Description
jQuery Knob https://github.com/aterrien/jQuery-Knob
justified gallary https://github.com/miromannino/Justified-Gallery picutres gallary
spin.js http://fgnass.github.io/spin.js/ progress indicator
animate.js https://github.com/daneden/animate.css
sweet alert https://github.com/t4t5/sweetalert
flip clock https://github.com/objectivehtml/FlipClock

CSS & animation

Charts & Graphs

Face Recognition

NodeJS

Name Link Description
grant https://github.com/simov/grant Authentication Middleware for Express and Koa -- 84 Supported Providers
sequelize https://github.com/sequelize/sequelize ORM: MySQL, MariaDB, SQLite, PostgreSQL and MSSQL
node-wechat https://github.com/node-webot/wechat 微信公共平台消息接口服务中间件

jQuery

Name Link Description
jquery-patterns https://github.com/jquery-boilerplate/jquery-patterns A variety of jQuery plugin patterns for jump starting your plugin development
jquery-windows https://github.com/nick-jonas/nick-jonas.github.com/tree/master/windows a handy, loosely-coupled jQuery plugin for full-screen scrolling windows
jquery-chosen https://github.com/harvesthq/chosen Chosen is a library for making long, unwieldy select boxes more friendly.
superscrollorama https://github.com/johnpolacek/superscrollorama The jQuery plugin for supercool scroll animation
jquery-color https://github.com/jquery/jquery-color jQuery plugin for color manipulation and animation support.
jquery-smooth-scroll https://github.com/kswedberg/jquery-smooth-scroll Automatically make same-page links scroll smoothly

Solution

Name Link Problem
offline.js https://github.com/hubspot/offline network connection/disconnection detector
offline.js simulator https://github.com/craigshoemaker/offlinejs-simulate-ui simulate the connection up/down with a radio

Tutorials

[git] switch from https to SSH: https://github.com/waylau/github-help/blob/master/Changing%20a%20remote's%20URL%20%E4%BF%AE%E6%94%B9%E8%BF%9C%E7%A8%8B%20URL.md

Tools

Just cool

Code Snippets

The code for detecting online/offline with indicators:

//Object that will be exposed to the outside world. (Revealing Module Pattern)
  var OfflineDetector = {};

  //Flag indicating current network status.
  var isOffline = false;

  //Configuration Options for Offline.js
  Offline.options = {
      checks: {
          xhr: {
              //By default Offline.js queries favicon.ico.
              // MAKE SURE the favicon.ico is listed in the part of NETWORK in chessboard.appcache
              url: 'favicon.ico'
          }
      },
      checkOnLoad: true,
      interceptRequests: true,
      reconnect: true,
      requests: true,
      game: false
  };

  //Offline.js raises the 'up' event when it is able to reach
  //the server indicating that connection is up.
  Offline.on('up', function () {
      isOffline = false;
  });

  //Offline.js raises the 'down' event when it is unable to reach
  //the server indicating that connection is down.
  Offline.on('down', function () {
      isOffline = true;
  });

  //Expose Offline.js instance for outside world!
  OfflineDetector.Offline = Offline;

  //OfflineDetector.isOffline() method returns the current status.
  OfflineDetector.isOffline = function () {
      return isOffline
  };

  //start() method contains functionality to repeatedly
  //invoke check() method of Offline.js.
  //This repeated call helps in detecting the status.
  OfflineDetector.start = function () {
      var checkOfflineStatus = function () {
          Offline.check();
      };
      setInterval(checkOfflineStatus, 3000);
  };

  //Start OfflineDetector
  OfflineDetector.start();

About

The awesome collections for development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published