`
hooroger
  • 浏览: 13336 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
  For those who would like instructions on how to remove Fragments from the project: 1) Copy all the contents of res/layout/fragment_main.xml. Open activity_main.xml, delete the FrameLayout, and paste in the copied contents.   2) Delete fragment_main.xml   3) In MainActivity.java, delete the w ...
A better and more secure solution (i get uneasy with the internet having access to an admins home folder!) is to create a webroot folder in /   Terminal time!   cd / sudo mkdir /webroot sudo groupadd webdev sudo usermod -a -G yourusername webdev sudo chown www-data:webdev /webroot/     No ...
If you have done much work with Apache then most likely you have experienced a need for enabling the rewrite engine. If you are unfamiliar with the rewrite engine, you can think of it as a means for your web server to literally rewrite urls so they are easier for users to remember. So instead of ha ...
To fix that problem, you need to edit the httpd.conf file. Open the terminal and type, sudo gedit /etc/apache2/httpd.conf By default httpd.conf file will be blank. Now, simply add the following line to the file. ServerName localhost Save the file and exit from gEdit. Finally restart the server. ...
Global site tag (gtag.js) - Google Analytics