반응형
반응형

Offline.js is a library that automatically alerts users when they’ve lost internet connectivity. It then captures AJAX requests that were made while offline, and recreates them when internet connectivity is restored.

offline.js

 

Homepage: http://github.hubspot.com/offline/docs/welcome/

 

GitHub: http://github.com/hubspot/offline

 

Docs: http://github.hubspot.com/offline/

 

 

Offline

 

Note to users pre-0.6.0: Offline previously used a cloudfront hosted file as one of it's methods of detecting the connection status. This method is now deprecated and the image has been removed. Please upgrade to Offline 0.7.0+.

Improve the experience of your app when your users lose connection.

  • Monitors ajax requests looking for failure
  • Confirms the connection status by requesting an image or fake resource
  • Automatically grabs ajax requests made while the connection is down and remakes them after the connection is restored.
  • Simple UI with beautiful themes
  • 3kb minified and compressed

 

 

 

 

반응형
반응형

node.js - 윈도우 설치하기

 

http://nodejs.org/download 에 가서 Windows Installer (.msi)를 받아서 설치.

 

https://nodejs.org/en/

 

안정버전 V5.0으로 다운받아서 설치.

 

설치 후 node.js 콘솔창에서 입력도 가능하고,  .js 파일 생성 후

도스 창에서 $node 해당파일.js 를 실행 할 수 있다.

 

콘솔창을 종료시키고 싶으면 Ctrl + C 두 번!

 

 

아니면 Express를 사용해서 설치 가능하다.  http://expressjs.com/ 

 

Installing

Assuming you’ve already installed Node.js, create a directory to hold your application, and make that your working directory.

$ mkdir myapp
$ cd myapp

Use the npm init command to create a package.json file for your application. For more information on how package.json works, see Specifics of npm’s package.json handling.

$ npm init

This command will prompt your for a number of things such as the name and version of your application. For now, you can simply hit RETURN to accept the defaults for most of them, except for:

entry point: (index.js)

Enter app.js or whatever you want the name of the main file to be. If you want it to be index.js, hit RETURN to accept the suggested default file name.

Now install Express in the app directory and save it in the dependencies list:

$ npm install express --save

To install Express temporarily, and not add it to the dependencies list, omit the --save option:

$ npm install express

Node modules installed with the --save option are added to the dependencies list in the package.json file. Then usingnpm install in the app directory will automatically install modules in the dependencies list.

 

 

 

 

 

반응형
반응형
s2graph - https://github.com/kakao/s2graph

 

 

S2Graph

S2Graph is a graph database designed to handle transactional graph processing at scale. Its REST API allows you to store, manage and query relational information using edge and vertexrepresentations in a fully asynchronous and non-blocking manner. This document covers some basic concepts and terms of S2Graph as well as help you get a feel for the S2Graph API.

 

 

 

반응형
반응형

http://neo4j.com/developer/get-started/

 

Guide → Your First Steps


Getting started with Neo4j is easy. Take your first steps in becoming an expert Neo4j developer.

Guide → What is a Graph Database?


Connected information is everywhere in our world. Neo4j was build to efficiently store, handle and query highly connected elements in your data model. With a powerful and flexible data model you can represent your real-world, variably structured information without a loss of fidelity. The property graph model is easy to understand and handle, especially for object oriented and relational developers.

Guide → From Relational to Neo4j


These guides explores the differences between relational and graph databases and their data models. In addition, we show how to integrate graph databases with relational databases and how to import data from a relational store.

반응형

'프로그래밍 > Architect' 카테고리의 다른 글

[클라우드] IaaS, PaaS, SaaS란 무엇인가.  (0) 2015.11.09
s2graph - https://github.com/kakao/s2graph  (0) 2015.10.29
머신러닝의 미래  (0) 2015.10.15
[Chrome] remote - Debugging  (0) 2015.09.22
엑셀 하이퍼링크 함수  (0) 2015.09.01
반응형

kuryr

Docker for Openstack Neutron

Kuryr is a Docker network plugin that uses Neutron to provide networking services to Docker containers. It provides containerised images for the common Neutron plugins.

 

 

https://github.com/openstack/kuryr

반응형
반응형

embed 소스 경로 교체하기

 

id가 audio_file 인 embed 태그가 있다. 소스를 변경하고 싶은데,  jQuery .attr() 로는 변경되지 않는다.

어떻게 할까?

 

<embed src="/resources/audio/_webbook_0001/embed_test.mp3" type="audio/mpeg" id="audio_file>

 

 

StackOverflow에서 찾았다.

 

해당 embed의 parent를 만든다. 부모를 만들어서 부모에 바인드 시키는 것이지.

그래서, 해당 embed를 지우고 다시 부모가 자식을 만들면 동일한 자리에 embed가 생성될 것이다.

 

var parent = $('embed#audio_file').parent();
var newElement = "<embed scr='new src' id='audio_file'>";

$
('embed#audio_file').remove();
parent
.append(newElement);

 

 

 

 

 

http://stackoverflow.com/questions/2493706/javascript-changing-src-attribute-of-a-embed-tag

 

 

반응형

+ Recent posts