cloud9-ide

The requested resource / was not found on this server. Laravel on Cloud9 IDE

随声附和 提交于 2019-12-11 00:03:32
问题 hey guys i was following the laravel installation guide for cloud9 IDE here and when go run the app i get following in the screen shot below im still new so my debugging solutions are very limited, does anyone know whats wrong on cloud9 ide? 回答1: Under the tab called 'PHP - Running' which opens when you click the 'Run Project' button, click on where it says 'Runner: ' (between the green bug icon and 'CWD') and select 'Appache httpd (PHP, HTML)' After changing that setting I had to log out and

Running Java GUI apps on Cloud 9

不打扰是莪最后的温柔 提交于 2019-12-10 22:28:48
问题 I'm trying to run a simple app that just creates a JFrame and displays it through the web IDE Cloud 9. I'm getting two separate errors Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. When this issue is resolved here I then get this error: Exception in thread "main" java.lang.UnsupportedClassVersionError: Is it possible to run GUI programs through cloud 9? Does anyone know how to update the path

What is the syntax of keybinds.settings?

懵懂的女人 提交于 2019-12-10 17:14:40
问题 What is the syntax of the keybinds.settings? I am a vim user, and I would ultimately like to: bind shift-j to go down 8 lines (nnoremap J 8j) the same with k (nnoremak J 8k) Use , as a "leader", i.e. I would like to bind ",b" to "build", and perhaps ",g" to run "ghci file-name" in a terminal. 回答1: keybinding.settings file works only for cloud9 commands for now, for customizing vim commands you will have to use init script (see Open Your Init Script item in Cloud9 menu) You can use following

VarName is not defined, please fix or add /*global VarName*/ Cloud9

你说的曾经没有我的故事 提交于 2019-12-10 13:49:06
问题 Objective Stop Cloud9 IDE from giving me the warning message. Background I am coding JavaScript using the Cloud9 IDE, and wherever I use a class from another file (in the same folder) I get the warning message: VarName is not defined, please fix or add /*global VarName*/ Now this bugs me and I want to fix it. The obvious solution would be to just add the comment /*global VarName*/ and be done with it, but I don't believe this is a good practice. What I tried After researching, I came across

When I use c9.io ,How can I connect to MySQL

白昼怎懂夜的黑 提交于 2019-12-10 12:27:53
问题 c9.io is a verygood website I have a php zoon , and when I want to connect to MySQL,I don't know password. I have try [space] root ... but,all is wrong. I can open mysql in shell , no password ,my operate return error: error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' It's looks like, mysqld is not started 。(I have try “mysqld start”,but faild) What I want to know, Is Mysql service free on c9.io ? 回答1: We are extremely happy to announce our first

“Git Push Heroku Master” - Cannot login to heroku - Cloud9 IDE

て烟熏妆下的殇ゞ 提交于 2019-12-10 10:45:47
问题 Having troubles with heroku. This problem kind of came out of nowhere. I've been pushing updates for months without error and all of a sudden I'm having problems. When I do Git Push Heroku Master (on C9) I get prompted to login: > remote: ! WARNING: remote: ! Do not authenticate with > username and password using git. remote: ! Run `heroku login` to > update your credentials, then retry the git command. However if I run "heroku login" I get this error: undefined method `[]' for nil:NilClass

fe_sendauth: no password supplied error after setting up PostgreSQL database on Cloud9 IDE

核能气质少年 提交于 2019-12-09 07:44:28
So I've set up a PostgreSQL database on my cloud9 IDE account according to the instructions of the top voted comment: Cloud9 postgres . This is what my database.yml file looks like: default: &default adapter: postgresql encoding: unicode pool: 5 username: <%= ENV['USERNAME'] %> password: <%= ENV['PASSWORD'] %> host: <%= ENV['IP'] %> development: <<: *default database: sample_app_development test: <<: *default database: sample_app_test production: <<: *default database: sample_app_production I then created a user model, migrated it, and reloaded my app. However when I loaded the app on the

Can't Connect to AWS Cloud9 IDE With Safari

ぐ巨炮叔叔 提交于 2019-12-08 20:05:38
问题 I'm trying to use Cloud 9 but keep getting the following message during the deployment of the IDE: "Your web browser does not have third-party cookies enabled" I'm using Safari 11.0.3 and in the preferences-privacy the block all cookies box is unchecked. I can use Chrome but would prefer to use Safari. 回答1: I had to uncheck "Prevent cross-site tracking" to get it to work. Maybe it has something to do with authenticity and AWS passing off to cloud9. I don't remember this being a problem in the

can cloud9 debug html/javascript?

懵懂的女人 提交于 2019-12-08 17:38:12
问题 Is it possible to use debug in cloud9 for javascript in HTML? I know it's possible to debug node.js, but what if the javascript is in a <script> block in the HTML, or is being loaded from an external script? This works in Webstorm, but you have to have a browser plugin, and the IDE and the browser (via the plugin) talk to each other. Thanks! 回答1: Cloud9 not provide a great visualization for debug but even so it doesn't a big problem. You need open your application in another tab of the

rake db:test:load, undefined method `[]' for nil:NilClass

只愿长相守 提交于 2019-12-08 07:56:24
问题 I want create test database. Development database have following settings: development: adapter: mysql2 encoding: utf8 database: c9 username: <%=ENV['C9_USER']%> host: <%=ENV['IP']%> When i run command: rake db:test:load --trace , displayed error: rake aborted! NoMethodError: undefined method `[]' for nil:NilClass /usr/local/rvm/gems/ruby-2.0.0-p247/gems/activerecord-3.2.22/lib/active_record/railties/databases.rake:526:in `block (3 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0