My goal is to get the source code of website (from Firefox!) and save it to text file every minute and then refresh the page. What's the easiest and fastest way to do so? I tried to use greasemonkey but it's over my abilities to write a working script for that.
vendredi 28 juillet 2017
Can I disable drag&drop feature of Filezilla?
Drag and drop would be good feature, but I don't use it. Instead, I'm suffering pain from unwanted drag&drop. Every time my mouse slips when I'm clicking the folder, It works as I'm trying to drag and drop folder.
Can I turn off the drag and drop? or Can I get confirm message before drag and drop?
Is there a way to add badge notifications using progressive web apps (PWA)?
I'm developing a progressive web application (PWA) that will eventually send notifications to users.
I already know that I'm able to send push notifications (like in any regular app), as explained in the following blog post: http://ift.tt/2vPQJj3.
I also know that I can add a PWA to the home screen, by creating a simple manifest file (http://ift.tt/1N7Lu3N).
However, after having the app in home screen, I would like to add a "hint" to user, letting him know that he has to access the application. A great way to do that is doing something like a "badge notification" (as showed in Facebook icon on the image below).
Is it possible to add this kind of behavior using progressive web applications?
How to send the value of a python variable to javascript in html
Good morning. I am using the google app engine to display a google map on a web page.
I want to bring the latitude and longitude in the database and display it on the map. To do this, I need to pass the imported latitude and longitude to javascript in html. I have tried several ways but it is useless. ( ex. is useless) help me please. High Programmers i need you!!help me help me
class Map(webapp2.RequestHandler):
db = connect_to_cloudsql()
cursor = db.cursor()
cursor.execute("""select latitude,longitude from User;""")
data=cursor.fetchone()
lat=data[0]
lng=data[1]
formstring = """
<!DOCTYPE html>
<html lang="ko-KR">
<head>
<meta charset="utf-8"/>
<meta name="google-site-verification" content="9EqLgIzCmwFo7XAcSe4sBNZ_t0gULadyeF9BCO0DY3k"/>
</head>
<body class>
<style>
#map {
width: 80%;
height: 400px;
background-color: grey;
}
</style>
<div style="position:relative;width:1080px;margin:0 auto;z-index:11">
<div class="container" role="main">
<h3>{lat}</h3>
<div id="map"></div>
<br><br>
<script async defer
src="http://ift.tt/2ve4vPA">
</script>
<script>
$.get(getLocation,function(data){
var location=data;
})
function initMap() {
var uluru = {lat: {lat} , lng: {lng} };
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 4,
center: uluru
});
var marker = new google.maps.Marker({
position: uluru,
map: map
});
}
</script>
</div>
</div>
</body>
</html>
"""
Programming language suggestion for web development
I am trying to make a web application but since I am a beginner in programming I don't know how to achieve this.
I got a web page (freepbx ucp call history) where users see call details(see screenshot).
What I want to do is linking numbers to names on mouse over. So that a tooltip will appear showing the name linked to that number.
How can I achieve this?What programming language should I use? Server is debian wheezy
How to get notified when a user cancels billing agreement?
links that might help: http://ift.tt/2h8DNl8
Users will register through my website and pay for registration (subscription) of infinite time limit. after they register, they would be able to access my ios app suite by logging in. The issue basically is, i want my db to be updated when a user cancels the subscription. How would i do this?
I am using paypal (express checkout billing agreements) Thanks :)
Xampp vhost not working
Hi i have been trying to get my vhost to work for the last hour and still i get redirected to the wrong site here is my vhost
# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://ift.tt/1lTyGLB;
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ##ServerName or ##ServerAlias in any <VirtualHost> block.
#
#
<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\Forum"
ServerName www.timeprison.tk
ServerAlias timeprison.tk
<Directory "C:\xampp\htdocs\Forum">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "C:/xampp/htdocs/daphne"
ServerName http://ift.tt/2uINpX1
ServerAlias vandewielmedia.ml
ErrorLog "logs/daphne-error.log"
</VirtualHost>
can you please help me on how to fix this i keep getting redirected to vandewielmedia.ml when i try to go to timeprison.tk and i have no idea how to fix it