• Member Avatar for pty
    pty

    Replied To a Post in Datepicker to display div based on day & ISO week #

    The week selector is based on [ISO8601](https://en.m.wikipedia.org/wiki/ISO8601), and Monday was decided as the first day of the week. You would need to use a custom widget to customise that. Alternatively, …
  • Member Avatar for pty
    pty

    Replied To a Post in Datepicker to display div based on day & ISO week #

    > but how can I add HTML instead of the 1-word you used for each day? Yes, you can add whatever you like. If you structure your data something like …
  • Member Avatar for pty
    pty

    Replied To a Post in Datepicker to display div based on day & ISO week #

    Perhaps I didn't fully understand what you're after, but I'd steer clear of using plugins when you can use standard inputs. Here's [a five minute stab](https://codepen.io/anon/pen/MQMNrN) at what I *think* …
  • Member Avatar for pty
    pty

    Replied To a Post in AMP - Accelerated Mobile Pages

    https://www.ampproject.org/ Based on your prior record Davy, I think it will take you 98 forum questions and 14 pastings of random code you find on the internet to solve it.
  • Member Avatar for pty
    pty

    Replied To a Post in Two user fill the same form

    Writing code like this is nuts. Why is everything (logic, presentation) jumbled up in one file? Why is your `//insert the user into the database.` comment immediately followed by an …
  • Member Avatar for pty
    pty

    Replied To a Post in Web login

    `Correlation != Causation` Why is the parsing failing? Clue, it's almost certainly not your connection speed.
  • Member Avatar for pty
    pty

    Replied To a Post in Storing emojis in MySQL database

    Also, relevant link I had bookmarked https://www.eversql.com/mysql-utf8-vs-utf8mb4-whats-the-difference-between-utf8-and-utf8mb4/
  • Member Avatar for pty
    pty

    Replied To a Post in Storing emojis in MySQL database

    Have you changed the character set and collations (from `utf8` to `utf8mb4`) of the database and tables you're dealing with? As far as I remember in MySQL you need to …
  • Member Avatar for pty
    pty

    Replied To a Post in select don't this don't obey to CSS rules ( margin and position ) and other

    Create a [JS fiddle](https://jsfiddle.net) demonstrating your problem. Nobody wants to clone and set up a entire project.
  • Member Avatar for pty
    pty

    Replied To a Post in select don't this don't obey to CSS rules ( margin and position ) and other

    +1 for Flexbox, it makes dolving these problems *much simpler* Another useful link https://philipwalton.github.io/solved-by-flexbox/ Soon with CSS grid landing too, the whole process will be fun again.
  • Member Avatar for pty
    pty

    Replied To a Post in looking for server client example or help delphi

    Nice try @dida_1 but this thread nine years old. Maybe you should just do your own homework?
  • Member Avatar for pty
    pty

    Replied To a Post in How to create Sitemap

    What's missing? The 'read more...' links on your blog index don't go anywhere, the pagination list contains no links, the portfolio is just images. I think that the generated sitemap …
  • Member Avatar for pty
    pty

    Gave Reputation to Tejindra in help for coding

    You are going to build a simulator for a Bakery Business. The bakery sells up to 10 different items, and has a different number of each item at the start …
  • Member Avatar for pty
    pty

    Replied To a Post in help for coding

    Funny how this question has been posted to about five forums over the last day. Delete, block and ban? Hilariously, someone seems to have posted this exact question as a …
  • Member Avatar for pty
    pty

    Replied To a Post in New Google Webmaster Tools

    Ah! Sorry, I thought you were referring to [gwt](http://www.gwtproject.org/overview.html), Google's old web development toolkit. I *thought* you meant that Google Webmaster Tools had been re-written in gwt, which is what …
  • Member Avatar for pty
    pty

    Replied To a Post in Regular expressions - HTML - to TXT

    Also, using regular expressions to parse HTML on a large scale [is a bad idea](https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454).
  • Member Avatar for pty
    pty

    Replied To a Post in New Google Webmaster Tools

    I didn't realise that GWT was still being actively developed. It was good back in the day and I'm sure plenty of companies have apps written with it chugging away …
  • Member Avatar for pty
    pty

    Replied To a Post in How to read content from Web page in Gambas

    Is there any particular reason you want to use Gambas for this task? It is of course possible with [`gb.net.curl`](http://gambaswiki.org/wiki/comp/gb.net.curl) but compared to other languages it's a *lot* of work. …
  • Member Avatar for pty
    pty

    Replied To a Post in What's the significance of Robots.txt file in a website?

    The irony is palpable.
  • Member Avatar for pty
    pty

    Replied To a Post in What you opined about HTML either it is Case Sensitive or Case Insensitive?

    HTML, as stated in the standard, is case-insensitive. XHTML, like all XML, is case sensitive.
  • Member Avatar for pty
    pty

    Replied To a Post in Why can't I find good front end developers ?

    Maybe, if all developers are struggling to write for your platform, they are not the issue? As a contractor I've seen companies at all levels of NIH syndrome fail to …
  • Member Avatar for pty
    pty

    Replied To a Post in accessing data on MultiLevel Json Array

    You probably want to be using a `for...of` loop here instead of a `for...in`, which means you don't need to set the variable using the index every time. const drivers …
  • Member Avatar for pty
    pty

    Replied To a Post in compare two files using perl script

    Looks like you're actually going to have to write some code then!
  • Member Avatar for pty
    pty

    Replied To a Post in compare two files using perl script

    Working out the difference between two files is trivial using (like I said earlier) `diff` and `comm`, both of which have existed since at least the 1970s. The two provided …
  • Member Avatar for pty
    pty

    Replied To a Post in How can I run multiple dedicated servers for one domain?

    I'd pay more attention to the [slow query log](https://dev.mysql.com/doc/refman/5.7/en/slow-query-log.html) and simple page stats from your logs than hunting down `select *` queries. The slow query log will highlight all queries …
  • Member Avatar for pty
    pty

    Replied To a Post in Singing Auditions

    I'd create a profile on a low-traffic niche tech forum, add a few links in my signature and then start asking stupid questions. This method is used by all the …
  • Member Avatar for pty
    pty

    Replied To a Post in NodeJs

    Do you want to *actually learn* how to use NodeJS or are you looking for code you can copy and paste from the internet then ask on here why it's …
  • Member Avatar for pty
    pty

    Replied To a Post in Laravel CRUD Booster

    The clue is `Access denied for user 'homestead'@'localhost'` Do you have a user called `homestead`? Have you attempted to grant them access to the database? If you're unsure of the …
  • Member Avatar for pty
    pty

    Gave Reputation to gentlemedia in cell phone navigation

    You **DON'T** create two versions of your navigation! I told you (in one of your other four threads regarding this same issue) that you have to **REPLACE** the markup (HTML) …
  • Member Avatar for pty
    pty

    Replied To a Post in compare two files using perl script

    Use [`comm`](https://linux.die.net/man/1/comm) or [`diff`](https://linux.die.net/man/1/diff).
  • Member Avatar for pty
    pty

    Replied To a Post in Mobile Navigation

    So you're trying to use [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) in HTML? Perhaps you should try to read the documentation and gain [a basic understanding of things](https://www.youtube.com/watch?v=XWZ-iA3HMOU) before wasting time by asking inane …
  • Member Avatar for pty
    pty

    Replied To a Post in Get textbox data without POST or GET calls

    This is a shady tactic at best. If someone doesn't submit the form, calling them to offer your services is likely to make them run a mile and choose a …
  • Member Avatar for pty
    pty

    Replied To a Post in Get textbox data without POST or GET calls

    No, that's *how* you're currently trying to do it. *It* being something confusing. What is the outcome? Simple, a couple of sentences max. For example: > I'm trying to implement …
  • Member Avatar for pty
    pty

    Replied To a Post in Get textbox data without POST or GET calls

    > This is an integration with payment gateway so this data should be passed to them via this way so that why I don't post or get this to another …
  • Member Avatar for pty
    pty

    Replied To a Post in Subscript out of range

    Check line 34! Seriously, how do you expect anyone to point you in the right direction without having a ####ing clue about what you're doing? Post the problematic piece of …
  • Member Avatar for pty
    pty

    Replied To a Post in Where can I find list of all 5160 names of Indian cities by district?

    If I can find it with one search you're not trying very hard. Clue, add CSV to your query.
  • Member Avatar for pty
    pty

    Replied To a Post in How to recover reddit account if it is suspended?

    That kind of ban is called a shadowban. Regular Reddit moderators cannot perform site-wide shadowbans, only administrators can. Usually it happens to spammers.
  • Member Avatar for pty
    pty

    Replied To a Post in Navigation Bootstrap

    Yes, it's possible.
  • Member Avatar for pty
    pty

    Replied To a Post in profile_info value remains the same

    Just an idea. Rather than trying to do two things at once, first make one work then (when you're sure the first bit is correct) concentrate on the second. If …
  • Member Avatar for pty
    pty

    Replied To a Post in Python: Compare two CSV files - Output differences/additions

    An example output with a diff tool. ![Screen_Shot_2018-01-11_at_13_08_21.png](/attachments/large/0/5e45840806221fac94ec0c16a51d277f.png) If you use a merging tool like [Meld](http://meldmerge.org/) you can interactively (and graphically) merge the two files together, combining rows that are …
  • Member Avatar for pty
    pty

    Replied To a Post in Python: Compare two CSV files - Output differences/additions

    I use [`diff`](https://en.m.wikipedia.org/wiki/Diff_utility) for this kind of thing.
  • Member Avatar for pty
    pty

    Replied To a Post in Position: Fixed, -webkit-transform Still Not Working on Chrome

    It will be much easier for people to test and contribute if you create a JS fiddle demonstrating exactly what the problem is.
  • Member Avatar for pty
    pty

    Replied To a Post in how to code a select date range using php/mysql

    [`MM-DD-YYYY`](https://i.imgflip.com/1lss3k.jpg).
  • Member Avatar for pty
    pty

    Replied To a Post in how to code a select date range using php/mysql

    You need to convert the dates users enter to Unix timestamps. You can do that either in PHP or [MySQL](https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html) (see `UNIX_TIMESTAMP()`).
  • Member Avatar for pty
    pty

    Replied To a Post in Do i need $each() if i have for loop in JS?

    A few points. You are looping through `dutyStatusLogs` multiple times in different ways. You're calling `dutyStatusLogs.forEach` twice and `$.each(dutyStatusLogs, function(i,v){...})` once. These should probably be combined into one loop. Now, …
  • Member Avatar for pty
    pty

    Replied To a Post in Do i need $each() if i have for loop in JS?

    Your `for` loop will be executed once per iteration of your `$.each` loop. If that's what you *intend* to do, then it's not dangerous. Perhaps posting an example of your …
  • Member Avatar for pty
    pty

    Replied To a Post in Jquery

    So what's the question? Have you ever thought about learning web development rather than just copy/pasting random stuff you find on the internet until it looks like it's working?
  • Member Avatar for pty
    pty

    Replied To a Post in Understanding codes

    `href="#"` makes an anchor tag appear like a link without actually redirecting you. It's *intended* to take you to anchors on the same page (`<a href="#section-1">Section One</a>`) but with no …
  • Member Avatar for pty
    pty

    Replied To a Post in Find numbers divisible by 3 and 4

    Not that it matters, but here it is in Ruby. Simple, elegant and concise. Dare I say, beautiful? lower, upper = 20, 400 lower.upto(upper) .select{|i| i.modulo(3).zero? && i.modulo(4).zero?} .each_slice(5){|m| puts …
  • Member Avatar for pty
    pty

    Replied To a Post in Write a python script for mass renaming music files according to labels.

    [Beets](https://github.com/beetbox/beets) is exactly this. Don't try to rip it off OP, it'll be painfully obvious.

The End.