-
Edit the Apache2 plist file with whatever editor you like (example using vim):
$ sudo vim /System/Library/LaunchDaemons/org.apache.httpd.plist
This file contains 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
<VirtualHost *:80> | |
ServerName admin.stealnation.com | |
#ServerName admin.stealnetwork.com | |
ServerAlias www.admin.stealnetwork.com admin.stealnation.com admn.stealnation.com | |
DocumentRoot /Users/leo/work/steals/sites/admin/public | |
Include /etc/apache2/other/shared/php | |
<Directory /Users/leo/work/steals/sites/admin/public> | |
Include /etc/apache2/other/shared/zend_directory | |
</Directory> | |
CustomLog /Users/leo/work/steals/logs/admin-access.log common |
This file contains 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
requirejs.config({ | |
paths: { | |
jquery: "//cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min", | |
jquery_ui: "//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min", | |
jquery_block_ui: "//cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.66.0-2013.10.09/jquery.blockUI.min", | |
jquery_mask: "//cdnjs.cloudflare.com/ajax/libs/jquery.maskedinput/1.3.1/jquery.maskedinput.min", | |
underscore: "//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.6.0/underscore-min" | |
} | |
}); |
This file contains 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
{ | |
"name": "bn-native-services", | |
"version": "0.0.1", | |
"dependencies": { | |
"async": { | |
"version": "0.8.0", | |
"from": "async@*", | |
"resolved": "https://registry.npmjs.org/async/-/async-0.8.0.tgz" | |
}, | |
"cheerio": { |
This file contains 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
$(window).on("html_loaded", function(e) { | |
$(".submit_button").click(function(e) { | |
// 1. Create a "Comment" subclass of Parse.Object | |
var Comment = Parse.Object.extend('Comment'); | |
// 2. Create a new instance of this subclass | |
var myComment = new Comment(); | |
// 3. Add some data to the "text" and "likes" keys | |
myComment.set('text', '3 lot of th1ngs!'); |
This file contains 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> | |
<script src="http://jashkenas.github.io/underscore/underscore-min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<h3>pluck wanna be</h3> | |
<pre id="output"></pre> |
This file contains 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
<html> | |
<head> | |
<title>testing webview communication</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { | |
font-family: 'Helvetica Neue', 'Arial', sans-serif; | |
font-size: 250%; | |
margin: 3% auto; | |
width: 90%; |
This file contains 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
<html> | |
<head> | |
<title>testing webview communication</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { | |
font-family: 'Helvetica Neue', 'Arial', sans-serif; | |
font-size: 250%; | |
margin: 3% auto; | |
width: 90%; |
This file contains 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
<html> | |
</head> | |
<title>testing webview communication</title> | |
<style> | |
body { | |
font-family: 'Helvetica Neue', 'Arial', sans-serif; | |
font-size: 125%; | |
margin: 3% auto; | |
width: 90%; | |
} |
This file contains 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
<html> | |
</head> | |
<title>testing webview communication</title> | |
<style> | |
body { | |
font-family: 'Helvetica Neue', 'Arial', sans-serif; | |
font-size: 125%; | |
margin: 3% auto; | |
width: 90%; | |
} |