Posts
 
Reputation
Joined
Last Seen
Ranked #367
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
86% Quality Score
Upvotes Received
56
Posts with Upvotes
45
Upvoting Members
26
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
6
12 Commented Posts
~127.99K People Reached
Favorite Tags
Member Avatar for AmerJamil

i have a question that. is it not possible that main do not return any value, and the returning value of main is void, why returning value of main should always be int, when we write [code] void main() { } [/code] mostly people here on DANIWEB ask to write …

Member Avatar for EricStens
0
2K
Member Avatar for Aeonix

$stmt = $dbconn->prepare("SELECT * FROM `members` WHERE username=? AND password=?"); $stmt->bind_param("ss", $username, $password); Is what I have. Database is connected etc. How can I set variable called `$dbresult` with array of SQL result? I don't want to set individual variables. I really need an entire array as answer. There's couple …

Member Avatar for jkon
0
3K
Member Avatar for Aeonix

`<hat type="tin-foil" mode="on">` What does Google have from serving us with Google Fonts? Typical Google could start sending up custom JavaScript from JavaScript repository. But what about fonts? What does Google get from it? You can't tell me they just have well-doing spree and are sharing to help. Corporations are …

Member Avatar for cereal
0
467
Member Avatar for Lukas_2

Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no …

Member Avatar for tinstaafl
0
468
Member Avatar for Dani

Hi, Unfortunately all of the Dazah integration stuff with DaniWeb is taking *much* longer than anticipated. I'm still working to try to get it out for you guys, but it's just taking a really long time. That being said, now that the concept of a Dazah login has kind of …

Member Avatar for Dani
0
909
Member Avatar for Aeonix

Time for a real challenge. https://jsfiddle.net/u6n3dq9m/4/ Is what I've got. I'd like the red portition to spread over the div, and fill entire height, while You can't/Tried but failed: - Use `overflow: hidden`, because it doesn't work (I thought it will render some overflow and stuff, I don't know). - …

Member Avatar for Aeonix
1
431
Member Avatar for Aeonix

So I and rproffitt both [downvoted a bot](https://www.daniweb.com/programming/web-development/threads/506750/content-of-child-escapes-parent-even-in-overflow-none#post2212494). I went over to [it's profile](https://www.daniweb.com/members/1128626/lam-bang), we have apparently total power of 7 in reputation decrease. I expected `-7` in reputation, instead it has `7` reputation. That minus is pretty important. It also says `Lam Bang (7)` instead of `Lam Bang (-7)`. …

Member Avatar for Dani
1
464
Member Avatar for Ramaah

[[Click Here](https://drive.google.com/drive/folders/0B7H2xyyiCa36TDlJM0lRckswYlk)](null)

Member Avatar for Aeonix
-5
627
Member Avatar for Aeonix

I deleted my recently made post in: https://www.daniweb.com/hardware-and-software/information-security/threads/506745/why-does-google-offer-free-fonts-to-use-online Now when I'm in "Articles I'm Watching", it says about it: "0 votes; 0 replies; 25 views", despite thread having 7 replies. Edit 1: Also title got encoded and not decoded: `After deleting of a recent post, &quot;Articles I'm Watching&quot; shows 0 …

Member Avatar for Dani
0
354
Member Avatar for Aeonix

https://jsfiddle.net/n0260s1L/3/ Is what I have. Text of `div.summary` goes outside of it's planned content. Even when told not to. The only solution to this is `overflow: none;` in "super-parent" `div.mail`. But it ignores: `text-overflow: ellipsis;`. How can I limit content of this div (`div.summary`) **and** have `text-overflow: ellipsis` working at …

Member Avatar for Aeonix
0
644
Member Avatar for Aeonix

I've been Googling this one, and I've come across solutions, but they don't seem to work for me. The code is as follows: <?php $name1 = "Jack Random"; // true $name2 = "JackRandom"; // true $name3 = "Jack;Random"; // false $name4 = "JackRand;om"; // false // Accept only A-Z, a-z, …

Member Avatar for pritaeas
0
357
Member Avatar for jewelraz

Just interested to know your thoughts! Can You Rank A Keyword With All Nofollow inbound Links? Have you ever tried it with low competitive keywords?

Member Avatar for Aeonix
0
317
Member Avatar for Aeonix

Each years our computers are getting faster, games more demanding, which fuels better computers. We develop more memory in lesser spaces. We develop processors that calculate more than super-computers 20 years back. We had 56k modems, 1M, 2M, 5M networking, just recently there is possibility to get 1.5G at your …

Member Avatar for rubberman
0
329
Member Avatar for Aeonix

https://jsfiddle.net/rw2894fe/2/ I don't need to explain the issue, it's visible the second you look at it. Red anchors seem to have "unexplained" padding on bottom and right side. Removing it with "padding: 0; margin: 0;" doesn't affect it. Could someone tell me how to remove that unwanted padding and make …

Member Avatar for Aeonix
0
282
Member Avatar for Aeonix

Let's assume couple things. I created a nice website based on compiled program language (Node.js, ASP, Java, C#, whatever). It works nicely. But I'd like to get an estimate on how much hardware I'd need. So I could run 1 hosting, and it would result in "this" amount of impact …

Member Avatar for AssertNull
0
403
Member Avatar for Aeonix

I have two items that look like this span.left { float: left; display: inline-block; /* Take space neccessary */ } span.middle { /* Take free space only, do not push unless allowed */ /* Contains couple lines of text */ text-overflow: ellipsis; overflow-x: hidden; white-space: nowrap; } span.right { /* …

Member Avatar for rproffitt
0
339
Member Avatar for Aeonix

https://jsfiddle.net/c9jmjcy0/3/ The reason that it doesn't work is because for some reason `<a>` denies wrapping `<div>`. Probably specification. The only solution is to wrap it around other item. Do we have any other item that would say "it's a link/dropdown". There's also `<button>`. But it doesn't wrap it either, it …

Member Avatar for Aeonix
0
287
Member Avatar for Aeonix

I already tried couple solution from Google, but some of them didn't work (at all), others resulted in weird bug, where HTML page was loaded, but assets (CSS and images) didn't. Other times there were too many redirects and page freaked out. I have account on Cloud Flare, but both …

Member Avatar for Dani
0
494
Member Avatar for diafol

For some reason, the CV says I'm from somewhere near Camden. WTF? ![camden.PNG](/attachments/large/0/baad28960c1a96eb112aa08c55d4de62.PNG "align-center")

Member Avatar for Dani
0
262
Member Avatar for Aeonix

Imagine a mailbox. You're about to write to a friend. From staff perspective, someone wants to email Dani, her mail is dani@daniweb.com, but has her in contacts list. You type in "Da", and little tool-tip informs you that it knows this mail, tooltip shows her full name "Dani" and her …

Member Avatar for Dani
0
324
Member Avatar for Aeonix

<?php if (!defined("include")) { header ($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); die; } I want to include this file, as if it's not included, it should send browser `404 Not Found` and end executing script (without true and 404 doesn't work either). While Opera fools itself, Firefox doesn't. It shows …

Member Avatar for Aeonix
0
342
Member Avatar for Reverend Jim

Have a look at [this page](https://madeby.google.com/wifi/). <rant> This seems to be the thing lately to take fonts in colours that were easy to read and make them lighter so that they look washed out. It may be prettier to look at, but it is certainly not easy to read. I'm …

Member Avatar for AssertNull
0
400
Member Avatar for Aeonix

At the end of the day, I end up in: `menu div#memberArea div#dropdown-trigger div#dropdown-content div#form div#authSubmitButtons input#authRegisterButton`. And now many people recommend shortening it down, sure! But as soon as I drop out elements I don't feel like the code explains itself as good. This very long nasty string, as …

Member Avatar for diafol
0
305
Member Avatar for Aeonix

https://jsfiddle.net/mvuy7q60/ Using JavaScript (and jQuery). How can I assure that there's only one line shown (instead of entire content of item), and if it's longer than one line, end first line on "..."? Something like this: https://jsfiddle.net/tt9psxz3/

Member Avatar for Dani
0
289
Member Avatar for Aeonix

No jQuery! This is script that I got from [Chris Buttery](http://www.chrisbuttery.com/articles/fade-in-fade-out-with-javascript/) website. Or at least part of it: function fadeOut(el){ el.style.opacity = 1; (function fade() { if ((el.style.opacity -= .05) < 0) { el.style.display = "none"; } else { requestAnimationFrame(fade); } })(); } The problem is that when I run …

Member Avatar for ryantroop
0
480
Member Avatar for Aeonix

Mike's been a power-force and recent no-show. But I just looked up his profile, he hasn't posted since June 2015... did something happen? Or do people disappear on DaniWeb everyday? https://www.daniweb.com/members/787121/mike-2000-17 I know we're not his parents, he's strong independant viking but do you just forget people like that?

Member Avatar for Reverend Jim
0
525
Member Avatar for Aeonix

I hate sharing my code, but I don't have any other option. I tried everything to prevent it, but I need to find out what's wrong about it. http://pastebin.com/zMjne7P0 User focusses out input field (line 83)(I tried inputting ";" for tests, which should return error, as it's invalid name). And …

Member Avatar for diafol
0
579
Member Avatar for Aeonix

$(document).ready(function () { var a, b, c d = new RegExp("/^[a-z0-9]*$/"), e = true, f = [ "g": false, "h": false, "i": false, "j": false, "k": false ], I changed names of variables for reasons. *Uncaught SyntaxError: Unexpected token :* Line 7. Which is `"g": false,`. Am I missing something?

Member Avatar for diafol
0
1K
Member Avatar for Aeonix

`exampleArray.push("this is an item");` I a thing. But there are also 10 other items within. So I never truly know where that item is (which enumeration). Is there a way of saying `exampleArray.delete("this is an item");` where it will remove item with "that" content? (JavaScript question)

Member Avatar for diafol
0
226
Member Avatar for Aeonix

I don't know if I'm even posting in the right section. When I open a new tab (after closing all other tabs) and I input address of project site. Elements pops out of parent element (it's 50% of bottom is visible, while rest is through the top of the window). …

Member Avatar for diafol
0
257