|
I want to create social media sharing links for Facebook, Twitter, Pinterest, Tumblr, LinkedIn, WhatsApp and other social media platforms. please suggest me an useful tool.
|
|
|
|
|
I want to create social media sharing links for Facebook, Twitter, Pinterest, Tumblr, LinkedIn, WhatsApp and other social media platforms. please suggest me an useful tool.
|
|
|
|
|
Is Dreamweaver still the best program to use for website development and design? I am trying to encourage a young person to consider becoming a developer and wonder what is the best program today for them to use to start learning on.
|
|
|
|
|
I'm sorry this answer is coming so late! I hope it's still useful. Dreamweaver is still around, but it no longer reigns supreme. Besides, it's not free and it's expensive.
An excellent code editor is Microsoft's Visual Studio Code. This is separate from the Visual Studio used to develop in C# and Visual Basic, and it's free to use. I'd post a link to download it but the link could change, plus it's hardly hard to find.
Now, to learn web development, I've recently come across a fantastic resource that was there, hiding in plain sight all the time. Forget the paid, online academies and check out the Mozilla Developer Network's free course on web development, starting here: Front-end web developer - Learn web development | MDN[^]
This is no two-hour video that rushes you through like one of those "ten countries in ten days" tours of Europe. It starts with HTML, goes on to CSS, and then Javascript. After you're done with HTML/CSS/Javascript, you can go on to Angular, React, etc. The course also includes numerous checkpoints where you can assess what you've learned, and there's a really friendly forum on Discourse, where you can ask questions if you get stuck.
The course has lots of encouraging language while pushing you to think like a software developer. I really can't speak highly enough of it.
|
|
|
|
|
If you can find an old copy of Dreamweaver that you can purchase, that is still a great choice. New is not always better. New(er) is not always better(er). Sometimes, maybe often, new is better, but the boolean statement that new is better is false. Get that old version of Dreamweaver. Find it. Buy it. Use it.
Stay away from Microsoft Visual [anything]. Do not go near it.
Thank you for asking.
|
|
|
|
|
Message Removed
modified 4-Jan-22 7:17am.
|
|
|
|
|
Hi,
Can someone gives me an idea how to get the quotasize on a synology server.
The server works with apache 2.4 and php 7.4. I can use exec commands
I know disk_free_space and disk_total_space but those commands don't look at quota.
Jan
I've been lookking with
$pad = '/volume5/web';
foreach (array(
'quota -u jan',
'df',
'du'
) as $cmd) {
echo $cmd . '<br>';
passthru($cmd);
echo '<hr>';
}
$used = exec("du -c -a $pad");
echo 'used: ' . $used . '<br>';
echo 'quota: ' . exec("quota -u jan") . '<br>';
$var = exec("cat " . pad . " | grep domz | tail -n 1 | awk '{print $4}'");
echo 'var: ' . $var . '<br>';
But so far no luck
|
|
|
|
|
Hey i'm a new member nice to met you!... but i'm natural speaking french
|
|
|
|
|
I'm so much glad to have a chat with you here. I'm also a newbie. Enjoy!
|
|
|
|
|
I want to setup a web server on a raspberry pi for internal use/testing, and I want to be deploy MVC and .Net Core web apps to it. I have no idea where to start. I googled it of course, and info is all over the places as to what to do.
Regarding the apps themselves, I suppose I should use containers to make deployment a little simpler. I've never done ANYTHING with regards to containers, and I don't intend to push anything to extreme limits. Which do I use? Docker, Kubernetes, or...?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: I've never done ANYTHING with regards to containers, and I don't intend to push anything to extreme limits. Which do I use? Docker, Kubernetes, or...?
Start with Docker because Kubernetes requires knowledge of Docker. Here's a free course I took to study Docker: DevOps with Docker[^]. There's one for Kubernetes as well: https://devopswithkubernetes.com/[^]
|
|
|
|
|
|
I have tried it. It's another layer of pain and difficulty.
|
|
|
|
|
|
Hi John,
I've not done this on a pi but I have on a similar sbc.
First off you need the dotnet sdk and runtimes installed ( plenty of info on Google )
Get the applications ( api, websites or whatever ) working under dotnet first ( dotnet run ) before involving docker.
Install docker.io and docker-compose.
I can post a Dockerfile and docker-compose.yml file on here which with very little modifications would dockerize your programs
Let me know if you want them
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Hello, I am searching a developer or teams to do several customisation on my company's website. I need to update some features, Create a custom, holiday-themed logo and new banner advertisements . Needless to say the person should be a professional that is reliable and keeps me up to date regarding the projects.
|
|
|
|
|
This is not a code-by-request site: If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.
But be aware: you get what you pay for. Pay peanuts, get monkeys.
The idea of "development" is as the word suggests: "The systematic use of scientific and technical knowledge to meet specific objectives or requirements." BusinessDictionary.com[^]
That's not the same thing as "have a quick google and give up if I can't find exactly the right code".
So either pay someone to do it, or learn how to write it yourself. We aren't here to do it for you.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'm having a helluva time setting a background image. In the firefox dev console, I get this:
The image “https://localhost:44306/Images/banner_background2.jpg” cannot be displayed because it contains errors.
I'm using the bootstrap jumbotron and overriding that class to my site.css file, and it can't seem to find the image I'm specifying. Since it was in the css file, I couldn't use url.Content .
I also tried setting the style in the div, but that doesn't seem to be working either.
This is what I have right now (in Index.cshtml):
<div class="jumbotron" style="border-radius:0.75rem; background:no-repeat url('../Images/banner_background.jpg');">
... some content
</div>
Intellisense guided me to the image file, so I don't understand what I'm doing wrong. The div is about 250px tall. I've tried to use quotes around the filename, and no quotes, and I've also tried to use a tilde instead of ../ .
Just for grins, I tried opening the image with firefox from windows explorer, and it opens fine.
EDIT===============================================
It turns out that for an ASP.Net Core web app, images have to be placed into a folder in the wwwroot directory. That's the only way I could get it to work... WTF?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 2-Nov-21 10:00am.
|
|
|
|
|
Hey there!!!
Im trying to attach image upload to bootstrap card(home.php) as well place the image in gallery(gallery.php). When I hit submit Im taken to a blank page instead of seeing image displayed on home page. Here is my code:
```
<div class="modal-body">
<form action="upcontent.php" method="post" enctype="multipart/form-data">
Upload Image
<input type="file" name="image" id="image">
<div>
<textarea name="comments" id="comments" style="font-family:sans-serif;font-size:1.2em;">
</textarea>
</div>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<input type="submit" value="Submit" name="submit">
</form>
<div class="row row-cols-1 row-cols-md-2 g-4">
<?php
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
$mysqli = new mysqli("'');
$query = "SELECT username,comment,image FROM tbl_member ORDER BY ID DESC";
$result = $mysqli->query($query);
// Loop thru comments and display all of them
while($row = $result->fetch_array(MYSQLI_ASSOC) ) {
printf("%s (%s)\n", $row["username"], $row["comment"],$row["image"]);
?>
<div class="col">
<a href="pro.php">
<div class="card">
<img src="<?php echo $fetch['location']?>" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title"><?php echo $row["username"];?></h5>
<p class="card-text"><?php echo $row["comment"];?></p>
</div>
</div>
</a>
</div>
</div>
<?PHP
}
?>
```
```
<?php
require_once 'conn.php';
if(ISSET($_POST['upload'])){
$image_name = $_FILES['image']['name'];
$image_temp = $_FILES['image']['tmp_name'];
$image_size = $_FILES['image']['size'];
$ext = explode(".", $image_name);
$end = end($ext);
$allowed_ext = array("jpg", "jpeg", "gif", "png");
$name = time().".".$end;
$path = "img/".$name;
if(in_array($end, $allowed_ext)){
if($image_size > 5242880){
echo "<script>alert('File too large!')</script>";
echo "<script>window.location = 'home.php'</script>";
}else{
if(move_uploaded_file($image_temp, $path)){
mysqli_query($conn, "INSERT INTO `image` VALUES('', '$name', '$path')") or die(mysqli_error());
echo "<script>alert('Image uploaded!')</script>";
echo "<script>window.location = 'home.php'</script>";
}
}
}else{
echo "<script>alert('Invalid image format!')</script>";
echo "<script>window.location = 'home.php'</script>";
echo "<script>window.location = 'gallery.php'</script>";
}
}
?>
```
Thank ya
|
|
|
|
|
|
$mysqli = new mysqli("'');
This will cause issues if it is not just a typo on your question.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
Hey all ;)
I took on an already made script for image gallery..goal is to have images uploaded within home page form a gallery for the user( think of FB..each member has their own pic gallery created from what was uploaded either on the dash or profile page). Again I want to make sure the images uploaed from the dropdown button not only shows up underneath on the home page but on image gallery page.
Thank ya :)
File upload code from Home page:
```
<div class="dropdown">
<button onclick="myFunction()" class="dropbtn">Upload Photo/Text</button>
<div id="myDropdown" class="dropdown-content">
<form action="upcontent.php" method="post" enctype="multipart/form-data">
<input type="file" name="fileToUpload" id="fileToUpload">
<br><br>
Words: <textarea name="comment" rows="5" cols="40"><?php echo $comment;?></textarea>
<input type="submit" value="Submit" name="submit">
</form>
</div>
</div>
```
Code from gallery page
```
<div class='container'>
<div class="gallery">
<?php
$image_extensions = array("png","jpg","jpeg","gif");
$dir = 'img/';
if (is_dir($dir)){
if ($dh = opendir($dir)){
$count = 1;
while (($file = readdir($dh)) !== false){
if($file != '' && $file != '.' && $file != '..'){
$thumbnail_path = "img/thumbnail/".$file;
$image_path = "img/".$file;
$thumbnail_ext = pathinfo($thumbnail_path, PATHINFO_EXTENSION);
$image_ext = pathinfo($image_path, PATHINFO_EXTENSION);
if(!is_dir($image_path) &&
in_array($thumbnail_ext,$image_extensions) &&
in_array($image_ext,$image_extensions)){
?>
<!-- Image -->
<a href="<?php echo $image_path; ?>">
<img src="<?php echo $thumbnail_path; ?>" alt="" title=""/>
</a>
<!-- --- -->
<?php
if( $count%4 == 0){
?>
<div class="clear"></div>
<?php
}
$count++;
}
}
}
closedir($dh);
}
}
?>
</div>
</div>
```
|
|
|
|
|
Give me some tips to build a perfect mobile application and find the best way.
|
|
|
|
|
Start with an idea. Then you are well on your way.
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
I have an existing WPF app with a BL and DAL all written in .Net 4.5.2,
I'm now trying to call the DAL from a new Asp.Net Core 5.0 Web API. I pass through the Controller into the BL fine, but when I hit the line that calls into the DAL it throws
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.'
System.Data.Linq isn't in the WPF app's bin folder because it's a .net assembly. I tried copying it into the Web API's Bin folder but that didn't work.
Is there some problem with me calling a .Net 5 Core Wab API from a WPF app?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|