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
#============================= React Native start =============================# | |
# If your project uses WebView with JS, uncomment the following | |
# and specify the fully qualified class name to the JavaScript interface | |
# class: | |
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | |
# public *; | |
#} | |
# Disabling obfuscation is useful if you collect stack traces from production crashes | |
# (unless you are using a system that supports de-obfuscate the stack traces). |
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
<script type='text/javascript'> | |
/* | |
* /MathJax.js | |
* | |
* Copyright (c) 2009-2013 The MathJax Consortium | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
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
chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell | |
root@ubuntu:~/edx/edx-platform# vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686) | |
* Documentation: https://help.ubuntu.com/ | |
Welcome to your Vagrant-built virtual machine. | |
Last login: Fri Sep 14 06:22:31 2012 from 10.0.2.2 | |
vagrant@precise32:~$ chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell | |
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) | |
E: Unable to lock directory /var/lib/apt/lists/ |
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
root@ubuntu:~/edx/edx-platform# sudo vagrant destroy -f | |
[default] Forcing shutdown of VM... | |
[default] Destroying VM and associated drives... | |
root@ubuntu:~/edx/edx-platform# vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'precise32'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
Pruning invalid NFS exports. Administrator privileges will be required... |
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
var gistPrefix = 'https://gist.github.com/', | |
// Cache document.write so that it can be restored once all Gists have been | |
// embedded. | |
cachedWrite = document.write, | |
body = $('body'), | |
// Map each p.gist to an object that contains the paragraph to be replaced | |
// and the Gist's identifier. | |
gists = $('a.gist').map(function(n, a) { | |
a = $(a); | |
var href = a.attr('href'); |
This file has been truncated, but you can view the full file.
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
Last login: Sat Jul 20 09:18:28 on ttys001 | |
HuJiaWeis-MBP:~ hujiawei$ cd git/edx/edx-platform/ | |
HuJiaWeis-MBP:edx-platform hujiawei$ VAGRANT_LOG=DEBUG vagrant up | |
INFO global: Vagrant version: 1.2.2 | |
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/box/plugin.rb | |
INFO manager: Registered plugin: box command | |
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/destroy/plugin.rb | |
INFO manager: Registered plugin: destroy command | |
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/commands/halt/plugin.rb | |
INFO manager: Registered plugin: halt command |
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
Last login: Wed Jul 17 09:21:15 on console | |
HuJiaWeis-MBP:~ hujiawei$ cd Techs/edx | |
HuJiaWeis-MBP:edx hujiawei$ ls | |
edx-installation.txt tools | |
HuJiaWeis-MBP:edx hujiawei$ git clone 39% (68609/172542), 43.18 MiB | 38 KiB/s | |
-bash: syntax error near unexpected token `(' | |
HuJiaWeis-MBP:edx hujiawei$ git clone git://github.com/edx/edx-platform.git | |
Cloning into 'edx-platform'... | |
remote: Counting objects: 172542, done. | |
remote: Compressing objects: 100% (54979/54979), done. |