samedi 26 décembre 2015

how to let javascript code auto complete all web page form

it's used for all web page,The effect like a web browser auto complete all web page form. it could use Jquery or js. I konw how to fill single form in a page , but it's a question how to fill all web page




vendredi 25 décembre 2015

Scraping web with XML package in R

I need to scraping the table on the next website:

http://ift.tt/1JzZAF9

When I use this code:

library(XML)

url <- "http://ift.tt/1JzZAF9"
html <- htmlTreeParse(url,useInternalNodes=T)
readHTMLTable(html)

I get the following error:

Error in UseMethod("xmlNamespaceDefinitions") : 
  no applicable method for 'xmlNamespaceDefinitions' applied to an object of class "NULL"

Any solution?

Thanks




Is this right track for ROR development?

I want to learn enough Ruby On Rails in order to hack a quick viable prototype. Where do I begin?

I decided to go with this program online. The program has mini courses in "Javascript", "Console Foundations", "Git Basics", "Installing A Ruby Environment", "Build A todo List with Rails 4", "Database Foundations", "ActiveRecord Basics", and lastly "User Authentication with Rails". With this curriculum, will I know enough to hack a basic prototype? Secondly, is there anything on this list that I really do not have to go through?




Sublime web project live update in browser

My Mac OSX 10.11.2 is running ST2 which has a web project with its related files and folders. I need to open the index.html in a browser and navigate from my project.
I learned after a lot of online reading here by John Papa that I need to run a local host, but following his step

Right click in Sublime and Open in Browser

which I understand as "right click on index.html and click Open in Browser", did not show such an option in the context menu, which lead me here by Thoriq Firdaus which requires installing the package SidebarEnhancement, which requires ST3 as indicated here in GitHub which is currently in Beta as indicated here

I also read somewhere about running $gulp from the terminal. I am really all confused.

What are the differences and when to use what? How can I run my web project in a local browser?
How can I update pages inside the project and the browser updates automatically?

Please help turning the lights on :)

Thank you




Cannot get Laravel Welcome Page to appear on fresh install of Laravel

I have a fresh installation of Laravel using Homestead VM but cannot get the index.php view for the project I created to display when I navigate to my mapped URL, I just get a Google ERR_CONNECTION_REFUSED error.

Here is my Homestead.yaml file...

folders:
    - map: E:\LaravelProjects
      to: /home/vagrant/Code

sites:
    - map: quickstart.local
      to: /home/vagrant/Code/Laravel/quickstart/public

...and here is my mapping in hosts file

192.168.10.10 quickstart.local

I run vagrant up from the my local Homestead local repo copy, ssh in vagrant box, then created a new laravel project called quickstart in path /home/vagrant/Code/Laravel.




Can i create a private Repositorie site?

Hi guys I want to create a private repo like github hosted on my machine. If it's possible, how i can do that? This is an example of repo http://ift.tt/1IuyzrG Also i preffer to have a web interface for it.




Can't get POST request

Have problem with getting post request on my site. I called it by js: data = {'products':'123'}; $.post(ajaxurl, data);
It is successfull (http://ift.tt/1YGGy6U)
but in php script isset($_POST['products']) always returns false.
What I should do with it?