This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
overflow-x: hidden; | |
} | |
/*navbar content*/ | |
.custom-navbar { | |
background-color: transparent; | |
border: 0; | |
padding-top: 2.5%; | |
padding-bottom: 10px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cordova project gitignore file | |
hooks | |
platforms | |
plugins | |
.DS_Store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#iframe_id").attr("src", $("#iframe_id").attr("src")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/**************************************************************************** | |
Copyright (c) 2008-2010 Ricardo Quesada | |
Copyright (c) 2010-2012 cocos2d-x.org | |
Copyright (c) 2011 Zynga Inc. | |
Copyright (c) 2013-2014 Chukong Technologies Inc. | |
http://www.cocos2d-x.org | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel='stylesheet' href='/stylesheets/style.css' /> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title> | |
<%= title %> 부트스트랩 101 템플릿</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-role="page" class="ui-page ui-body-c ui-page-header-fixed ui-page-footer-fixed" tabindex="0"> | |
<div data-role="header" id="header" data-position="fixed"> | |
<img id="head_title" src="img/head_title.png" /> | |
</div> | |
<div data-role="content"> | |
<!-- table for books (book case) --> | |
<table style="width:100%" id="bookcase"></table> | |
</div> | |
<!-- subscribe btn --> | |
<div data-role="footer" data-id="foo1" data-position="fixed"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/** | |
* Module dependencies. | |
*/ | |
var app = require('../app'); | |
var debug = require('debug')('logstash_test:server'); | |
var http = require('http'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var apnRequestFunc = function(dataArr, callback){ | |
//dataArr | |
/* | |
["key1", "key2", "key3"] | |
*/ | |
var apnConnection = new apn.Connection({ | |
gateway : "gateway.sandbox.push.apple.com", | |
cert: __dirname + '/../../keys/cert.pem', | |
key: __dirname + '/../../keys/key.pem', | |
production: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("deviceready", checkConnection, false); | |
function checkConnection() { | |
function check(){ | |
var networkState = navigator.connection.type; | |
var states = {}; | |
states[Connection.UNKNOWN] = 'Unknown connection'; | |
states[Connection.ETHERNET] = 'Ethernet connection'; | |
states[Connection.WIFI] = 'WiFi connection'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cordova.exec( | |
function(freeSpace) { | |
//return freeSpace 'KB' | |
alert('reported free space is ' + freeSpace / 1024 + 'MB'); | |
}, | |
function() { | |
alert('failed'); | |
}, | |
"File", "getFreeDiskSpace", [] | |
); |